Revisions

Revisions are associated with an inference workload and represent a snapshot of its configuration. A revision is created on each change to the inference workload.

Get inference workload revisions by id.

get

Retrieve the details of inference workload revisions by workload id. Supported for clusters v2.21+.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
workloadIdstring · uuidRequired

The Universally Unique Identifier (UUID) of the workload.

Query parameters
deletedbooleanOptional

Return only deleted resources when true.

Responses
chevron-right
200

Executed successfully.

application/json
get
/api/v1/workloads/inferences/{workloadId}/revisions

Get inference workload revisions count.

get

Retrieve the number of an inference workload revisions from a cluster. Supported for clusters v2.21+.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
workloadIdstring · uuidRequired

The Universally Unique Identifier (UUID) of the workload.

Query parameters
deletedbooleanOptional

Return only deleted resources when true.

Responses
chevron-right
200

Executed successfully.

application/json
countinteger · int64RequiredExample: 1
get
/api/v1/workloads/inferences/{workloadId}/revisions/count

Get revision data.

get

Retrieve revision details using a revision id. Supported for clusters v2.21+.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
revisionIdstring · uuidRequired

The Universally Unique Identifier (UUID) of the revision.

Responses
chevron-right
200

Executed successfully.

application/json
typestringRequiredExample: runai-revision
namestringRequiredExample: very-important-job
idstring · uuidRequired
workloadIdstring · uuidRequired
tenantIdinteger · int32Required

The id of the tenant.

Example: 1001
clusterIdstring · uuidRequired

The id of the cluster.

Example: 71f69d83-ba66-4822-adf5-55ce55efd210
projectIdstringRequired

The id of the project.

Example: 1Pattern: .*
departmentIdstring · min: 1Required

The id of the department.

Example: 2Pattern: .*
createdAtstring · date-timeRequiredExample: 2022-01-01T03:49:52.531Z
deletedAtstring · date-time · nullableOptionalExample: 2022-08-12T19:28:24.131Z
requestedNodePoolsstring[]OptionalExample: default
currentNodePoolsstring[]OptionalExample: default
runningPodsinteger · int32OptionalExample: 1
imagesstring[]OptionalExample: alpine:latest
commandstringOptionalExample: sleep
argumentsstringOptionalExample: 1000
phasestring · enumRequiredPossible values:
phaseMessagestringOptionalExample: Not enough resources in the requested nodepool
phaseUpdatedAtstring · date-timeOptionalExample: 2022-06-08T11:28:24.131Z
get
/api/v1/workloads/inferences/revisions/{revisionId}

Last updated