Skip to main content
GET
/
api
/
v1
/
images
/
build
/
{build_id}
Get Build Status
curl --request GET \
  --url https://api.primeintellect.ai/api/v1/images/build/{build_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "imageName": "<string>",
  "imageTag": "<string>",
  "status": "PENDING",
  "createdAt": "2023-11-07T05:31:56Z",
  "artifactType": "CONTAINER_IMAGE",
  "fullImagePath": "<string>",
  "errorMessage": "<string>",
  "startedAt": "2023-11-07T05:31:56Z",
  "completedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

build_id
string
required

Response

Successful Response

Response model for build status.

id
string
required

Public identifier for the logical build group

imageName
string
required

Name of the image being built

imageTag
string
required

Tag of the image being built

status
enum<string>
required

Current build status

Available options:
PENDING,
UPLOADING,
BUILDING,
COMPLETED,
FAILED,
CANCELLED
createdAt
string<date-time>
required

Timestamp when the build was created

artifactType
enum<string>
default:CONTAINER_IMAGE

Artifact produced by this build row

Available options:
CONTAINER_IMAGE,
VM_SANDBOX
fullImagePath
string | null

Output reference for the built artifact

errorMessage
string | null

Error message if build failed

startedAt
string<date-time> | null

Timestamp when the build started

completedAt
string<date-time> | null

Timestamp when the build completed