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
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<{ account_id, build_id, created_at, 8 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/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.
Domain types
StreamChunk = { line }
A single log line from the build process.