Validate Observation Search
GET {{cb_url}}/api/investigate/v2/orgs/{{cb_org_key}}/observations/search_validation?q=:&cb.min_backend_timestamp=1641469642000&cb.max_backend_timestamp=1678103242000
Returns the validation status of a given observations query and potentially gives validation on how to fix invalid queries.
RBAC Permissions Required
Permission (.notation name) | Operation(s) |
---|---|
org.search.events | READ, CREATE |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
q | string | The query to validate | |
cb.min_backend_timestamp | number | The start time for the query - unix timestamp in milliseconds | |
cb.max_backend_timestamp | number | The end time for the query - unix timestamp in milliseconds |
RESPONSES
status: OK
{"valid":true,"value_search_query":false}