cURL
curl --request POST \ --url https://api.egp.scale.com/v5/spans/search \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "parents_only": true, "span_ids": [ "<string>" ], "trace_ids": [ "<string>" ], "excluded_span_ids": [ "<string>" ], "excluded_trace_ids": [ "<string>" ], "span_id": "<string>", "trace_id": "<string>", "group_id": "<string>", "names": [ "<string>" ], "statuses": [ "SUCCESS" ], "types": [ "TEXT_INPUT" ], "search_texts": [ "<string>" ], "extra_metadata": {} }'
{ "object": "list", "items": [ { "id": "<string>", "object": "span", "created_by": { "id": "<string>", "object": "identity", "type": "user" }, "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>" } ], "limit": 100, "total": 123, "has_more": true }
1 <= x <= 1000
asc
desc
The starting (oldest) timestamp in ISO format.
The ending (most recent) timestamp in ISO format.
Successful Response
The response is of type object.
object