openAiBatch

Get batch job summary with query filters

Dashboard-authenticated extension for aggregated batch job statistics. The backend delegates POST to GET, so filters are query parameters (status, provider_id) and request bodies are ignored.

post/api/v1/batches/summary/

Query parameters

statusstring

Filter dashboard batch jobs by normalized batch status.

provider_idstring

Filter dashboard batch jobs by provider ID.

Headers

Authorizationstring required

Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.

Response

Batch job summary.

total_batchesinteger required
active_batchesinteger required
completed_batchesinteger required
failed_batchesinteger required
total_costnumber double
total_requestsinteger
total_completed_requestsinteger
total_failed_requestsinteger
by_statusobject
by_providerobject

Changes