This set of endpoints manages workload templates used to define reusable workload configurations across various workload types in the NVIDIA Run:ai platform. Templates help standardize workload definitions for consistent submission and resource usage across projects and users.
List templates. [Experimental]
get
Retrieve all available templates.
Authorizations
AuthorizationstringRequired
Bearer authentication
Query parameters
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 by parameter.
Possible values:
filterBystring[]Optional
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 contain, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.
Include workload creation compliance information of an asset, for a given project, as part of the response. To check compliance, you need to provide both project id and workload type.
complyToWorkloadTypestring · enumOptional
Include workload creation compliance information of an asset, for a given workload type, as part of the response. To check compliance, you need to provide both project id and workload type.
Possible values:
complyToReplicaTypestring · enumOptional
Include workload creation compliance information of an asset, for a given replica type, as part of the response. To check compliance, you need to provide both project id and workload type. For distributed, replica type should be provided as well.
Possible values:
Responses
200
Executed successfully.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get
/api/v1/workload-templates
Template name availability
get
Check if a given template name creates naming conflicts under the given scope. Returns conflict (409) in case the name is not available, or 204 (no content) if it is ok.
Authorizations
AuthorizationstringRequired
Bearer authentication
Query parameters
templateNamestring · min: 1Required
The name of the template.
Example: my-template-name
scopeTypestring · enumRequired
The resource scope type to filter by.
Possible values:
scopeIdstringOptional
filter by scope id
Responses
204
The name is available to use
No content
401
Unauthorized
application/json
403
Forbidden
application/json
409
The specified resource already exists
application/json
503
unexpected error
application/json
get
/api/v1/workload-templates/name-availability
No content
Get a template, any type. [Experimental]
get
Retrieve the details of a template using its id.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
templateIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the template.
Example: 550e8400-e29b-41d4-a716-446655440000
Responses
200
Executed successfully.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get
/api/v1/workload-templates/{templateId}
Count templates. [Experimental]
get
Get the total number of templates.
Authorizations
AuthorizationstringRequired
Bearer authentication
Query parameters
filterBystring[]Optional
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 contain, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.
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 by parameter.
Possible values:
filterBystring[]Optional
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 contain, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.
Include workload creation compliance information of an asset, for a given project, as part of the response. To check compliance, you need to provide both project id and workload type.
Responses
200
Executed successfully.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get
/api/v1/workload-templates/workspaces
Create a new workspace template. [Experimental]
post
Create a new workspace template.
Authorizations
AuthorizationstringRequired
Bearer authentication
Body
and
and
anyOptional
Responses
202
Request completed successfully.
application/json
400
Bad request.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
post
/api/v1/workload-templates/workspaces
Retrieve a specific workspace template by ID. [Experimental]
get
Retrieve a specific workspace template by ID.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
templateIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the template.
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 by parameter.
Possible values:
filterBystring[]Optional
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 contain, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.
Include workload creation compliance information of an asset, for a given project, as part of the response. To check compliance, you need to provide both project id and workload type.
Responses
200
Executed successfully.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get
/api/v1/workload-templates/trainings
Create a new training template. [Experimental]
post
Create a new training template.
Authorizations
AuthorizationstringRequired
Bearer authentication
Body
and
and
anyOptional
Responses
202
Request completed successfully.
application/json
400
Bad request.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
post
/api/v1/workload-templates/trainings
Retrieve a specific training template by ID. [Experimental]
get
Retrieve a specific training template by ID.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
templateIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the template.
Example: 550e8400-e29b-41d4-a716-446655440000
Responses
200
Executed successfully.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get
/api/v1/workload-templates/trainings/{templateId}
Update a training template by ID. [Experimental]
put
Update a training template by ID.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
templateIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the template.
Example: 550e8400-e29b-41d4-a716-446655440000
Body
and
and
anyOptional
Responses
200
Executed successfully.
application/json
400
Bad request.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
503
unexpected error
application/json
put
/api/v1/workload-templates/trainings/{templateId}
Delete a training template by ID. [Experimental]
delete
Delete a training template by ID.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
templateIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the template.
Example: 550e8400-e29b-41d4-a716-446655440000
Responses
204
No Content.
No content
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
503
unexpected error
application/json
delete
/api/v1/workload-templates/trainings/{templateId}
No content
Patch a training template by ID. [Experimental]
patch
Patch a training template by ID.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
templateIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the template.
Example: 550e8400-e29b-41d4-a716-446655440000
Body
and
and
and
anyOptional
Responses
200
Executed successfully.
application/json
400
Bad request.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
The specified resource was not found
application/json
500
unexpected error
application/json
503
unexpected error
application/json
patch
/api/v1/workload-templates/trainings/{templateId}
List all distributed training templates. [Experimental]
get
List all distributed training templates.
Authorizations
AuthorizationstringRequired
Bearer authentication
Query parameters
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 by parameter.
Possible values:
filterBystring[]Optional
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 contain, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.
Include workload creation compliance information of an asset, for a given project, as part of the response. To check compliance, you need to provide both project id and workload type.
complyToReplicaTypestring · enumOptional
Include workload creation compliance information of an asset, for a given replica type, as part of the response. To check compliance, you need to provide both project id and workload type. For distributed, replica type should be provided as well.
Possible values:
Responses
200
Executed successfully.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get
/api/v1/workload-templates/distributed
Create a new distributed training template. [Experimental]
post
Create a new distributed training template.
Authorizations
AuthorizationstringRequired
Bearer authentication
Body
and
and
anyOptional
and
Responses
202
Request completed successfully.
application/json
400
Bad request.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
post
/api/v1/workload-templates/distributed
Get a specific distributed training template by ID. [Experimental]
get
Get a specific distributed training template by ID.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
templateIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the template.
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 by parameter.
Possible values:
filterBystring[]Optional
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 contain, =^ Starts with and =$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, <= and >=.
Include workload creation compliance information of an asset, for a given project, as part of the response. To check compliance, you need to provide both project id and workload type.
Responses
200
Executed successfully.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
get
/api/v1/workload-templates/inferences
Create a new inference template.
post
Create a new inference template.
Authorizations
AuthorizationstringRequired
Bearer authentication
Body
and
and
anyOptional
Responses
202
Request completed successfully.
application/json
400
Bad request.
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
500
unexpected error
application/json
503
unexpected error
application/json
post
/api/v1/workload-templates/inferences
Get a specific inference template by ID.
get
Get a specific inference template by ID.
Authorizations
AuthorizationstringRequired
Bearer authentication
Path parameters
templateIdstring · uuidRequired
The Universally Unique Identifier (UUID) of the template.