Skip to main content
GET
Returns the deployment’s stored logs. Use it to diagnose a failed build or check what a running deployment printed. Required scope: deployments:read (API key auth)

Path Parameters

string
required
The deployment ID.

Query Parameters

string
Log type: build, deploy, or runtime. Omit for all types.
integer
default:"20"
Number of lines to return (max 1000).
Substring filter on log content.

Response

string
The deployment.
array
{log_type, content, created_at} entries.
string
Where the logs came from (stored).