Create GenAI Filter
Create a new GenAI filter. The definition is parsed at create time and rejected with a 400 if it is malformed, doesn’t evaluate to true or false for each span, or is an expression Fiddler can’t apply as a span filter. The existence of referenced entities (for example, attributes or evaluators) is not validated at creation time. Filters can’t be edited after creation. To change one, create a new filter and point charts at it before deleting the old one. Creating a filter requires the create permission for Agentic Custom Metrics and Saved Filters in Role-based access. A global filter (project_id null) needs it from your organization role. A project-scoped filter needs a role on that project, and either that project role or your organization role must grant create; an organization role alone is not enough, except for Org Admins when Org Admin access to all projects is turned on. Returns 404 if project_id doesn’t match a project in your organization. Returns 409 if the name is taken: a global filter’s name must be unique across the organization, and a project-scoped filter can’t reuse the name of a global filter or of another filter on the same project. Returns 404 if saved filters are not enabled on your Fiddler deployment.
Authorizations
Body
FQL filter definition: a boolean expression each span must match. See Custom and Saved Filters for GenAI Charts for the attribute(), span(), evaluator() and annotation() functions.
1 - 8192"evaluator(name='Safety', output='Is Toxic') == true"