Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Get trace thread stats

GET/v1/private/traces/threads/statsGet trace thread stats

Get trace thread stats

Parameters

project_idstring · uuidquery
project_namestringquery
filtersstringquery
searchstringquery

Full-text search across thread fields

from_timestring · date-timequery

Filter trace threads created from this time (ISO-8601 format).

to_timestring · date-timequery

Filter trace threads created up to this time (ISO-8601 format). If not provided, defaults to current time. Must be after 'from_time'.

Responses

200Trace thread stats resourceapplication/json
objectProjectStats_Public
statsarray of object
Show child attributes
Show array items
namestring
typestring

one of "COUNT", "PERCENTAGE", "AVG"

Example response
{
  "stats": [
    {
      "name": "string",
      "type": "AVG"
    }
  ]
}
Documentation menu