For the complete documentation index, see llms.txt. This page is also available as Markdown.

getAlertsPreventedWeekly

Get blocked alerts (malicious dependencies, MCP calls, secrets in prompts, flagged skills), grouped by week.

Examples

query GetAlertsPreventedWeekly($input: ActiveUsersWeeklyInput) {
  getAlertsPreventedWeekly(input: $input) {
    week
    maliciousDependencyCount
    blockedMcpCount
    secretInPromptCount
    flaggedSkillCount
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "input": {
    "dateRange": {
      "from": 1749000000000,
      "to": 1749900000000
    }
  }
}
curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
 "query": "query GetAlertsPreventedWeekly($input: ActiveUsersWeeklyInput) { getAlertsPreventedWeekly(input: $input) { week maliciousDependencyCount blockedMcpCount secretInPromptCount flaggedSkillCount } }",
 "variables": {
    "input": {
      "dateRange": {
        "from": 1749000000000,
        "to": 1749900000000
      }
    }
  }
}'

Arguments

You can use the following argument(s) to customize your getAlertsPreventedWeekly query.

Argument
Description
Supported fields

Optional date range filter

Fields

Return type: [VibeSecAlertsPreventedWeeklyItem!]!

You can use the following field(s) to specify what information your getAlertsPreventedWeekly query will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

week String!

ISO date of the week start (Sunday)

maliciousDependencyCount Int!

Number of blocked malicious dependency installs in the week

blockedMcpCount Int!

Number of blocked MCP tool calls in the week

secretInPromptCount Int!

Number of prompts blocked for carrying a secret in the week

flaggedSkillCount Int!

Number of skill scans the scanner rated Dangerous or Borderline in the week

Last updated