SDKs: GraphQL Templates
Manage Templates using the Tensor One GraphQL API. This guide covers how to create, update, and delete both GPU and Serverless templates.Required Template Arguments
When creating a Template, make sure to include the following required fields:containerDiskInGb- Container disk size (GB)dockerArgs- Custom start commandenv- Environment variables (key-value pairs)imageName- Docker image to launchname- Unique template namevolumeInGb- Persistent volume size (GB)
containerRegistryAuthId: The ID (not name) of saved registry credentials (see user settings)
Creating Templates
Create GPU Template
Create Serverless Template
Always setvolumeInGb: 0 for serverless templates:

