> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List Browserbase agent runs

> List agent runs with status and time filters.

`browserbase.listAgentRuns` lists agent runs with status and time filters. Inputs accept literal values or compatible signals. An optional second argument `{ account }` selects a named Browserbase binding.

## Example

```ts theme={null}
import { automation, onInvocation } from "automate.ax"
import { browserbase } from "automate.ax/browserbase"

export default automation("List Browserbase agent runs", () => {
  onInvocation()
  browserbase.listAgentRuns({ agentId: "agent-id", status: "COMPLETED" })
})
```

## Inputs

| Input               | Type          | Required | Default          | Description               |
| ------------------- | ------------- | -------- | ---------------- | ------------------------- |
| `agentId`           | `string`      | No       | All agents       | Agent filter.             |
| `status`            | Run status    | No       | All              | Lifecycle filter.         |
| `cursor`            | `string`      | No       | First page       | Cursor from `nextCursor`. |
| `limit`             | `number`      | No       | Provider default | 1 through 1,000.          |
| `startAt` / `endAt` | ISO date-time | No       | None             | Creation-time bounds.     |

## Output

Returns `data`, `limit`, and nullable `nextCursor`.

Terminal statuses are `COMPLETED`, `FAILED`, `STOPPED`, and `TIMED_OUT`.
