Tasks

Crea una nueva tarea de IA

Crea una nueva tarea de IA. La ejecuta el agente indicado (o se rutea automáticamente si no se especifica).

post/api/v1/create_task

Request

  • Base URL: https://api.pymaia.com
  • URL: https://api.pymaia.com/api/v1/create_task
  • Auth: HTTP bearer

Request body

namestring required

Short name for the task

objectivestring required

What the task should accomplish

agent_slugstring

Agent to execute (e.g. "ads-analyst"). Leave empty for auto-routing via growth360.

task_type'one_time' | 'recurring' | 'event_trigger'
cron_exprstring

Cron expression for recurring tasks (e.g. "0 9 * * 1" = every Monday 9am)

prioritynumber

1=critical, 2=high, 3=medium, 4=low

success_criteriastring

How to evaluate if the task succeeded

max_cost_usdnumber

Monthly budget limit in USD

Response

Tool executed successfully

okboolean
resultunknown
duration_msnumber

Changes

No recorded changes to this operation across all 1 revision of this API.