Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required
X-Tenant-Id
string
header
required

Body

application/json
entrypoint
string
required

The path of the bundle file that renders the app. Must be one of files.

files
object
required

The app's bundle: file contents keyed by relative path, at most 5 MiB in total.

name
string
required
context_type
enum<string>

Where the app is shown. Defaults to none.

Available options:
none,
annotation_queue,
thread
source_archive
string

The app's source code, as a base64-encoded gzip tarball of at most 50 MiB. It is stored with the app; files is what runs.

Response

Created

context_type
enum<string>
required

Where the app is shown: none for a standalone app, annotation_queue or thread for an app shown alongside an annotation queue or a thread.

Available options:
none,
annotation_queue,
thread
created_at
string<date-time>
required
current_version
integer
required

The bundle's version, incremented each time new files are published.

entrypoint
string
required

The path of the bundle file that renders the app.

id
string<uuid>
required
is_deployed
boolean
required

Whether the app has been deployed. Lists hide undeployed apps unless include_undeployed is set.

name
string
required
scope
enum<string>
required

Who can see the app: workspace for the workspace that owns it, organization for every workspace in the organization.

Available options:
workspace,
organization
tenant_id
string<uuid> | null
required

The workspace that owns the app; null for an app shared with the whole organization.

updated_at
string<date-time>
required
views_7d
integer
required

Views of the app over the last 7 days. Only list responses count views; other responses return 0.

created_by
string

The name of the user who created the app.

files
object

The app's bundle: file contents keyed by relative path. Only create, get and update return it, and the v2 get returns it only when include_files is true.

updated_by
string

The name of the user who last updated the app.