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",
  "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

Unique identifier for the build

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

fullImagePath
string | null

Full registry path to the image

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