Skip to main content
Submit a run

Authorizations

Authorization
string
header
required

Production API key created at https://app.protoface.com for https://api.protoface.com; no activation step or environment switch. Pass the full secret shown once at creation as Authorization: Bearer sk_live_…, not the short dashboard identifier. HTTP 401 missing_authorization means the header did not parse; the key was not looked up. A token that passes parsing can return api_key.unknown, api_key.revoked, api_key.expired, or api_key.environment. See https://docs.protoface.com/reference/errors#authentication-codes.

Headers

Idempotency-Key
string | null
Required string length: 1 - 255
X-Capacity-Wait-Seconds
integer | null

Optional maximum start wait, in seconds from request creation, including account queue time. Without this header, the server's 30-minute capacity limit starts at the first worker claim. Does not limit a started render.

Required range: 1 <= x <= 1800

Path Parameters

model_id
string
required

Body

application/json

The body is of type Payload · object.

Response

Successful Response

Acknowledgement returned the moment a run is queued and its credits held.

The estimate is echoed back because the reservation has already been taken against the organization's balance by the time this is returned.

created_at
string<date-time>
required
credit_estimate
CreditEstimateView · object
required
id
string
required
model
string
required
model_revision
string
required
operation
string
required
response_url
string
required
status
string
required
status_url
string
required
object
string
default:run
Allowed value: "run"