Related queries and mutations in AI features. Each has its own section.
Queries
agenticNotificationRoutes (query)
agenticNotificationRoutes is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List all Agentic notification routes for the caller's account, ordered by most recently created first.
Returns
Example
query AgenticNotificationRoutes {
agenticNotificationRoutes {
createdTime
updatedTime
uuid
enabled
id
findingTypes
priorities
}
}Related types
Mutations
createOrUpdateAgenticNotificationRoute (mutation)
createOrUpdateAgenticNotificationRoute is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Create or replace an Agentic notification route. Pass routeUuid to update an existing route (full-replace: all fields, including the audience set, are rewritten from this call's arguments); omit it to create a new one.
Arguments
| Argument | Type | Description |
|---|---|---|
audienceUuids | [UUID!]! | Audiences to dispatch to. Must be non-empty. |
enabled | Boolean | When false, the route is skipped at dispatch time. Default: true. |
findingTypes | [AgenticFindingType!] | Finding types this route matches. Null or empty means match all finding types. |
priorities | [AgenticFindingPriority!] | Priorities this route matches. Null or empty means match all priorities. |
routeUuid | UUID | UUID of an existing route to replace. When omitted, a new route is created. |
Returns
CreateOrUpdateAgenticNotificationRoute
Example
mutation CreateOrUpdateAgenticNotificationRoute($audienceUuids: [UUID!]!) {
createOrUpdateAgenticNotificationRoute(audienceUuids: $audienceUuids) {
route {
createdTime
updatedTime
uuid
enabled
id
findingTypes
priorities
}
}
}Types used only by createOrUpdateAgenticNotificationRoute
createOrUpdateAgenticNotificationRouteCreateOrUpdateAgenticNotificationRoute
CreateOrUpdateAgenticNotificationRouteObject type. Create or replace an Agentic notification route.
Pass routeUuid to update an existing route; omit it to create a new one.
Update mode is full-replace (PUT-like): every field on the route is
rewritten from this call's arguments — including the audience set, which
is replaced wholesale by audienceUuids. Pass UUIDs in; the response
surfaces the full audience objects via the audiences field on the
returned route.
| Field | Type | Description |
|---|---|---|
route | AgenticNotificationRoute! |
Related types
AgenticFindingPriority, AgenticFindingType, AgenticNotificationRoute, UUID
deleteAgenticNotificationRoute (mutation)
deleteAgenticNotificationRoute is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Delete an Agentic notification route.
Arguments
| Argument | Type | Description |
|---|---|---|
routeUuid | UUID! |
Returns
DeleteAgenticNotificationRoute
Example
mutation DeleteAgenticNotificationRoute($routeUuid: UUID!) {
deleteAgenticNotificationRoute(routeUuid: $routeUuid) {
ok
}
}Types used only by deleteAgenticNotificationRoute
deleteAgenticNotificationRouteDeleteAgenticNotificationRoute
DeleteAgenticNotificationRouteObject type. Delete an Agentic notification route.
| Field | Type | Description |
|---|---|---|
ok | Boolean! |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
