Cloady Docs
API ReferenceEndpointsDeploys

Read a deploy's build log

Returns one `{kind:"snapshot", log, status}` frame — the whole log so far, not a delta: the stored log for a finished deploy, the live build pod's log for the in-flight one. Sending `Accept: text/event-stream` instead re-sends a growing snapshot every two seconds; a finished deploy sends one frame and closes, the in-flight one keeps the connection open after it ends, so close it yourself once a frame carries `final: true`.

GET
/api/workspaces/{workspaceSlug}/apps/{appSlug}/deploys/{deployId}/logs
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
appSlug*string
deployId*string

Query Parameters

env?string

Value in

  • "production"
  • "preview"
  • "development"
region?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/workspaces/string/apps/string/deploys/string/logs"
{  "kind": "snapshot",  "log": "string",  "status": "building",  "final": true}