Agentic notification routes (GraphQL)

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

[AgenticNotificationRoute!]

Example

query AgenticNotificationRoutes {
  agenticNotificationRoutes {
    createdTime
    updatedTime
    uuid
    enabled
    id
    findingTypes
    priorities
  }
}

Related types

AgenticNotificationRoute

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

ArgumentTypeDescription
audienceUuids[UUID!]!Audiences to dispatch to. Must be non-empty.
enabledBooleanWhen 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.
routeUuidUUIDUUID 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

CreateOrUpdateAgenticNotificationRoute

Object 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.

FieldTypeDescription
routeAgenticNotificationRoute!

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

ArgumentTypeDescription
routeUuidUUID!

Returns

DeleteAgenticNotificationRoute

Example

mutation DeleteAgenticNotificationRoute($routeUuid: UUID!) {
  deleteAgenticNotificationRoute(routeUuid: $routeUuid) {
    ok
  }
}

Types used only by deleteAgenticNotificationRoute

DeleteAgenticNotificationRoute

Object type. Delete an Agentic notification route.

FieldTypeDescription
okBoolean!

Related types

UUID

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.