Connections & Cursor-Based Pagination
Storage Connections
The new /connections resource lets you link S3-compatible storage (Amazon S3, Cloudflare R2, Google Cloud Storage, Supabase Storage) to your project.
- Ingest files directly from your storage using
s3://URLs - Upload task outputs to your own buckets with the
uploadtask kind
Endpoints
GET /connections, POST /connections, GET /connections/:id, PATCH /connections/:id, DELETE /connections/:id
Cursor-Based Pagination
All list endpoints now use cursor-based pagination instead of page-based.
What changed
?page=2→?after=<last_id>Linksheader →Linkheader (singular, RFC 5988)- New
Has-Moreheader indicates if more results exist - New
Limitheader shows the applied limit
Parameters
| Parameter | Description |
|---|---|
after | Return results after this ID |
before | Return results before this ID |
limit | Number of results (1-100, default: 20) |
order | Sort order: asc or desc |
Conditions Format
Conditions now use an operator-as-key format:
Operators: eq, not, gt, gte, lt, lte, in, startsWith, endsWith
api
2025-12-15