cURL
curl --request GET \ --url https://api.plugit.chat/v2/agents/{agent_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "title": "<string>", "version": "<string>", "enabled": true, "default_language": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "prompt": "<string>", "knowledge": "<string>", "tools": [ { "type": "customApi", "customApi": { "endpoints": [ {} ] } } ], "delay": 123, "categories": [ { "title": "<string>", "criteria": "<string>", "webhook": { "url": "<string>", "headers": { "x-api-key": "your-secret" } }, "disableAI": true } ], "external_id": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Agent identifier.
Success
Configured tools for this agent.
Show child attributes
Conversation categories and routing rules.