Skip to main content
Cancel 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.

Path Parameters

run_id
string
required

Response

Successful Response

Confirmed cancellation, with the run and released reservation.

completed_at
string<date-time> | null
required
created_at
string<date-time>
required
credits
RunCreditsView · object | null
required
credits_released
integer
required

Credits released by the confirmed cancellation.

Required range: x >= 0
error
RunErrorView · object | null
required
external_id
string | null
required
id
string
required
message
string
required
metadata
object
required
model
string
required
model_revision
string
required
operation
string
required
outputs
RunOutputView · object[]
required
progress
integer
required
started_at
string<date-time> | null
required
status
string
required
audio
RunFileView · object | null
capacity_wait
CapacityWaitView · object | null
deleted_at
string<date-time> | null
eta
RunEtaView · object | null

Remaining time to output; absent whenever the platform cannot honestly say.

image
RunFileView · object | null
object
string
default:run
Allowed value: "run"
video
RunFileView · object | null