Import Trace To Dataset
Import a public Gateway request ID or retained log ID. Requires evaluations:create and observability:read. Eligible: successful non-streaming chat with complete opted-in payload retention. TRACE_NOT_FOUND (404) does not disclose foreign/expired/pending records. TRACE_NOT_IMPORTABLE and TRACE_PAYLOAD_UNAVAILABLE return 422. No deduplication guarantee.
Import a public Gateway request ID or retained log ID. Requires evaluations:create and observability:read. Eligible: successful non-streaming chat with complete opted-in payload retention. TRACE_NOT_FOUND (404) does not disclose foreign/expired/pending records. TRACE_NOT_IMPORTABLE and TRACE_PAYLOAD_UNAVAILABLE return 422. No deduplication guarantee.
Production cookie uses __Secure- prefix.
In: cookie
Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/evaluations/datasets/import-trace" \ -H "Content-Type: application/json" \ -d '{ "requestLogId": "string", "datasetVersionId": "string", "mapping": { "property1": "input", "property2": "input" } }'{ "data": { "case": { "id": "string", "datasetVersionId": "string", "sourceTraceId": "string" }, "datasetVersion": { "id": "string", "version": 1 } }, "requestId": "string"}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}Prepare Evaluation Experiment POST
Prepare Evaluation Experiment — Nirmos Control Plane REST API.
Import Traces To Dataset POST
Sequential non-atomic imports of 1-100 public request IDs or retained log IDs. Same eligibility and permissions as single trace import. Earlier cases can persist if a later import fails; no deduplication guarantee.