Get Span
GET/spans/{span_id}
Get Span
curl http://localhost:5003/spans/$SPAN_ID \
-H "Authorization: Bearer $AGENTEX_SDK_API_KEY"{
"id": "id",
"name": "name",
"start_time": "2019-12-27T18:11:19.117Z",
"trace_id": "trace_id",
"data": {
"foo": "bar"
},
"end_time": "2019-12-27T18:11:19.117Z",
"input": {
"foo": "bar"
},
"output": {
"foo": "bar"
},
"parent_id": "parent_id",
"task_id": "task_id"
}Returns Examples
{
"id": "id",
"name": "name",
"start_time": "2019-12-27T18:11:19.117Z",
"trace_id": "trace_id",
"data": {
"foo": "bar"
},
"end_time": "2019-12-27T18:11:19.117Z",
"input": {
"foo": "bar"
},
"output": {
"foo": "bar"
},
"parent_id": "parent_id",
"task_id": "task_id"
}