Projects

Resume a paused project

Legacy alias of /v1/projects/{projectId}/resume. Projects were previously called apps. Clears the paused state on the project's spicepod and creates a new deployment to bring the runtime back up. A project connected to a GitHub repository deploys spicepod.yaml from its root directory on its production branch, read when the project resumes. Requires apps:write.

post/v1/apps/{appId}/resume

Request

  • Base URL
    https://api.spice.ai
  • Auth
    HTTP bearer

Path parameters

appIdinteger required

The ID of the project to resume

Headers

X-Org-Namestring

The organization to act on, by handle. Omit it to act on the organization the credential is bound to; sending it blank is a 400, not the same as omitting it. A user credential may name any organization its owner belongs to; a machine credential is pinned to its own. A portal session token is bound to none, so it must send this header on every route but GET /v1/orgs (400 org_assertion_required otherwise).

Response

Project resumed, deployment created

idinteger required

The project ID

namestring required

The project name

paused_atstring date-time nullable required

Always null after a successful resume

deployment_idinteger required

ID of the deployment created to bring the runtime back up

Changes

No recorded changes to this operation across all 1 revision of this API.