Search
Create AI Filter
Translate natural language into a structured filter context.
POST
Create AI Filter
Translate natural language into a structured filter for breach, victims, or docs search.
The returned
This endpoint returns raw JSON with
filter_id and filter. Use filter_id to refine or reuse the generated context.filter object follows the same grammar documented in Structured Filters.Authorizations
API key for authentication (lowercase header name)
Body
application/json
Response
200 - application/json
Raw AI filter creation response
24-character transient filter context ID.
Pattern:
^[0-9a-fA-F]{24}$Example:
"0123456789abcdef01234567"
Recursive structured filter tree.
Constraints:
- maximum nesting depth: 2
- maximum leaf conditions: 50
- each node should use exactly one of
field,and, oror
- Option 1
- Option 2
- Option 3
Example:
{
"field": "country",
"operator": "eq",
"value": "us"
}Create AI Filter