Async Batch API & Webhooks
Submit up to 50,000 items per batch job with built-in repeat_count variance sampling, automatic retries, and signed webhook delivery.
Submit a Clean-Room Matrix Batch
Use repeat_count (1–10) to run every prompt multiple independent times with cache disabled. GeoEval computes total matrix size (prompts × engines × countries × repeat_count) and verifies balance before queuing.
POST /v1/batches
curl -X POST https://api.geoeval.com/v1/batches \
-H "Authorization: Bearer $GEOEVAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "q4-brand-visibility-us-jp",
"engines": ["chatgpt", "google-ai-overview", "perplexity"],
"countries": ["us", "jp"],
"repeat_count": 3,
"web_search": true,
"include_raw_html": false,
"prompts": [
"Best serverless Postgres for AI apps",
"Top OpenTelemetry APM platforms for enterprise"
],
"webhook_url": "https://hooks.yourcompany.com/geoeval/batch",
"export_format": "jsonl"
}'
Webhook Signature Verification
Every webhook event (batch.completed, batch.failed, credits.low_threshold) includes an X-GeoEval-Signature header computed with HMAC-SHA256 using your workspace signing secret. Completed batches expose signed download URLs in JSONL, CSV, and Parquet formats.