v1
latestOpenAPI 3.1.02026-07-2676123203.9 KBtemplates
Find a template by ID
Returns a single template. Use this API reference to review authentication, request parameters, response fields, and errors for this Runpod operation.
get/templates/{templateId}
Path parameters
templateIdstring required
ID of template to return.
Query parameters
includeEndpointBoundTemplatesboolean
Include templates bound to Serverless endpoints in the response.
Example:true
includePublicTemplatesboolean
Include community-made public templates in the response.
Example:true
includeRunpodTemplatesboolean
Include official Runpod templates in the response.
Example:true
Response
Successful operation.
Example response
{
"category": "NVIDIA",
"containerDiskInGb": 50,
"dockerEntrypoint": [],
"dockerStartCmd": [],
"earned": 100,
"env": {
"ENV_VAR": "value"
},
"id": "30zmvf89kd",
"imageName": "runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04",
"isRunpod": true,
"isServerless": true,
"name": "my template",
"ports": [
"8888/http",
"22/tcp"
],
"volumeInGb": 20,
"volumeMountPath": "/workspace"
}