Tracing
Get Traces
Tracing
Get Traces
Retrieve traces
GET
/
v1
/
traces
curl --request GET \
--url https://api.getscorecard.ai/v1/traces \
--header 'X-API-Key: <api-key>'
[
{
"TraceId": "<string>",
"Start": "2023-11-07T05:31:56Z",
"End": "2023-11-07T05:31:56Z",
"Spans": [
{
"Children": [
{}
],
"Timestamp": "2023-11-07T05:31:56Z",
"TraceId": "<string>",
"SpanId": "<string>",
"ParentSpanId": "<string>",
"TraceState": "<string>",
"SpanName": "<string>",
"SpanKind": "<string>",
"ServiceName": "<string>",
"ResourceAttributes": {},
"ScopeName": "<string>",
"ScopeVersion": "<string>",
"SpanAttributes": {},
"Duration": 123,
"StatusCode": "<string>",
"StatusMessage": "<string>",
"Events.Timestamp": [
"2023-11-07T05:31:56Z"
],
"Events.Name": [
"<string>"
],
"Events.Attributes": [
{}
],
"Links.TraceId": [
"<string>"
],
"Links.SpanId": [
"<string>"
],
"Links.TraceState": [
"<string>"
],
"Links.Attributes": [
{}
]
}
]
}
]
Authorizations
Response
200
application/json
Successful Response
Was this page helpful?
curl --request GET \
--url https://api.getscorecard.ai/v1/traces \
--header 'X-API-Key: <api-key>'
[
{
"TraceId": "<string>",
"Start": "2023-11-07T05:31:56Z",
"End": "2023-11-07T05:31:56Z",
"Spans": [
{
"Children": [
{}
],
"Timestamp": "2023-11-07T05:31:56Z",
"TraceId": "<string>",
"SpanId": "<string>",
"ParentSpanId": "<string>",
"TraceState": "<string>",
"SpanName": "<string>",
"SpanKind": "<string>",
"ServiceName": "<string>",
"ResourceAttributes": {},
"ScopeName": "<string>",
"ScopeVersion": "<string>",
"SpanAttributes": {},
"Duration": 123,
"StatusCode": "<string>",
"StatusMessage": "<string>",
"Events.Timestamp": [
"2023-11-07T05:31:56Z"
],
"Events.Name": [
"<string>"
],
"Events.Attributes": [
{}
],
"Links.TraceId": [
"<string>"
],
"Links.SpanId": [
"<string>"
],
"Links.TraceState": [
"<string>"
],
"Links.Attributes": [
{}
]
}
]
}
]