Skip to main content
GET
List your runs
Paginate over every run this API key has created, newest first. Useful for building a history UI, reconciling your own records, or spot-checking processing runs.

Overview

  • Method: GET
  • Path: /list-browser-agents
  • Auth: same Authorization: Bearer YOUR_API_KEY as Run a Task
  • Sort order: newest first (createdAt descending).
  • Scope: only runs owned by this API key are returned.

Query Parameters

Response

Each entry in batches is a summary row:
The envelope field is historically named batches, not runs, to stay backward-compatible with older clients. Each entry is the same run-summary shape described above.

Example

Status Codes

Pagination Patterns

Python — iterate every run

Node.js — fetch a single page

TypeScript — pull all pages

List responses echo only the first task’s URL/instruction into results[0] as a stub. To inspect every task in a run, fetch it by id with GET /browser-agent/:id.

Authorizations

Authorization
string
header
default:YOUR_API_KEY
required

API key for authentication. Get your API key from https://pre.dev/projects/key (Solo) or https://pre.dev/enterprise/dashboard?page=api (Enterprise). Use format: Bearer YOUR_API_KEY

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 100
skip
integer
default:0
Required range: x >= 0
status
enum<string>
Available options:
processing,
completed

Response

Paginated list of runs owned by this API key.

batches
object[]

Run summaries (field is named batches for backwards compatibility).

total
integer

Total matching runs, ignoring limit/skip.

hasMore
boolean

True when skip + limit < total.