Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

NVIDIA Run:ai Workloads API

Workloads are both native platform workloads, Workspaces, Training and Inference, as well as workloads that originate from third-party ML frameworks, tools, or the broader Kubernetes ecosystems. For more details on the supported workloads, see [Introduction to workloads](https://run-ai-docs.nvidia.com/saas/workloads-in-nvidia-run-ai/introduction-to-workloads). Workloads endpoints allow you to list, retrieve, count, and view telemetry or metrics data for all workload types in your environment.

NVIDIA Run:ai Workloads API is one of 62 APIs that NVIDIA Run:ai publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Workloads. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 5 operations across 5 paths, and defines 34 schemas. It is described by OpenAPI 3.0.3, at version latest.

Requests are made against a single base URL, https://app.run.ai.

5 operations 5 paths 34 schemas 5 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
latest
Base URL
https://app.run.ai
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

NVIDIA Run:ai Workloads API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer authentication

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 5 GET. Each is listed below with its method, path, parameters, and response codes.

Workloads 5

Workloads are both native platform workloads, Workspaces, Training and Inference, as well as workloads that originate from third-party ML frameworks, tools, or the broader Kuberne…

GET
/api/v1/workloads
List workloads.
get_workloads 7 params → 200401403500503
GET
/api/v1/workloads/{workloadId}
Get a workload.
get_workload 1 param → 200401403404500503
GET
/api/v1/workloads/count
Count workloads.
count_workloads 3 params → 200401403500503
GET
/api/v1/workloads/telemetry
Get the workloads telemetry.
get_workloads_telemetry 6 params → 200400401403404500503
GET
/api/v1/workloads/{workloadId}/metrics
Get workload metrics data.
get_workload_metrics 5 params → 200207400401403404500503

Schemas 34

The contract defines 34 schemas that model the data the API accepts and returns. The most detailed are Workload (55 properties), Connection1 (8 properties), WorkloadRequestResources (6 properties), Condition1 (5 properties). Each schema is shown below with its type and property counts.

WorkloadMetricType
string
Specify which metric data to request.
GpuRequestType
string
Sets the unit type for GPU resources requests. Stated in terms of portion or memory. Sets the unit type for other GPU request fields. If gpuDevicesRequest 1, o…
WorkloadTelemetryType
string
Select a telemetry type.
Workloads
array
Error
object
3 properties 2 required
WorkloadAllocatedResources
object
5 properties
HistogramSeries
object
2 properties 2 required
Environment
object
4 properties 2 required
ActionsSupport
object
The actions support provided for the workload.
2 properties
HistogramValue
object
2 properties 2 required
TenantId
integer
The id of the tenant.
Conditions
array
TelemetryResponse
object
3 properties 3 required
ClusterId
string
The id of the cluster.
Phase
string
PendingSchedulingMessage
object
5 properties 3 required
WorkloadDetailed
Workload
object
55 properties 23 required
RequestResourceCores
object
2 properties
Connection1
object
Connection that either expose port from the container (a port is associated with a tool that the container runs), or URL to be used for connecting to an extern…
8 properties 3 required
WorkloadsExtendedResources
array
Set of extended resources with their quantity
Condition1
object
5 properties 2 required
MetricsCompositeResponse
object
2 properties 1 required
Datasource
object
3 properties 2 required
WorkloadsExtendedResource
object
Quantity of an extended resource.
3 properties
WorkloadRequestResources
object
6 properties
PhaseReason
string
OrgType
string
MeasurementResponse
object
3 properties 2 required
ReplicaType
string
Source
string
RequestResourceQuantity
object
2 properties
SourceApi
string
RequestedPods
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

runai-workloads-api-openapi.yml Raw ↑

Other APIs NVIDIA Run:ai publishes across the network.

NVIDIA Run:ai Access Keys API
NVIDIA Run:ai Access rules API
NVIDIA Run:ai Administrator Command Line Interface API
NVIDIA Run:ai AI Applications API
NVIDIA Run:ai Applications API
NVIDIA Run:ai AuditLogs API
NVIDIA Run:ai Clusters API
NVIDIA Run:ai Compute API
NVIDIA Run:ai ConfigMap API
NVIDIA Run:ai Credentials API
NVIDIA Run:ai Datasources API
NVIDIA Run:ai Datavolumes API