Skip to main content
GET
Get a revision

Authorizations

Authorization
string
header
required

A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.

Path Parameters

proj_id
string<uuid>
required

The project's ID, a UUID. It is not the model's ID.

env
string
required

The environment's ID (a UUID) or its name, such as production. A name matches only a live environment; a deleted environment is reachable by its ID only.

number
integer
required

The revision number, a positive integer.

Required range: x >= 1

Response

The revision.

number
integer
required

The revision's number in its environment, from 1 with no gaps.

Required range: x >= 1
project_id
string<uuid>
required
environment_id
string<uuid>
required
image
object
required

The model image an environment or revision runs.

weights
object | null
required

The weights an environment or revision pins.

resources
object
required

What each instance gets.

extra_args
string[]
required
node_selector
string | null
required
instances
object[]
required
invalidated_at
string<date-time> | null
required

Reserved. Always null.

created_by
object | null
required

The user who made the write. An API-key write records the key's owner. Null for a system write.

created_at
string<date-time>
required
variables
object

Detail only. Secret bindings carry their pinned version_id.

status
object | null

Detail only. The deploy status of the current revision. Null for older revisions.