Agents
Create autonomous AI agents for specific tasks.
Endpoint​
POST https://admin.yodi.tg/api/ai/{agentType}/task
info
Agents API is in development. Refer to Swagger for latest capabilities.
Supported Agent Types​
Available​
financial- Financial analysis agentreminder- Reminder and scheduling agentclimate- Climate and weather data agent
Planned (coming soon)​
email- Email handling agentsms- SMS communication agentanalytics- Data analysis agentcontent- Content generation agentconverse- Voice call agent (Interactive conversations via phone)
Example Request​
curl -X POST "https://admin.yodi.tg/api/ai/financial/task" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": "Analyze my monthly spending"
}'
Example Response​
{
"message": "SUCCESS",
"error": false,
"data": {
"result": "Analysis complete. Your top spending category is: Communications."
},
"status": 200
}
Use Cases​
- Auto-respond to emails
- Handle support tickets
- Generate reports
- Create content