Pods

Retrieve data about workload pods from your NVIDIA Run:ai platform.

List pods.

get

Retrieve a list of pods from a cluster.

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
deletedbooleanOptional

Return only deleted resources when true.

offsetinteger · int32Optional

The offset of the first item returned in the collection.

Example: 100
limitinteger · int32 · min: 1 · max: 500Optional

The maximum number of entries to return.

Default: 50
sortOrderstring · enumOptional

Sort results in descending or ascending order.

Default: ascPossible values:
sortBystring · enumOptional

Sort results using a parameter.

Possible values:
filterBystring[]Optional

Filter results using a parameter. Use the format field-name operator value. Operators are == Equals, != Not equals, <= Less than or equal, >= Greater than or equal, =@ contains, !@ Does not contains, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.

Example: ["nodeName!=some-node-name"]
verbositystring · enumOptional

response verbosity level. if full, the response includes workloadName and projectName fields.

Default: briefExample: fullPossible values:
completedstringOptional

Return only completed resources when 'true', return only non-completed resources when 'false'. By default, or when empty, returns all resources.

Default: all
searchstringOptional

Filter results by a free text search.

Example: test project
Responses
chevron-right
200

Executed successfully.

application/json
get
/api/v1/workloads/pods

Get pod metrics data.

get

Retrieve pod's metrics data for use in analysis applications.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
workloadIdstring · uuidRequired

The Universally Unique Identifier (UUID) of the workload.

podIdstring · uuidRequired

The requested pod id.

Query parameters
startstring · date-timeRequired

Start date of time range to fetch data in ISO 8601 timestamp format.

Example: 2023-06-06T12:09:18.211Z
endstring · date-timeRequired

End date of time range to fetch data in ISO 8601 timestamp format.

Example: 2023-06-07T12:09:18.211Z
numberOfSamplesinteger · max: 1000Optional

The number of samples to take in the specified time range.

Default: 20Example: 20
Responses
chevron-right
200

Executed successfully.

get
/api/v1/workloads/{workloadId}/pods/{podId}/metrics

Get workload pods by id.

get

Retrieve the details of workload pods by workload id.

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.

offsetinteger · int32Optional

The offset of the first item returned in the collection.

Example: 100
limitinteger · int32 · min: 1 · max: 500Optional

The maximum number of entries to return.

Default: 50
searchstringOptional

Filter results by a free text search.

Example: test project
sortOrderstring · enumOptional

Sort results in descending or ascending order.

Default: ascPossible values:
sortBystring · enumOptional

Sort results using a parameter.

Possible values:
filterBystring[]Optional

Filter results using a parameter. Use the format field-name operator value. Operators are == Equals, != Not equals, <= Less than or equal, >= Greater than or equal, =@ contains, !@ Does not contains, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.

Example: ["nodeName!=some-node-name"]
Responses
chevron-right
200

Executed successfully.

application/json
get
/api/v1/workloads/{workloadId}/pods

Get pods count.

get

Retrieve the number of pods from a cluster.

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
deletedbooleanOptional

Return only deleted resources when true.

filterBystring[]Optional

Filter results using a parameter. Use the format field-name operator value. Operators are == Equals, != Not equals, <= Less than or equal, >= Greater than or equal, =@ contains, !@ Does not contains, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.

Example: ["nodeName!=some-node-name"]
searchstringOptional

Filter results by a free text search.

Example: test project
Responses
chevron-right
200

Executed successfully.

application/json
get
/api/v1/workloads/pods/count

Get revision pods by id.

get

Retrieve the details of revision pods by revision id. Supported for clusters v2.21+.

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
revisionIdstring · uuidRequired

The Universally Unique Identifier (UUID) of the revision.

Query parameters
deletedbooleanOptional

Return only deleted resources when true.

Responses
chevron-right
200

Executed successfully.

application/json
get
/api/v1/workloads/inferences/revisions/{revisionId}/pods

Last updated