trace

This endpoint may return a slightly inaccurate count due to the way records are filtered before deduplication.

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

Request

  • Base URL
    https://api.galileo.ai
  • URL
    https://api.galileo.ai/v2/projects/{project_id}/traces/count
  • Auth
    • API key in header Splunk-AO-API-Key
    • or API key in header Galileo-API-Key
    • or OAuth 2
      Password
      Token URL: https://api.galileo.ai/login
    • or HTTP basic

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

Changes