PUT
/
v5
/
spans
/
batch
curl --request PUT \
  --url https://api.egp.scale.com/v5/spans/batch \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "items": [
    {
      "id": "<string>",
      "name": "<string>",
      "trace_id": "<string>",
      "parent_id": "<string>",
      "group_id": "<string>",
      "start_timestamp": "2023-11-07T05:31:56Z",
      "end_timestamp": "2023-11-07T05:31:56Z",
      "input": {},
      "output": {},
      "metadata": {},
      "status": "SUCCESS",
      "type": "STANDALONE",
      "application_interaction_id": "<string>",
      "application_variant_id": "<string>"
    }
  ]
}'
{
  "object": "list",
  "items": [
    {
      "id": "<string>",
      "object": "span",
      "name": "<string>",
      "trace_id": "<string>",
      "parent_id": "<string>",
      "group_id": "<string>",
      "start_timestamp": "2023-11-07T05:31:56Z",
      "end_timestamp": "2023-11-07T05:31:56Z",
      "input": {},
      "output": {},
      "metadata": {},
      "status": "SUCCESS",
      "type": "STANDALONE",
      "application_interaction_id": "<string>",
      "application_variant_id": "<string>",
      "account_id": "<string>",
      "created_by_user_id": "<string>"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.