Partial Update Span
PATCH/spans/{span_id}
Update a span with the provided output data and mark it as complete
Partial Update Span
curl http://localhost:5003/spans/$SPAN_ID \
-X PATCH \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $AGENTEX_SDK_API_KEY" \
-d '{}'{
"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"
}