Search...
/
Contact
Sign in
Documentation
API Reference
Glossary
Overview
API Reference
Testset
GET
Read Testset
DEL
Delete
PATCH
Update Testset
POST
Create Testset
GET
Read Testset Schema
GET
Read Testcases
Testcase
POST
Create Testcase
GET
Read Testcase
DEL
Delete Testcase
PATCH
Update Testcase
POST
Batch Copy Testcases
PATCH
Batch Delete Testcases
Testrecord
GET
Read Testrecord
POST
Create Testrecord
Run
POST
Create Run
GET
Read Run
PATCH
Update Run Status
Score
POST
Create Score
PATCH
Update Score
Run Metric
GET
Read Run Metrics
Tracing
GET
Get Traces
GET
Get Trace
GET
Get Trace Span
Prompt
GET
Get Prompt By Name
POST
Create Prompt
GET
Get Prompt By Id
DEL
Delete Scoring Config
PATCH
Update Prompt
Scoring Config
POST
Create Scoring Config
GET
Get Scoring Config
Contact
Sign in
API Reference
Tracing
Get Trace Span
GET
https://
api.getscorecard.ai
/
v1
/
traces
/
:trace_id
/
spans
/
:span_id
Retrieve specified span
Path parameters
trace_id
string
Required
The ID of the trace which the span is a part of.
span_id
string
Required
The ID of the span to retrieve.
Response
This endpoint returns an object
Children
list of objects
Show 23 properties
Timestamp
datetime
TraceId
string
SpanId
string
ParentSpanId
string
TraceState
string
SpanName
string
SpanKind
string
ServiceName
string
ResourceAttributes
map from strings to strings
ScopeName
string
ScopeVersion
string
SpanAttributes
map from strings to strings
Duration
integer
StatusCode
string
StatusMessage
string
Events.Timestamp
list of datetimes
Events.Name
list of strings
Events.Attributes
list of maps from strings to strings
Links.TraceId
list of strings
Links.SpanId
list of strings
Links.TraceState
list of strings
Links.Attributes
list of maps from strings to strings
Errors
401
Unauthorized
403
Forbidden
404
Not Found
422
Unprocessable Entity
Built with