Skip to main content
GET
/
traces
/
trace
/
{trace_id}
Get Trace Tree
curl --request GET \
  --url https://api.promptmetrics.dev/traces/trace/{trace_id} \
  --header 'Authorization: Bearer <token>'
{
  "responseData": {
    "trace_id": "<string>",
    "spans": "<array>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

trace_id
string
required

Query Parameters

workspace_id
string
required

Response

200 - application/json

Trace tree

responseData
object