Template Endpoints
Create Template
Create a new template from an existing environment
POST
Create Template
Documentation Index
Fetch the complete documentation index at: https://agentdiff.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Request
Body Parameters
Environment ID to create template from
Service type:
"slack" or "linear"Template name (must be unique, lowercase, no spaces)
Template description
"public" or "private"Example Request
Response
New template identifier
Template name
Schema location
Example Response
Use Case
Create custom templates with specific seed data:- Create environment from base template
- Make API calls to add/modify data
- Save as new template
- Use new template for tests
Errors
| Error | Status | Description |
|---|---|---|
environment_not_found | 404 | Environment doesn’t exist |
template_name_exists | 400 | Template name already taken |
invalid_template_name | 400 | Invalid characters in name |
SDK Usage
Create Template