GET
/
v5
/
spans
curl --request GET \
  --url https://api.egp.scale.com/v5/spans \
  --header 'x-api-key: <api-key>'
{
  "object": "list",
  "items": [
    {
      "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>"
    }
  ],
  "limit": 100,
  "total": 123,
  "has_more": true
}

Authorizations

x-api-key
string
header
required

Query Parameters

starting_after
string | null
ending_before
string | null
limit
integer
default:100
Required range: 1 <= x <= 1000
trace_id
string | null
parents_only
boolean | null
from_ts
integer

The starting (oldest) timestamp window in seconds.

Required range: x >= 1
to_ts
integer

The ending (most recent) timestamp in seconds.

Required range: x >= 1

Response

200
application/json
Successful Response

The response is of type object.