Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of template to return.
Query Parameters
Include templates bound to Serverless endpoints in the response.
true
Include community-made public templates in the response.
true
Include official Runpod templates in the response.
true
Response
Successful operation.
The category of the template. The category can be used to filter templates in the Runpod UI. Current categories are NVIDIA, AMD, and CPU.
"NVIDIA"
The amount of disk space, in gigabytes (GB), to allocate on the container disk for a Pod or worker. The data on the container disk is wiped when the Pod or worker restarts. To persist data across restarts, set volumeInGb to configure the local network volume.
50
If specified, overrides the ENTRYPOINT for the Docker image run on a Pod or worker. If [], uses the ENTRYPOINT defined in the image.
[]
If specified, overrides the start CMD for the Docker image run on a Pod or worker. If [], uses the start CMD defined in the image.
[]
The amount of Runpod credits earned by the creator of a template by all Pods or workers created from the template.
100
{ "ENV_VAR": "value" }
A unique string identifying a template.
"30zmvf89kd"
The image tag for the container run on Pods or workers created from a template.
"runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04"
Set to true if a template is public and can be used by any Runpod user. Set to false if a template is private and can only be used by the creator.
false
If true, a template is an official template managed by Runpod.
true
If true, instances created from a template are Serverless workers. If false, instances created from a template are Pods.
true
A user-defined name for a template. The name needs to be unique.
"my template"
A list of ports exposed on a Pod or worker. Each port is formatted as [port number]/[protocol]. Protocol can be either http or tcp.
["8888/http", "22/tcp"]
A string of markdown-formatted text that describes a template. The readme is displayed in the Runpod UI when a user selects the template.
The amount of disk space, in gigabytes (GB), to allocate on the local network volume for a Pod or worker. The data on the local network volume is persisted across restarts. To persist data so that future Pods and workers can access it, create a network volume and set networkVolumeId to attach it to the Pod or worker.
20
If a local network volume or network volume is attached to a Pod or worker, the absolute path where the network volume is mounted in the filesystem.
"/workspace"