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

secretScanAgentActivity

Fetch a single SecretScan activity by id.

Examples

query SecretScanAgentActivity($input: AgentActivityByIdInput!) {
  secretScanAgentActivity(input: $input) {
    id
    createdAt
    activityType
    oxAction
    userEmail
    userRole
    source
    appName
    threadId
    promptSizeBytes
    model
    secretRuleIds
    maskedSecrets
    secretTypeLabels
    blockedSecretCount
  }
}

Variables

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

Arguments

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

Argument
Description
Supported fields

id ID!

Fields

Return type: SecretScanAgentActivity

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

Field
Description
Supported fields

id ID!

Unique identifier of the activity record

createdAt DateTime

When the activity was recorded

activityType AgentActivityType!

Kind of agent activity this record represents

oxAction OxAction!

Action OX took on this activity

userEmail String

Email address of the developer who triggered the activity

userRole String

Role of the developer who triggered the activity

Coding agent the activity originated from

appName String

Application the activity was attributed to

threadId String

Identifier of the agent conversation the activity belongs to

promptSizeBytes Int

Size of the scanned prompt, in bytes

model String

AI model the prompt was addressed to

secretRuleIds [String!]

Identifiers of the secret-detection rules that matched

maskedSecrets [String!]

Matched credentials, already masked by the hook

secretTypeLabels [String!]

Human-readable names of the secret types that matched (e.g. "AWS Access Token"), derived from secretRuleIds. Never derived from the credential itself

blockedSecretCount Int

How many secret matches the hook reported (capped at 10 by the hook)

Last updated