Skip to main content
GET
/
traces
/
span
/
{span_id}
Get Trace by Span ID
curl --request GET \
  --url https://api.promptmetrics.dev/traces/span/{span_id} \
  --header 'Authorization: <api-key>'
{
  "responseData": {
    "data": {}
  }
}

Authorizations

Authorization
string
header
required

SDK API key in format: pm_

Path Parameters

span_id
string
required

Response

200 - application/json

Trace

responseData
object