Export a run as OTLP/JSON
Exports a redacted trace in OpenTelemetry Protocol JSON shape.
/api/v2/runs/{runId}/exportAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
runIdstringrequiredPublic run id (run_xxx).
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
Redacted OTLP/JSON trace export.
successbooleanrequiredtruedataTraceExportrequiredShow propertiesHide properties
resourceSpansobject[]requiredOpenTelemetry Protocol JSON resource spans for one Anlyon run.
Bad Request - Invalid input data
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectUnauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectAuthenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectNot Found - Resource does not exist
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject
