Deployments

List recent deployment logs

Returns recent log lines for the deployment. Use type=build for build logs or type=runtime (default) for runtime (VM) logs. Use the tail query parameter to limit the number of lines (default 200, max 1000). This is a snapshot, not a live stream.

get/deployments/{id}/logs

Request

  • Base URL: /v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/deployments/{id}/logs
  • Auth: HTTP bearer

Path parameters

idstring required

The deployment ID (UUID).

Query parameters

typestring

Log type: runtime (default) or build.

tailinteger

Maximum number of recent log lines to return. Defaults to 200.

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "/v1/schemas/ListResponseDeploymentLogLineResponse.json"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.