definition
Query available filter definitions for observability
Returns the full list of available filter definitions that can be applied to observability queries, including their operators, types, and value constraints.
get/environments/{envId}/observability/filters/definition
Path parameters
envIdstring required
The unique ID of your environment
Response
The response contains a list of all available filter definitions for observability features, including their supported operators, types, and optional enum values or ranges.
Example response
{
"data": [
{
"name": "API",
"label": "API",
"type": "KEYWORD",
"operators": [
"EQ",
"IN"
]
},
{
"name": "HTTP_METHOD",
"label": "HTTP Method",
"type": "ENUM",
"operators": [
"EQ",
"IN"
],
"enumValues": [
"GET",
"POST",
"PUT"
]
},
{
"name": "HTTP_STATUS",
"label": "Status Code",
"type": "NUMBER",
"operators": [
"EQ",
"LTE",
"GTE"
],
"range": {
"min": 100,
"max": 600
}
}
]
}