Create AgentTemplate
Admin only.
Authorization
AccessToken AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/admin/agent-templates" \ -H "Content-Type: application/json" \ -d '{}'{ "status": 0, "message": "string", "data": { "slug": "string", "name": "string", "description": "", "role": "", "avatar": "", "instructions": "string", "modelId": "openai/gpt-4o", "defaultOptions": {}, "tools": [ {} ], "workflows": [ { "workflowTemplateId": null, "label": "string", "description": "" } ], "subAgents": [ { "agentTemplateId": null, "label": "string", "description": "" } ], "isSupervisor": false, "memory": {}, "knowledge": {}, "scorers": [ {} ], "generationCapabilities": [ {} ], "category": "", "tags": [ "string" ], "featured": false, "useCount": 0, "author": "Ziwako", "isPublic": false, "publishedAt": null, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "id": "string" }, "type": "string", "code": "string"}