4e064cf81dae

latestOpenAPI 3.1.02026-08-131831,331960.0 KB
datasets

Bulk create dataset logs

Submit 1 to 500 dataset logs for ingestion in one request. Each log uses the same object as the single-create endpoint, and partial success is allowed. A 201 response can therefore contain item-level errors; if every item fails, the endpoint returns 400. Rate limit: 30 requests per minute per organization for API-key calls (shared across API keys) and per user for JWT calls.

post/api/datasets/{dataset_id}/logs/bulk/

Path parameters

dataset_idstring required

Dataset ID. Use _saved_logs for the virtual saved-logs collection.

Headers

Authorizationstring required

Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.

Request body

Response

At least one dataset log was accepted for ingestion. Inspect error_count and errors for partial failures.

success_countinteger required

Number of items successfully processed.

error_countinteger required

Number of items that failed.