Last updated 5 months ago
Create an agent in a folder, or in the home folder of a workspace.
POST /api/v1/folders/{folderId}/agents HTTP/1.1 Host: www.taskade.com Content-Type: application/json Accept: */* Content-Length: 257 { "name": "text", "data": { "type": "data", "data": { "commands": [ { "name": "text", "prompt": "text", "id": "text", "mode": "default" } ], "description": "text", "tone": "authoritative", "avatar": { "type": "emoji", "data": { "value": "text" } }, "knowledgeEnabled": true, "language": "text" } } }
Default response
{ "ok": true, "item": { "id": "text", "name": "text", "space_id": "text", "data": { "commands": [ { "name": "text", "prompt": "text", "id": "text", "mode": "default" } ], "description": "text", "tone": "authoritative", "avatar": { "type": "emoji", "data": { "value": "text" } }, "knowledgeEnabled": true, "language": "text" } } }