curl https://agentgate.mynewapi.com/v1/templates \
-H "Authorization: Bearer YOUR_API_KEY"
{
"templates": [
{
"id": "node-typescript-api",
"name": "Node.js TypeScript API",
"description": "Express API with TypeScript",
"builtIn": true,
"tags": ["node", "typescript", "api"]
},
{
"id": "our-api-template",
"name": "Our API Template",
"description": "Standard API with our conventions",
"builtIn": false,
"tags": ["api", "internal"]
}
]
}
Templates
List Templates
List available workspace templates
GET
/
v1
/
templates
curl https://agentgate.mynewapi.com/v1/templates \
-H "Authorization: Bearer YOUR_API_KEY"
{
"templates": [
{
"id": "node-typescript-api",
"name": "Node.js TypeScript API",
"description": "Express API with TypeScript",
"builtIn": true,
"tags": ["node", "typescript", "api"]
},
{
"id": "our-api-template",
"name": "Our API Template",
"description": "Standard API with our conventions",
"builtIn": false,
"tags": ["api", "internal"]
}
]
}
Include system built-in templates.
Filter by tags (comma-separated).
Array of template objects.
curl https://agentgate.mynewapi.com/v1/templates \
-H "Authorization: Bearer YOUR_API_KEY"
{
"templates": [
{
"id": "node-typescript-api",
"name": "Node.js TypeScript API",
"description": "Express API with TypeScript",
"builtIn": true,
"tags": ["node", "typescript", "api"]
},
{
"id": "our-api-template",
"name": "Our API Template",
"description": "Standard API with our conventions",
"builtIn": false,
"tags": ["api", "internal"]
}
]
}
⌘I