cURL
curl --request POST \ --url https://api.agentixx.io/api/agents \ --header 'Content-Type: application/json' \ --header 'x-tenant-id: <api-key>' \ --cookie better-auth.session_token= \ --data ' { "name": "Support Agent", "role": "customer_support", "model": "gpt-4.1-mini" } '
{}
Create a new AI agent. Admin only.
Session cookie set by Better Auth on sign-in.
Tenant/workspace UUID. Required on all /api/* endpoints.
Create a new AI agent
1
Agent created