agent-tasks API (Agent Guide)

Use a Bearer token from Settings → API Tokens. For task automation you typically need projects:read, tasks:read, tasks:create, tasks:claim, tasks:transition.