List your runs
API Reference
List Tasks
Paginate over every browser-agent task submission your API key has created. Filter by status, control page size with limit/skip.
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.
Each entry in
Overview
- Method:
GET - Path:
/list-browser-agents - Auth: same
Authorization: Bearer YOUR_API_KEYas Run a Task - Sort order: newest first (
createdAtdescending). - Scope: only runs owned by this API key are returned.
Query Parameters
Response
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
Authorizations
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
Required range:
1 <= x <= 100Required range:
x >= 0Available options:
processing, completed 
