/v1/appsReturns the workspace's one-click apps, newest first, with their components. Deleted apps are not included.
Authentication
Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.
Headers
X-Workspace-SlugstringRequiredSlug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.
Response
The workspace's apps.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataarray of objectsShow item attributesHide item attributes
uidstringRequiredUnique identifier of the app.
namestringRequiredDisplay name.
slugstringRequiredURL-safe name, unique among the workspace's apps.
templatestringRequiredSlug of the template the app was created from.
statusstringRequiredprovisioning_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_urlstringURL of the app, taken from the web component (including a verified custom domain).
last_failurestringWhy provisioning failed. Omitted when there is no failure.
created_atstring (date-time)RequiredWhen the app was created.
componentsarray of objectsThe app's component deployments, in deploy order.
Show item attributesHide item attributes
rolestringRequiredRole of the component.
One ofdatabaseweb
deployment_uidstringRequiredUID of the component's deployment. Use it with the deployment endpoints.
namestringName of the component deployment. Omitted once the component is deleted.
statusstringStatus of the component deployment (see status on Get a deployment). Omitted once deleted.
plan_slugstringPlan of the component deployment. Omitted once deleted.
setup_notestringFirst-run instructions from the template, with the app's URL filled in.
env_docs_urlstringLink to the software's configuration reference.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing, invalid, expired or revoked. |
403 | You cannot access the workspace, your role does not allow this action, or the account is suspended. |
Errors use the standard error format.