Skip to main content

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 agent
  • reminder - Reminder and scheduling agent
  • climate - Climate and weather data agent

Planned (coming soon)​

  • email - Email handling agent
  • sms - SMS communication agent
  • analytics - Data analysis agent
  • content - Content generation agent
  • converse - 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

Next Steps​