Skip to main content
GET
Get Deployment Logs

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Path Parameters

deployment_id
string
required

Query Parameters

cursor
string
default:""

Cursor from previous response's next_cursor field

limit
integer
default:100

Maximum number of log lines to return

Required range: 1 <= x <= 500

Response

Successful Response

Response containing structured deployment log lines with cursor-based pagination.

The CLI can poll this endpoint to stream logs incrementally:

  1. First call: no after_id
  2. Subsequent calls: after_id=next_cursor from previous response
  3. Stop polling when has_more is False and the deployment reaches a terminal status
deployment_id
string
required

The deployment ID

has_more
boolean
required

True if there may be more lines beyond this page (len(lines) == limit).

lines
AgentexCloudDeployLog · object[]

Structured log lines

next_cursor
string
default:""

Cursor for the next page. Pass this as the after_id query parameter to get subsequent logs.