Skip to content

API reference/consistency

List the account's bulk consistency runs

GET/api/v1/consistency/bulk

authentication
Secret API key as a bearer token
billing
Free.

Every bulk consistency run this account has started, newest first, 100 per page. A job id is handed out once, at creation, and everything about a run hangs off it — its counts, its results, its cancel and resume calls — so this is how a caller that lost one finds the run again.

status, since and until are optional and combine; a bare date in until means the whole of that day, and an unknown status or an unparseable date is a 422 rather than an empty page. The webhook secret is never among the rows: it is returned once, at creation.

Runs are kept as long as the lookup history, and meta.retention_days says how long that is — a run older than that is deleted with its files and cannot be listed.

Parameters

name in type description
statusquerystringOnly runs in this status. One of: queued, processing, completed, failed, cancelled.
sincequerystringOnly runs created at or after this date or timestamp.
untilquerystringOnly runs created at or before this. A bare date means the whole of that day.
pagequeryintegerThe page to return. Default: 1.

Example request

curl https://spaw.co/api/v1/consistency/bulk \
  -H "Authorization: Bearer sk_live_…"
const response = await fetch('https://spaw.co/api/v1/consistency/bulk', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer sk_live_…',
  },
});
const result = await response.json();
import requests

response = requests.get(
    'https://spaw.co/api/v1/consistency/bulk',
    headers={'Authorization': 'Bearer sk_live_…'},
)
result = response.json()
$ch = curl_init('https://spaw.co/api/v1/consistency/bulk');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => ['Authorization: Bearer sk_live_…'],
]);
$result = json_decode(curl_exec($ch), true);
from spaw import Client

client = Client('sk_live_…')
result = client.list_consistency_bulk_jobs()
import Spaw from 'spaw';

const spaw = new Spaw({ apiKey: 'sk_live_…' });
const result = await spaw.listConsistencyBulkJobs();
use Spaw\Client;

$spaw = new Client('sk_live_…');
$result = $spaw->listConsistencyBulkJobs();

This endpoint has no console on its page. It answers with records from your own account, often by an id only you have, rather than about a value you can type here. The dashboard lists the same rows.

Responses

200One page of runs, newest first.

{
    "success": true,
    "data": {
        "jobs": [
            {
                "id": 41,
                "status": "completed",
                "total": 900,
                "duplicate_count": 3,
                "processed": 900,
                "flagged": 61,
                "unflagged": 802,
                "uncompared": 37,
                "credits_used": 2410,
                "stopped_reason": null,
                "cancel_requested": false,
                "country": "GB",
                "webhook_status": null,
                "webhook_detail": null,
                "created_at": "2026-09-10T11:30:00+00:00",
                "finished_at": "2026-09-10T11:36:12+00:00"
            }
        ]
    },
    "meta": {
        "page": 1,
        "per_page": 100,
        "total": 1,
        "retention_days": 30
    }
}

401The key is missing, malformed, or revoked.

{
    "success": false,
    "error": {
        "code": "UNAUTHENTICATED",
        "message": "Provide a valid API key as a bearer token.",
        "request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
    }
}

422The request body could not be validated; `error.errors` lists the fields.

{
    "success": false,
    "error": {
        "code": "VALIDATION_FAILED",
        "message": "The email field is required.",
        "errors": {
            "email": [
                "The email field is required."
            ]
        },
        "request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
    }
}

429Over 5 requests per second for the key. Retry after the limit resets.

{
    "success": false,
    "error": {
        "code": "RATE_LIMITED",
        "message": "Too many requests. Retry after the limit resets.",
        "request_id": "req_01m1kgdm4xngzmbmff68g94w0c"
    }
}

Error codes

Failures answer { success: false, error: { code, message, request_id } }. Each code has its own page.

markdown version·openapi.json