Dataset Items
Evaluations
Evaluation Items
Spans
Get Span
GET
/
v5
/
spans
/
{span_id}
curl --request GET \
--url https://api.egp.scale.com/v5/spans/{span_id} \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"object": "span",
"name": "<string>",
"trace_id": "<string>",
"parent_id": "<string>",
"start_timestamp": "2023-11-07T05:31:56Z",
"end_timestamp": "2023-11-07T05:31:56Z",
"input": {},
"output": {},
"metadata": {},
"status": "SUCCESS",
"type": "STANDALONE",
"account_id": "<string>",
"created_by_user_id": "<string>"
}
Authorizations
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
curl --request GET \
--url https://api.egp.scale.com/v5/spans/{span_id} \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"object": "span",
"name": "<string>",
"trace_id": "<string>",
"parent_id": "<string>",
"start_timestamp": "2023-11-07T05:31:56Z",
"end_timestamp": "2023-11-07T05:31:56Z",
"input": {},
"output": {},
"metadata": {},
"status": "SUCCESS",
"type": "STANDALONE",
"account_id": "<string>",
"created_by_user_id": "<string>"
}