GET /v1/vision/batches/{batch_id}/events
Server-sent events for the batch: lifecycle events plus `page.succeeded` and `page.failed` per URL. Ends after the terminal event. Reconnect with `Last-Event-ID` to resume.

Authentication

Bearer Token (b3os_sk_ API key or b3os_pat_ token) API Key (cookie: __Host-b3os_session)

Path Parameters

batch_id string required path
The batch scrape ID (`batch_…`).
Example: "batch_01m5t3v176vrhf8a1mn570c5gd"

Header Parameters

Last-Event-ID string optional header
Resume an event stream after this event `id` (the `seq` of the last event you processed).

Responses

200 The event stream.
text/event-stream
string
400 The request failed validation (`invalid_request`, `invalid_url`).
401 Missing, malformed, expired or revoked credentials (`unauthorized`).
403 Authenticated but not allowed (`forbidden`, `egress_denied`).
404 No such batch scrape in this project (`batch_not_found`).
410 The object's data was deleted at the end of its retention period.
429 A rate, concurrency or quota limit applies (`rate_limited`, `concurrency_limited`, `quota_exceeded`).
500 Something failed inside B3OS (`internal`). Retry with backoff.
503 The node or the product is not available right now (`node_unavailable`, `product_unavailable`, `capacity_unavailable`).
curl -X GET 'https://beta-api.b3os.org/v1/vision/batches/batch_01m5t3v176vrhf8a1mn570c5gd/events' \  -H 'Authorization: Bearer YOUR_API_TOKEN'
const response = await fetch('https://beta-api.b3os.org/v1/vision/batches/batch_01m5t3v176vrhf8a1mn570c5gd/events', {  method: 'GET',  headers: {      "Authorization": "Bearer YOUR_API_TOKEN"  }});const data = await response.json();console.log(data);
import requestsheaders = {    'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://beta-api.b3os.org/v1/vision/batches/batch_01m5t3v176vrhf8a1mn570c5gd/events', headers=headers)print(response.json())
200 Response
"id: 3\nevent: job.succeeded\ndata: {\"type\":\"job.succeeded\",\"ts\":\"2026-10-25T18:04:12.950Z\",\"job_id\":\"batch_01m5t3v176vrhf8a1mn570c5gd\",\"seq\":3}\n\n"
Ask a question... ⌘I