Deploy
DeployResource
Methods
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/v5/agentex/deployments/{deployment_id}
Get a deployment by its ID.
Parameters
deployment_id: str
Returns
id: str
account_id: str
created_at:
(format: date-time)created_by:
The identity that created the entity.
environment_config: str
manifest_file: str
namespace: str
status: str
build_id: Optional[str]
Kubernetes events for this deployment.
helm_release_name: Optional[str]
object: Optional[Literal["agentex_cloud_deploy"]]
(default: "agentex_cloud_deploy")Request example
200Example
get/v5/agentex/deployments
List all deployments with pagination and optional filters.
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
class AgentexCloudDeploy: ...
class AgentexCloudDeployEvent: ...
Slim event representation for the API response.
class DeployLogsResponse: ...
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