Skip to main content
POST
Create a spec submission

Authorizations

X-API-Key
string
header
required

Organization API key

Headers

Idempotency-Key
string
required
Required string length: 1 - 128

Body

application/json
metadata
Metadata · object
required
upload_digest
string
required
Pattern: ^[a-f0-9]{64}$
spec_name
string
required

Reusing a spec name pushes a new version of that spec.

Required string length: 3 - 1024
Pattern: ^[A-Za-z0-9 ._-]+$
build_images
boolean
default:false
skip_image_cache
boolean
default:false

Build every image from its Dockerfile without reusing one already built from the same files. Requires build_images.

project_id
string | null

The spec's project ID. Provide project_id or project_name for every ingestion.

Maximum string length: 64
Pattern: ^agt_[a-z0-9]+$
project_name
string | null

The spec's project name. Provide project_id or project_name for every ingestion.

Maximum string length: 256

Response

Successful Response

session_id
string
required
bench_id
string
required
accepted
boolean
required