Build

build

Methods

Submit Build -> { account_id, build_id, created_at, 8 more... }
post/v5/builds

Submit a container image build.

Upload a tar.gz archive containing the build context (Dockerfile and any files needed for the build) along with image name, tag, and optional build arguments.

Maximum file size: 500MB

Get Build -> { account_id, build_id, created_at, 8 more... }
get/v5/builds/{build_id}

Get a build by ID, including current status from the cloud provider.

List Builds -> CursorPage<{ account_id, build_id, created_at, 8 more... }>
get/v5/builds

List Builds

Stream Build Logs ->
get/v5/builds/{build_id}/logs

Stream build logs via Server-Sent Events (SSE).

Returns a streaming response with content-type text/event-stream. Each log line is sent as an SSE data event.

Cancel Build -> { account_id, build_id, created_at, 8 more... }
post/v5/builds/{build_id}/cancel

Cancel a pending or running build.

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

The identity that created the entity.

image_name: string
image_tag: string
image_url: string
status: string

The current build status from the cloud provider

build_end_time: string
Optional
(format: date-time)

When the cloud provider finished the build

build_start_time: string
Optional
(format: date-time)

When the cloud provider started the build

object: "agentex_cloud_build"
Optional
(default: "agentex_cloud_build")
Request example
200Example

Domain types

StreamChunk = { line }

A single log line from the build process.