Workload Properties
Workload properties define the behavioral and scheduling characteristics of a workload submitted to the NVIDIA Run:ai platform. These properties such as type, category, and priority determine how workloads are classified, monitored, and scheduled.
Type - Defines the functional behavior of a workload, such as training or inference, and serves as the foundation for how it is classified within the platform. Each workload type includes a default category (used for monitoring) and a default priority (used for scheduling within a project).
Category - Represents the role or purpose of a workload, such as Build, Train, Deploy. Each workload type is assigned a default category to ensure consistent classification across the platform for monitoring purposes. See Monitor workloads by category.
Priority - Determines the scheduling order of workloads within a project and whether a workload can be preempted. Higher-priority workloads are scheduled first and may become non-preemptible, preventing interruption by lower-priority workloads. See Workload priority control.
Retrieves a list of workload categories. These categories are used to classify and monitor different types of workloads within the NVIDIA Run:ai platform.
Bearer authentication
List of categories retrieved successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
GET /api/v1/workload-categories HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"categories": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "text"
}
]
}Retrieves a specific workload category by its ID. Workload categories are used to classify and monitor different types of workloads within the NVIDIA Run:ai platform.
Bearer authentication
The unique identifier of the workload category.
Category retrieved successfully
The unique identifier of the workload category.
A unique, human-readable name for the workload category.
An optional description providing additional details about the category.
The date and time when the workload category was created.
The user who created the workload category.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
GET /api/v1/workload-categories/{categoryId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "text"
}Retrieves a list of workload types with their configurations - their corresponding workload categories and priorities.
Bearer authentication
Return only external and user_external sourced workload types.
falseFilter results by 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 contain, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.
["name==Deployment","group==apps"]List of types retrieved successfully
Bad request.
Unauthorized
Forbidden
unexpected error
GET /api/v1/workload-types HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"types": [
{
"categoryId": "123e4567-e89b-12d3-a456-426614174000",
"priorityId": "123e4567-e89b-12d3-a456-426614174000",
"preemptibility": "non-preemptible",
"name": "Deployment",
"group": "apps",
"id": "123e4567-e89b-12d3-a456-426614174000",
"categoryName": "Build",
"priorityName": "medium",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedBy": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "text",
"resourceInterfaces": [
{
"version": "v1",
"resourceInterface": {
"spec": {
"structureDefinition": {
"rootComponent": {
"kind": {
"group": "apps",
"version": "v1",
"kind": "Deployment"
}
}
}
}
}
}
],
"clusterStatuses": [
{
"phase": "Ready",
"conditions": [
{
"type": "Ready",
"status": "False",
"message": "Resource validation failed: ...",
"reason": "ErrorConfig",
"lastTransitionTime": "2022-01-01T03:49:52.531Z"
}
],
"version": "v1",
"clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
]
}
]
}Create a new workload type in the system by providing its identification details and configuration, making it available for use and management within the platform.
Bearer authentication
The unique identifier of the workload category.
The unique identifier of the workload priority.
Indicates the default preemptibility level of the workload type. Only available for workloads submitted to clusters of versions 2.24+. The default, if not specified, is if priority.value >= 100 - then 'non-preemptible', else 'preemptible'.
non-preemptiblePossible values: The unique name of the workload type. This value must exactly match the Kubernetes Kind that represents the workload type.
DeploymentPattern: ^[A-Z][a-z0-9]*([A-Z][a-z0-9]*)*$The Kubernetes group associated with the workload resource.
appsPattern: ^[a-z](?:[a-z0-9.-]*[a-z0-9])?$Created
The unique identifier of the workload category.
The unique identifier of the workload priority.
Indicates the default preemptibility level of the workload type. Only available for workloads submitted to clusters of versions 2.24+. The default, if not specified, is if priority.value >= 100 - then 'non-preemptible', else 'preemptible'.
non-preemptiblePossible values: The unique name of the workload type. This value must exactly match the Kubernetes Kind that represents the workload type.
DeploymentPattern: ^[A-Z][a-z0-9]*([A-Z][a-z0-9]*)*$The Kubernetes group associated with the workload resource.
appsPattern: ^[a-z](?:[a-z0-9.-]*[a-z0-9])?$The unique identifier of the workload type.
The name of the workload category.
BuildThe name of the workload priority.
mediumThe timestamp for the last time the workload type was updated.
Identifier of the user who last updated the workload type.
The timestamp for when the workload type was created.
Identifier of the user who created the workload type.
Bad request.
Unauthorized
Forbidden
The specified resource already exists
unexpected error
POST /api/v1/workload-types HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 299
{
"categoryId": "123e4567-e89b-12d3-a456-426614174000",
"priorityId": "123e4567-e89b-12d3-a456-426614174000",
"preemptibility": "text",
"name": "Deployment",
"group": "apps",
"resourceInterfaces": [
{
"spec": {
"structureDefinition": {
"rootComponent": {
"kind": {
"group": "apps",
"version": "v1",
"kind": "Deployment"
}
}
}
}
}
]
}{
"categoryId": "123e4567-e89b-12d3-a456-426614174000",
"priorityId": "123e4567-e89b-12d3-a456-426614174000",
"preemptibility": "non-preemptible",
"name": "Deployment",
"group": "apps",
"id": "123e4567-e89b-12d3-a456-426614174000",
"categoryName": "Build",
"priorityName": "medium",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedBy": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "text",
"resourceInterfaces": [
{
"version": "v1",
"resourceInterface": {
"spec": {
"structureDefinition": {
"rootComponent": {
"kind": {
"group": "apps",
"version": "v1",
"kind": "Deployment"
}
}
}
}
}
}
],
"clusterStatuses": [
{
"phase": "Ready",
"conditions": [
{
"type": "Ready",
"status": "False",
"message": "Resource validation failed: ...",
"reason": "ErrorConfig",
"lastTransitionTime": "2022-01-01T03:49:52.531Z"
}
],
"version": "v1",
"clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
]
}Retrieves a specific workload type by its ID.
Bearer authentication
The unique identifier of the workload type.
Type retrieved successfully
The unique identifier of the workload category.
The unique identifier of the workload priority.
Indicates the default preemptibility level of the workload type. Only available for workloads submitted to clusters of versions 2.24+. The default, if not specified, is if priority.value >= 100 - then 'non-preemptible', else 'preemptible'.
non-preemptiblePossible values: The unique name of the workload type. This value must exactly match the Kubernetes Kind that represents the workload type.
DeploymentPattern: ^[A-Z][a-z0-9]*([A-Z][a-z0-9]*)*$The Kubernetes group associated with the workload resource.
appsPattern: ^[a-z](?:[a-z0-9.-]*[a-z0-9])?$The unique identifier of the workload type.
The name of the workload category.
BuildThe name of the workload priority.
mediumThe timestamp for the last time the workload type was updated.
Identifier of the user who last updated the workload type.
The timestamp for when the workload type was created.
Identifier of the user who created the workload type.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
GET /api/v1/workload-types/{workloadTypeId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"categoryId": "123e4567-e89b-12d3-a456-426614174000",
"priorityId": "123e4567-e89b-12d3-a456-426614174000",
"preemptibility": "non-preemptible",
"name": "Deployment",
"group": "apps",
"id": "123e4567-e89b-12d3-a456-426614174000",
"categoryName": "Build",
"priorityName": "medium",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedBy": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "text",
"resourceInterfaces": [
{
"version": "v1",
"resourceInterface": {
"spec": {
"structureDefinition": {
"rootComponent": {
"kind": {
"group": "apps",
"version": "v1",
"kind": "Deployment"
}
}
}
}
}
}
],
"clusterStatuses": [
{
"phase": "Ready",
"conditions": [
{
"type": "Ready",
"status": "False",
"message": "Resource validation failed: ...",
"reason": "ErrorConfig",
"lastTransitionTime": "2022-01-01T03:49:52.531Z"
}
],
"version": "v1",
"clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
]
}Update the default category or priority assigned to a workload type.
Bearer authentication
The unique identifier of the workload type.
The unique identifier of the workload category.
The unique identifier of the workload priority.
Indicates the default preemptibility level of the workload type. Only available for workloads submitted to clusters of versions 2.24+. The default, if not specified, is if priority.value >= 100 - then 'non-preemptible', else 'preemptible'.
non-preemptiblePossible values: Updated successfully
The unique identifier of the workload category.
The unique identifier of the workload priority.
Indicates the default preemptibility level of the workload type. Only available for workloads submitted to clusters of versions 2.24+. The default, if not specified, is if priority.value >= 100 - then 'non-preemptible', else 'preemptible'.
non-preemptiblePossible values: The unique name of the workload type. This value must exactly match the Kubernetes Kind that represents the workload type.
DeploymentPattern: ^[A-Z][a-z0-9]*([A-Z][a-z0-9]*)*$The Kubernetes group associated with the workload resource.
appsPattern: ^[a-z](?:[a-z0-9.-]*[a-z0-9])?$The unique identifier of the workload type.
The name of the workload category.
BuildThe name of the workload priority.
mediumThe timestamp for the last time the workload type was updated.
Identifier of the user who last updated the workload type.
The timestamp for when the workload type was created.
Identifier of the user who created the workload type.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
PUT /api/v1/workload-types/{workloadTypeId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 264
{
"categoryId": "123e4567-e89b-12d3-a456-426614174000",
"priorityId": "123e4567-e89b-12d3-a456-426614174000",
"preemptibility": "text",
"resourceInterfaces": [
{
"spec": {
"structureDefinition": {
"rootComponent": {
"kind": {
"group": "apps",
"version": "v1",
"kind": "Deployment"
}
}
}
}
}
]
}{
"categoryId": "123e4567-e89b-12d3-a456-426614174000",
"priorityId": "123e4567-e89b-12d3-a456-426614174000",
"preemptibility": "non-preemptible",
"name": "Deployment",
"group": "apps",
"id": "123e4567-e89b-12d3-a456-426614174000",
"categoryName": "Build",
"priorityName": "medium",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedBy": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"createdBy": "text",
"resourceInterfaces": [
{
"version": "v1",
"resourceInterface": {
"spec": {
"structureDefinition": {
"rootComponent": {
"kind": {
"group": "apps",
"version": "v1",
"kind": "Deployment"
}
}
}
}
}
}
],
"clusterStatuses": [
{
"phase": "Ready",
"conditions": [
{
"type": "Ready",
"status": "False",
"message": "Resource validation failed: ...",
"reason": "ErrorConfig",
"lastTransitionTime": "2022-01-01T03:49:52.531Z"
}
],
"version": "v1",
"clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
]
}Deletes a specific workload type by its ID.
Bearer authentication
The unique identifier of the workload type.
No Content.
No content
Unauthorized
Forbidden
unexpected error
unexpected error
DELETE /api/v1/workload-types/{workloadTypeId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Retrieve the list of all workload priorities available in the system
Bearer authentication
Sort results in descending or ascending order.
ascPossible values: Defines the field to sort the results by
Filter results by 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 >=
["name!=some-name"]Request completed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
GET /api/v1/workload-priorities HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"priorities": [
{
"aggregatedPhase": "Ready",
"status": [
{
"clusterId": "d73a738f-fab3-430a-8fa3-5241493d7128",
"phase": "Ready"
}
],
"scopeType": "tenant",
"scopeId": "1",
"id": "d73a738f-fab3-430a-8fa3-5241493d7128",
"source": "Run:ai",
"name": "medium",
"value": 50,
"createdAt": "2022-01-01T03:49:52.531Z",
"updatedAt": "2022-06-08T11:28:24.131Z"
}
]
}Last updated