v1

latestOpenAPI 3.1.02026-07-26231646860.9 KB
trace

Count Spans

post/v2/projects/{project_id}/spans/count

Path parameters

project_idstring uuid4 required

Request body

log_stream_idstring uuid4 nullable

Log stream id associated with the traces.

experiment_idstring uuid4 nullable

Experiment id associated with the traces.

metrics_testing_idstring uuid4 nullable

Metrics testing id associated with the traces.

Example request

{
  "filters": [
    {
      "case_sensitive": true,
      "name": "input",
      "operator": "eq",
      "type": "text",
      "value": "example input"
    }
  ],
  "log_stream_id": "74aec44e-ec21-4c9f-a3e2-b2ab2b81b4db"
}

Response

Successful Response

total_countinteger required

Total number of records matching the query