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

preventedRiskWriteEditById

Fetch a single persisted Prevented-Risk WriteEdit activity by id.

Examples

query PreventedRiskWriteEditById($input: RisksPreventedByIdInput!) {
  preventedRiskWriteEditById(input: $input) {
    id
    createdAt
    activityType
    oxAction
    userEmail
    userRole
    source
    appName
    threadId
    filePath
    model
    appliedGuidelines {
      name
      lineNumber
    }
    hoursSaved
  }
}

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 preventedRiskWriteEditById query.

Argument
Description
Supported fields

id ID!

Fields

Return type: WriteEditAgentActivity

You can use the following field(s) to specify what information your preventedRiskWriteEditById 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

filePath String!

Path of the file the agent wrote or edited

model String

AI model that produced the change

appliedGuidelines [AppliedGuidelineLocation!]

OX guidelines applied to this change, with their locations in the file

name String! lineNumber Int!

hoursSaved Float

Estimated engineering hours saved, derived from the applied guideline

Last updated