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

preventedRisks

List persisted risk-mitigated agent activities (guidelines provided/applied, tool calls blocked) for the calling org, newest first, with total count. Powers the VibeSec Risks Prevented page and survives beyond the 7-day Agent Activity Log TTL.

Examples

query PreventedRisks($input: RisksPreventedInput!) {
  preventedRisks(input: $input) {
    items
    total
  }
}

Variables

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

{
  "input": {
    "limit": 100,
    "offset": 0,
    "filter": {
      "activityType": ["Prompt"],
      "oxAction": ["NoGuidelinesNeeded"],
      "user": ["developer@example.com"],
      "source": ["Cursor"],
      "from": "example",
      "to": "example"
    }
  }
}

Arguments

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

Argument
Description
Supported fields

input RisksPreventedInput! required

limit Int offset Int filter RisksPreventedFilter

Fields

Return type: RisksPreventedResponse!

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

Field
Description
Supported fields

List of prevented risks matching the query criteria

id ID! updatedAt DateTime! activityType AgentActivityType! activityLabel String! oxAction OxAction! oxActionLabel String! userEmail String userRole String source VibeCodeSource! sessionId String hostId String machineId String

total Int!

Total number of prevented risks matching the query criteria

Last updated