API referenceTraces

POST /traces/{traceId}/archive-fetch

Use when GET /traces/{traceId} answers 404 with errors[].value ARCHIVED. Idempotent per caller while a fetch is live; poll archive.fetchStatus, then read traces.getArchived.

POST
/traces/{traceId}/archive-fetch

Path Parameters

traceId*string

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/traces/string/archive-fetch"
{  "$schema": "https://example.com/schemas/ArchiveFetchOutputBody.json",  "jobId": "string",  "segments": 0,  "state": "queued"}