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:

  1. Parse and merge configuration files
  2. Create a Kubernetes Job running helm install
  3. Wait for deployment completion
  4. Return results
Get Deployment -> { id, account_id, created_at, 7 more... }
get/v5/agentex/deployments/{deployment_id}

Get a deployment by its ID.

path Parameters
deployment_id: string
Response fields
id: string
account_id: string
created_at: string
(format: date-time)
created_by:

The identity that created the entity.

namespace: string
status: string
build_id: string
Optional
deploy_events: Array<{ message, reason, timestamp, 1 more... }>
Optional

Kubernetes events for this deployment.

helm_release_name: string
Optional
object: "agentex_cloud_deploy"
Optional
(default: "agentex_cloud_deploy")
Request example
200Example
List Deployments -> CursorPage<{ id, account_id, created_at, 7 more... }>
get/v5/agentex/deployments

List all deployments with pagination.

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:

  1. First call: no cursor
  2. Subsequent calls: cursor=next_cursor from the previous response
  3. 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:

  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
DeployRetrieveResponse = { id, account_id, created_at, 7 more... }