Interlaken
API referenceAgents and workflowsWorkspaces

Get a workspace (status creating|ready|ci_error|failed; last_error explains failures)

GET
/api/v1/workspaces/{id}

Requires the workspaces:read permission.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/workspaces/string"
{  "ci_enabled": true,  "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",  "coolify_app_uuid": "string",  "created_at": "2019-08-24T14:15:22Z",  "default_branch": "string",  "deploy_server_id": "adf24353-fcad-45a1-94e5-acbfd60159e5",  "flavor": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "last_deploy_at": "2019-08-24T14:15:22Z",  "last_deploy_sha": "string",  "last_error": "string",  "last_seen_sha": "string",  "live_url": "string",  "name": "string",  "repo_full_name": "string",  "repo_private": true,  "repo_url": "string",  "status": "string",  "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",  "updated_at": "2019-08-24T14:15:22Z",  "webhook_registered": true,  "wp_site_name": "string"}