preventedRisksFiltersLazy
Get distinct filter values (activityType, source, user) over the persisted Risks Prevented dataset, with cross-filter behavior.
Examples
query PreventedRisksFiltersLazy($input: RisksPreventedFiltersLazyInput!) {
preventedRisksFiltersLazy(input: $input) {
type
items {
id
filterId
label
count
percent
changeNumber
}
}
}Variables
This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.
{
"input": {
"openItems": ["ActivityType"],
"filters": {
"activityType": ["Prompt"],
"oxAction": ["NoGuidelinesNeeded"],
"user": ["developer@example.com"],
"source": ["Cursor"],
"from": "example",
"to": "example"
},
"filterSearch": [
{
"fieldName": "ActivityType",
"value": "cursor"
}
]
}
}Arguments
You can use the following argument(s) to customize your preventedRisksFiltersLazy query.
input RisksPreventedFiltersLazyInput! required
openItems [AgentActivityFilterField!]!
filters RisksPreventedFilter
filterSearch [RisksPreventedFilterSearchInput!]
Fields
Return type: [RisksPreventedFilterGroup!]!
You can use the following field(s) to specify what information your preventedRisksFiltersLazy query will return. Please note that some fields may have their own subfields.
type String!
Filter field name
Distinct filter values available for this field
id String!
filterId String!
label String!
count Int!
percent Int!
changeNumber Int
Last updated