Skip to main content
POST
Create Revision

Authorizations

Authorization
string
header
required

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

Path Parameters

deployment_id
string
required

Body

application/json
model_source
ArtifactModelSource · object
required

One run's export.

step is normally absent on the way in and present on the way back out: the resolver takes the run's highest exported step and writes down which one that was. An unpinned reference would otherwise move to a later export, and a Revision that changes what it loads is not a Revision.

config
ServingConfigIn · object
required
allow_downtime
boolean
default:false

Response

Successful Response

id
string
required
deployment_id
string
required
sequence
integer
required
engine
string
required
model_source
Model Source · object
required
config
Config · object
required
status
string
required
created_by
string
required
created_at
string<date-time>
required
runtime_ref
string | null
runtime_meta
Runtime Meta · object
internal_endpoint
string | null
error
string | null
ready_at
string<date-time> | null
retired_at
string<date-time> | null