Dispatch a new task and start an agent run.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Task description or instructions for the agent.
Repository in owner/repo format or full GitHub URL.
Base branch (defaults to repository's default branch).
Provider+model id override (e.g. claude-code/sonnet, codex/gpt-5.2-codex, open-code/openai/gpt-5.2-codex).
Run mode: plan (produce a plan) or code (implement directly).
plan, code Optional task title (auto-generated if not provided).