Create an async batch job and attach observability metadata such as session ids and webhooks.
Create a batch job for asynchronous processing. The gateway forwards the upstream batch request and also accepts AI Stats-specific observability fields:Documentation Index
Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
Use this file to discover all available pages before exploring further.
session_id to group the batch with related requests in logs and investigate tooling.webhook to configure async notifications when the batch transitions state.metadata to persist caller-defined tags alongside the batch.GET /batches/{batch_id} to poll status and POST /batches/{batch_id}/cancel to stop a pending or processing batch.
Batch responses also include gateway observability fields when available:
request_idprovidersession_idwebhookbilling summary datapricing_linesBearer token authentication
Unique identifier for grouping related requests (for example, a conversation or agent workflow) for observability.
256Gateway debug controls. These flags are never forwarded upstream.
Provider routing preferences for gateway selection.
Batch status response