Get Agent
Get an agent with the Taskade REST API v1 (GET /agents/{agentId}).
Use this endpoint to get one agent by its ID.
get
Get agent with id
Authorizations
OAuth2authorizationCodeRequired
Authorization URL: Token URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
agentIdstringRequired
Responses
200
Agent
application/json
Agent
okboolean · enumRequiredPossible values:
4XX
Error description
application/json
get/agents/{agentId}
GET /api/v1/agents/{agentId} HTTP/1.1
Host: www.taskade.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"ok": true,
"item": {
"id": "abc123DEF456",
"name": "Sales Pipeline",
"space_id": "abc123DEF456",
"data": {
"commands": [
{
"name": "Sales Pipeline",
"description": "Tracks deals from lead to close.",
"prompt": "Summarize the latest updates in this project.",
"id": "abc123DEF456",
"mode": "default"
}
],
"description": "Tracks deals from lead to close.",
"tone": "authoritative",
"avatar": {
"type": "emoji",
"data": {
"value": "example"
}
},
"knowledgeEnabled": true,
"language": "en",
"inputPlaceholder": "example"
}
}
}Last updated