cURL
curl --request POST \ --url https://api.weav.com/v1/agents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "avatar_url": "<string>", "max_messages_per_session": 500, "tone": "<string>", "response_length": "<string>", "is_active": true } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "slug": "<string>", "description": "<string>", "avatar_url": "<string>", "max_messages_per_session": 123, "tone": "<string>", "response_length": "<string>", "is_active": true, "is_copilot": true, "prohibited_phrases": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "phrase": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "escalation_rules": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "channel": "<string>", "rule": "<string>", "escalate_to": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
The model is set automatically to gpt-4o-mini.
Workspace API token. Include abilities external-api:read and/or external-api:write.
external-api:read
external-api:write
255
500
1 <= x <= 1000
Agent created
Show child attributes