What is an agent task?
An agent task asks a named agent (e.g.,gemini) to perform work based on your prompt. You create a task, then check its status or results, and you can list recent tasks for auditing.
Base URL: https://agent-api.browser.cash
Authentication: Send Authorization: Bearer <AGENT_API_KEY>.
Create a task
Get a task
status (queued, running, completed, failed) and, once completed, an optional result payload provided by the agent.
List tasks
Notes
stepLimitcaps how many autonomous steps the agent can take.- Use pagination on list with
pageSizeandpage. - Keep your API key secret. Prefer environment variables (e.g., PowerShell:
$env:API_BASE = "https://agent-api.browser.cash"; $env:API_KEY = "<your key>").