Agents API
List and inspect AI agents in your spaces.
List Agentsβ
GET /v1/agents
Scope required: agents
Responseβ
{
"agents": [
{
"id": "agent_soporte",
"name": "Soporte TΓ©cnico",
"summary": "Handles technical support tickets and troubleshooting",
"is_primary": true,
"group_id": "group_main",
"space_code": "soporte"
}
]
}
Agent Detailβ
GET /v1/agents/:id
Returns agent details including assigned actions and knowledge files.
Responseβ
{
"id": "agent_soporte",
"name": "Soporte TΓ©cnico",
"summary": "Handles technical support",
"is_primary": true,
"actions": [
{ "id": "action_jira", "name": "Create Jira Ticket", "description": "Creates a support ticket in Jira" }
],
"knowledge_files": [
{ "id": "doc_faq", "filename": "faq.txt", "content_summary": "Frequently asked questions", "status": "ready" }
]
}