Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Bash + cURL examples that mirror every page in the API reference.
export AGNTIX_API_KEY=pk_live_xxxxxxxxxxxxxxxx
curl https://api.agntix.ai/v1/chat/models \ -H "x-api-key: $AGNTIX_API_KEY"
curl https://api.agntix.ai/v1/chat/agents \ -H "x-api-key: $AGNTIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"name":"Support bot","modelId":"gpt-4o-mini","systemPrompt":"You are helpful."}'
curl -N https://api.agntix.ai/v1/chat/events/stream \ -H "x-api-key: $AGNTIX_API_KEY" \ -H "Accept: text/event-stream"
curl https://api.agntix.ai/v1/chat/knowledge-store/$STORE_ID/documents \ -H "x-api-key: $AGNTIX_API_KEY" \ -F "file=@./handbook.pdf" \ -F "title=Employee Handbook"
-w "\n%{http_code}\n"