GET /v1/batch/snapshots
Batch jobs list API: your batch jobs, newest first
Call it to get your account's batch jobs, newest first, each with its operation, status, row counts, cost and dates. Filter by operation or status, and page with cursor.
- Price
- Free
- Batch
- No
- Failed calls
- Not charged
Example request
curl
curl 'https://api.virev.ai/v1/batch/snapshots' \
-H "Authorization: Bearer $VIREV_API_KEY"python
import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/batch/snapshots",
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
operation | query | string | Filter by catalog operation id. |
status | query | starting | running | ready | failed | canceled | |
limit | query | integer | |
cursor | query | string | Opaque next_cursor from the previous page. |
Example response
The example response of the API reference.
json
{
"data": {
"snapshots": [
{
"snapshot_id": "s_31a1c44913e1e05f",
"operation": "instagram.web_profile_info",
"status": "canceled",
"rows_total": 5,
"rows_ready": 0,
"rows_failed": 4,
"cost": "$0.0000",
"estimated_cost": "$0.0025",
"format": "ndjson",
"include_errors": false,
"created_at": "2026-11-25T18:52:43.293Z",
"finished_at": "2026-11-25T18:52:43.544Z",
"expires_at": "2026-12-09T18:52:43.293Z"
},
{
"snapshot_id": "s_c6841285ac67fa80",
"operation": "instagram.web_profile_info",
"status": "ready",
"rows_total": 3,
"rows_ready": 3,
"rows_failed": 0,
"cost": "$0.0015",
"estimated_cost": "$0.0015",
"format": "ndjson",
"include_errors": false,
"created_at": "2026-11-25T18:52:37.185Z",
"finished_at": "2026-11-25T18:52:38.218Z",
"expires_at": "2026-12-09T18:52:37.185Z"
}
],
"next_cursor": "1795632757185"
},
"meta": {
"cost": "$0.0000",
"balance": "$326.8734",
"request_id": "req_88f740a467b4df1c124220d9f8487413"
}
}How it works
This account's jobs, newest first. Free.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
429 | Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged. |
502 | The upstream fetch failed. You are not charged. |
503 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |