Skip to main content
GET
/
traces
/
filter-schema
Get Trace Filter Schema
curl --request GET \
  --url https://api.example.com/traces/filter-schema \
  --header 'Authorization: Bearer <token>'
{
  "fields": [
    {
      "key": "<string>",
      "label": "<string>",
      "type": "<string>",
      "operators": [
        "<string>"
      ],
      "values": [
        "<string>"
      ]
    }
  ],
  "logical_operators": [
    "AND",
    "OR"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful Response

Response for the filter schema endpoint. Tells the FE what fields, operators, and values are available.

fields
FilterFieldSchema · object[]
required

Available filterable fields

logical_operators
string[]

Logical operators for combining filter clauses