Skip to content

Get an app

GET/v1/apps/{uid}

Returns one app with its components. public_url follows the web component, so it reflects a custom domain once one is verified on that deployment.

Authentication

Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.

Path parameters

uidstringRequired

The app's uid.

Headers

X-Workspace-SlugstringRequired

Slug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.

Response

200

The app.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataobject
Show attributes
uidstringRequired

Unique identifier of the app.

namestringRequired

Display name.

slugstringRequired

URL-safe name, unique among the workspace's apps.

templatestringRequired

Slug of the template the app was created from.

statusstringRequired

provisioning_database while backing services start, provisioning_app once they are ready and the web component is starting, active when every component is ready, failed if provisioning failed (see last_failure), deleted after deletion.

One ofprovisioning_databaseprovisioning_appactivefaileddeleted

public_urlstring

URL of the app, taken from the web component (including a verified custom domain).

last_failurestring

Why provisioning failed. Omitted when there is no failure.

created_atstring (date-time)Required

When the app was created.

componentsarray of objects

The app's component deployments, in deploy order.

Show item attributes
rolestringRequired

Role of the component.

One ofdatabaseweb

deployment_uidstringRequired

UID of the component's deployment. Use it with the deployment endpoints.

namestring

Name of the component deployment. Omitted once the component is deleted.

statusstring

Status of the component deployment (see status on Get a deployment). Omitted once deleted.

plan_slugstring

Plan of the component deployment. Omitted once deleted.

setup_notestring

First-run instructions from the template, with the app's URL filled in.

env_docs_urlstring

Link to the software's configuration reference.

Errors

StatusMeaning
401The API key is missing, invalid, expired or revoked.
403You cannot access the workspace, your role does not allow this action, or the account is suspended.
404The resource does not exist or you cannot access it.

Errors use the standard error format.