Deploy
deploy
Methods
Create Deployment -> { id, account_id, created_at, 7 more... }
post/v5/agentex/deployments
Create a new deployment.
Submits a deployment request. The deployment will:
- Parse and merge configuration files
- Create a Kubernetes Job running helm install
- Wait for deployment completion
- Return results
Get Deployment -> { id, account_id, created_at, 7 more... }
get/v5/agentex/deployments/{deployment_id}
Get a deployment by its ID.
List Deployments -> CursorPage<{ id, account_id, created_at, 7 more... }>
get/v5/agentex/deployments
List all deployments with pagination.
query Parameters
ending_before: string
Optional
limit: number
(maximum: 10000, minimum: 1, default: 100)Optional
sort_by: string
Optional
sort_order:
(default: "asc")Optional
"asc"
"desc"
starting_after: string
Optional
Response fields
has_more: boolean
Whether there are more items left to be fetched.
items: Array<{ id, account_id, created_at, 7 more... }>
total: number
The total of items that match the query. This is greater than or equal to the number of items returned.
limit: number
(default: 100)Optional
The maximum number of items to return.
object: "list"
(default: "list")Optional
Request example
200Example
Get Deployment Logs -> { deployment_id, has_more, lines, 1 more... }
get/v5/agentex/deployments/{deployment_id}/logs
Get structured log lines for a deployment with cursor-based pagination.
The CLI can poll this endpoint to stream logs incrementally:
- First call: no cursor
- Subsequent calls: cursor=next_cursor from the previous response
- Stop polling when the deployment reaches a terminal status
Domain types
DeployCreateResponse = { id, account_id, created_at, 7 more... }
DeployListResponse = { id, account_id, created_at, 7 more... }
DeployLogsResponse = { deployment_id, has_more, lines, 1 more... }
Response containing structured deployment log lines with cursor-based pagination.
The CLI can poll this endpoint to stream logs incrementally:
- First call: no after_id
- Subsequent calls: after_id=next_cursor from previous response
- Stop polling when has_more is False and the deployment reaches a terminal status
DeployRetrieveResponse = { id, account_id, created_at, 7 more... }