workspaces

Record observed Workspace lifecycle state.

Changed on

Accepts a controller-observed terminal state for the current provisioning attempt. Stale attempts cannot overwrite current state.

patch/api/workspace/{workspaceId}/lifecycle

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/workspace/{workspaceId}/lifecycle
  • Auth: HTTP bearer

Path parameters

workspaceIdstring required

Stable Workspace ID.

Request body

provisioning_attemptinteger required
state'ready' | 'failed' required
failure_reasonstring

Response

Lifecycle observation recorded or already current.

Changes