Quickstart
API Integration
Create and manage AI agents programmatically
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create and manage AI agents programmatically
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
https://api.sadaa.ai/api/v1/agents
curl -X POST https://api.sadaa.ai/api/v2/agents \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: multipart/form-data" \
-F "name=My First Agent" \
-F "description=A helpful assistant" \
-F "systemPrompt=You are a helpful assistant..." \
-F "model=gpt-4" \
-F "temperature=0.7"
curl -X GET https://api.sadaa.ai/api/v1/agents/{agent_id} \
-H "Authorization: Bearer YOUR_API_TOKEN"
curl -X PATCH https://api.sadaa.ai/api/v1/agents/{agent_id} \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: multipart/form-data" \
-F "name=Updated Agent Name" \
-F "description=Updated description"
curl -X POST https://api.sadaa.ai/api/v1/agents/{agent_id}/generate-questions \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"count": 5
}'
curl -X DELETE https://api.sadaa.ai/api/v1/agents/{agent_id}/knowledge-store \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"knowledgeStoreId": "store_id"
}'
curl -X DELETE https://api.sadaa.ai/api/v1/agents/{agent_id}/voice-configs/{voice_config_id} \
-H "Authorization: Bearer YOUR_API_TOKEN"
