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

Campaigns, runs and events

A campaign selects a set of findings and gives Manager a goal and a time window to work through them. This page covers creating and editing campaigns, reading what they matched, following their runs, and reading or cleaning up the events Manager records. Proposed campaigns are decided on Proposals, runs and state.

Every operation takes the tenant's provider scope as query parameters, such as githubOwnerId. Page parameters are page and pageSize unless the operation says otherwise; see Pagination.

Campaigns

List campaigns

Returns campaigns with full details, with page and pageSize. For a lighter payload use List campaign previews.

List Campaigns

get

Returns a list of campaigns containing full campaign details.

Query parameters
pageintegerOptional
pageSizeintegerOptional
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
numItemsintegerRequired
versionstringRequired
get/manager/campaigns
GET /manager/campaigns HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "campaigns": [
    {
      "createdAt": "2026-01-01T00:00:00.000Z",
      "description": "text",
      "endDate": "2026-01-01T00:00:00.000Z",
      "events": [
        {
          "actionType": "text",
          "campaignIds": [
            "text"
          ],
          "createdAt": "text",
          "description": "text",
          "findingIds": [
            "text"
          ],
          "id": "text",
          "metaData": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "pullRequestIds": [
            "text"
          ],
          "reasoning": "text",
          "repositoryIds": [
            "text"
          ],
          "status": "text",
          "threatInvestigationIds": [
            "text"
          ],
          "ticketIds": [
            "text"
          ],
          "userIds": [
            "text"
          ]
        }
      ],
      "generated": true,
      "generatedReasoning": "text",
      "grounding": {
        "evaluatedAt": "2026-01-01T00:00:00.000Z",
        "goalKey": "text",
        "strategyId": "text"
      },
      "id": "text",
      "isActive": true,
      "lifecycle": "DRAFT",
      "metrics": {
        "backlogSearches": 1,
        "escalatedFindings": 1,
        "escalations": 1,
        "findingsAnalysis": {
          "autofixTimeTotal": 1,
          "detectionTimeTotal": 1,
          "estimatedBacklogStoryPoints": 1,
          "findingsAllowlistedCount": 1,
          "findingsCount": 1,
          "findingsFixPendingVerificationCount": 1,
          "findingsFixedCount": 1,
          "findingsInBacklogCount": 1,
          "findingsInProgressCount": 1,
          "findingsNoLongerDetectedCount": 1,
          "findingsResolvedCount": 1,
          "findingsWithOpenAutoFixPRCount": 1,
          "findingsWithOpenTicketCount": 1,
          "fixedTimeToResolve": {
            "meanMs": 1,
            "medianMs": 1,
            "sample": 1
          },
          "funnel": {
            "aging": {
              "cachedNoPr": {
                "count": 1,
                "oldestMs": 1,
                "p50Ms": 1,
                "p90Ms": 1
              },
              "prOpenReviewedUnmerged": {
                "count": 1,
                "oldestMs": 1,
                "p50Ms": 1,
                "p90Ms": 1
              },
              "prOpenUnreviewed": {
                "count": 1,
                "oldestMs": 1,
                "p50Ms": 1,
                "p90Ms": 1
              }
            },
            "fixSourceBreakdown": {
              "ANY_ADDITIONAL_PROPERTY": 1
            },
            "stages": {
              "cachedNoPr": 1,
              "detected": 1,
              "prMerged": 1,
              "prOpenReviewed": 1,
              "prOpenUnreviewed": 1,
              "triaged": 1,
              "verifiedFixed": 1
            },
            "version": 1
          },
          "meanTimeToAutofix": 1,
          "meanTimeToDetectAndTriage": 1,
          "meanTimeToMerge": 1,
          "meanTimeToPullRequestCreation": 1,
          "meanTimeToReview": 1,
          "meanTimeToTriage": 1,
          "medianTimeToAutofix": 1,
          "medianTimeToDetectAndTriage": 1,
          "medianTimeToMerge": 1,
          "medianTimeToPullRequestCreation": 1,
          "medianTimeToReview": 1,
          "medianTimeToTriage": 1,
          "stageSamples": {
            "autofix": 1,
            "detectAndTriage": 1,
            "detectAndTriageAfterOutliers": 1,
            "merge": 1,
            "mergeAfterOutliers": 1,
            "pullRequestCreation": 1,
            "pullRequestCreationAfterOutliers": 1,
            "review": 1,
            "reviewAfterOutliers": 1,
            "triage": 1
          },
          "triageTimeTotal": 1
        },
        "internetSearchCount": 1,
        "messageCount": 1,
        "plansGenerated": 1,
        "prCloseCount": 1,
        "prCommentCount": 1,
        "prCreateCount": 1,
        "prMergedCount": 1,
        "previewMessageCount": 1,
        "storyPointsConsumed": 1,
        "tasksAssigned": 1,
        "ticketCloseCount": 1,
        "ticketCommentCount": 1,
        "ticketCreateCount": 1,
        "ticketsResolvedCount": 1,
        "timeSavedAssigning": 1
      },
      "noEndDate": true,
      "owner": "text",
      "selectionCriteria": {
        "createdAfter": "2026-01-01T00:00:00.000Z",
        "createdBefore": "2026-01-01T00:00:00.000Z",
        "exploitValidated": true,
        "findingIds": [
          "text"
        ],
        "limitPerType": 1,
        "maxStoryPoints": 1,
        "minPriority": 1,
        "prBudgetPerWeek": 1,
        "priorityLabels": [
          "URGENT"
        ],
        "repositoryIds": [
          "text"
        ],
        "severityConfidence": [
          "text"
        ],
        "sortByColumns": "text",
        "sortByDirection": "text",
        "teamIDs": [
          "text"
        ],
        "types": [
          "Unknown"
        ],
        "userNames": [
          "text"
        ],
        "vulnerabilityCVEIds": [
          "text"
        ],
        "vulnerabilityCWEIds": [
          "text"
        ]
      },
      "startDate": "2026-01-01T00:00:00.000Z",
      "status": "text",
      "summary": "text",
      "title": "text",
      "updatedAt": "2026-01-01T00:00:00.000Z"
    }
  ],
  "numItems": 1,
  "version": "text"
}

Create a campaign

Registers a campaign. The body selects findings by explicit findingIds, by filters (types, priorityLabels, repositoryNames, teamIDs, vulnerabilityCVEIds, createdAfter and others), or both, and sets the title, description, owner, dates and limits such as prBudgetPerWeek. Check the embed for every field.

The campaign is created directly by the caller. It is not a proposal and does not wait for a decision. Before it is stored, the scope is evaluated against your findings: invalid input returns 400, an explicit finding id that is not eligible for Manager campaigns returns 400 and names the ids, and a failed scope query returns an error rather than a campaign that silently matches nothing. The response includes mappedFindingCount. A value of 0 means the campaign was stored but its criteria currently select no findings, so it will act on nothing until findings match. Requires finding write access.

Post Campaign

post

Register a new campaign

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
createdAfterstring · date-time · nullableOptional
createdBeforestring · date-time · nullableOptional
descriptionstring · nullableOptional
endDatestring · date-time · nullableOptional
exploitValidatedboolean · nullableOptional
findingIdsstring[]Optional
generatedReasoningstring · nullableOptional
isActiveboolean · nullableOptional
limitPerTypeinteger · nullableOptional
maxStoryPointsinteger · nullableOptional
minPrioritynumber · nullableOptional
noEndDateboolean · nullableOptional
ownerstring · nullableOptional
prBudgetPerWeekinteger · nullableOptional
priorityLabelsstring[]Optional
repositoryIdsstring[]Optional
severityConfidencestring[]Optional
sortByColumnsstring · nullableOptional
sortByDirectionstring · nullableOptional
startDatestring · date-time · nullableOptional
summarystring · nullableOptional
teamIDsstring[]Optional
titlestring · nullableOptional
typesstring[]Optional
userNamesstring[]Optional
vulnerabilityCVEIdsstring[]Optional
vulnerabilityCWEIdsstring[]Optional
Responses
200

OK

application/json
campaignIdstringRequired
mappedFindingCountintegerRequired
versionstringRequired
post/manager/campaigns
POST /manager/campaigns HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 657

{
  "createdAfter": "2026-01-01T00:00:00.000Z",
  "createdBefore": "2026-01-01T00:00:00.000Z",
  "description": "text",
  "endDate": "2026-01-01T00:00:00.000Z",
  "exploitValidated": true,
  "findingIds": [
    "text"
  ],
  "generatedReasoning": "text",
  "isActive": true,
  "limitPerType": 1,
  "maxStoryPoints": 1,
  "minPriority": 1,
  "noEndDate": true,
  "owner": "text",
  "prBudgetPerWeek": 1,
  "priorityLabels": [
    "text"
  ],
  "repositoryIds": [
    "text"
  ],
  "severityConfidence": [
    "text"
  ],
  "sortByColumns": "text",
  "sortByDirection": "text",
  "startDate": "2026-01-01T00:00:00.000Z",
  "summary": "text",
  "teamIDs": [
    "text"
  ],
  "title": "text",
  "types": [
    "text"
  ],
  "userNames": [
    "text"
  ],
  "vulnerabilityCVEIds": [
    "text"
  ],
  "vulnerabilityCWEIds": [
    "text"
  ]
}
{
  "campaign": {
    "createdAt": "2026-01-01T00:00:00.000Z",
    "description": "text",
    "endDate": "2026-01-01T00:00:00.000Z",
    "events": [
      {
        "actionType": "text",
        "campaignIds": [
          "text"
        ],
        "createdAt": "text",
        "description": "text",
        "findingIds": [
          "text"
        ],
        "id": "text",
        "metaData": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "pullRequestIds": [
          "text"
        ],
        "reasoning": "text",
        "repositoryIds": [
          "text"
        ],
        "status": "text",
        "threatInvestigationIds": [
          "text"
        ],
        "ticketIds": [
          "text"
        ],
        "userIds": [
          "text"
        ]
      }
    ],
    "generated": true,
    "generatedReasoning": "text",
    "grounding": {
      "evaluatedAt": "2026-01-01T00:00:00.000Z",
      "goalKey": "text",
      "strategyId": "text"
    },
    "id": "text",
    "isActive": true,
    "lifecycle": "DRAFT",
    "metrics": {
      "backlogSearches": 1,
      "escalatedFindings": 1,
      "escalations": 1,
      "findingsAnalysis": {
        "autofixTimeTotal": 1,
        "detectionTimeTotal": 1,
        "estimatedBacklogStoryPoints": 1,
        "findingsAllowlistedCount": 1,
        "findingsCount": 1,
        "findingsFixPendingVerificationCount": 1,
        "findingsFixedCount": 1,
        "findingsInBacklogCount": 1,
        "findingsInProgressCount": 1,
        "findingsNoLongerDetectedCount": 1,
        "findingsResolvedCount": 1,
        "findingsWithOpenAutoFixPRCount": 1,
        "findingsWithOpenTicketCount": 1,
        "fixedTimeToResolve": {
          "meanMs": 1,
          "medianMs": 1,
          "sample": 1
        },
        "funnel": {
          "aging": {
            "cachedNoPr": {
              "count": 1,
              "oldestMs": 1,
              "p50Ms": 1,
              "p90Ms": 1
            },
            "prOpenReviewedUnmerged": {
              "count": 1,
              "oldestMs": 1,
              "p50Ms": 1,
              "p90Ms": 1
            },
            "prOpenUnreviewed": {
              "count": 1,
              "oldestMs": 1,
              "p50Ms": 1,
              "p90Ms": 1
            }
          },
          "fixSourceBreakdown": {
            "ANY_ADDITIONAL_PROPERTY": 1
          },
          "stages": {
            "cachedNoPr": 1,
            "detected": 1,
            "prMerged": 1,
            "prOpenReviewed": 1,
            "prOpenUnreviewed": 1,
            "triaged": 1,
            "verifiedFixed": 1
          },
          "version": 1
        },
        "meanTimeToAutofix": 1,
        "meanTimeToDetectAndTriage": 1,
        "meanTimeToMerge": 1,
        "meanTimeToPullRequestCreation": 1,
        "meanTimeToReview": 1,
        "meanTimeToTriage": 1,
        "medianTimeToAutofix": 1,
        "medianTimeToDetectAndTriage": 1,
        "medianTimeToMerge": 1,
        "medianTimeToPullRequestCreation": 1,
        "medianTimeToReview": 1,
        "medianTimeToTriage": 1,
        "stageSamples": {
          "autofix": 1,
          "detectAndTriage": 1,
          "detectAndTriageAfterOutliers": 1,
          "merge": 1,
          "mergeAfterOutliers": 1,
          "pullRequestCreation": 1,
          "pullRequestCreationAfterOutliers": 1,
          "review": 1,
          "reviewAfterOutliers": 1,
          "triage": 1
        },
        "triageTimeTotal": 1
      },
      "internetSearchCount": 1,
      "messageCount": 1,
      "plansGenerated": 1,
      "prCloseCount": 1,
      "prCommentCount": 1,
      "prCreateCount": 1,
      "prMergedCount": 1,
      "previewMessageCount": 1,
      "storyPointsConsumed": 1,
      "tasksAssigned": 1,
      "ticketCloseCount": 1,
      "ticketCommentCount": 1,
      "ticketCreateCount": 1,
      "ticketsResolvedCount": 1,
      "timeSavedAssigning": 1
    },
    "noEndDate": true,
    "owner": "text",
    "selectionCriteria": {
      "createdAfter": "2026-01-01T00:00:00.000Z",
      "createdBefore": "2026-01-01T00:00:00.000Z",
      "exploitValidated": true,
      "findingIds": [
        "text"
      ],
      "limitPerType": 1,
      "maxStoryPoints": 1,
      "minPriority": 1,
      "prBudgetPerWeek": 1,
      "priorityLabels": [
        "URGENT"
      ],
      "repositoryIds": [
        "text"
      ],
      "severityConfidence": [
        "text"
      ],
      "sortByColumns": "text",
      "sortByDirection": "text",
      "teamIDs": [
        "text"
      ],
      "types": [
        "Unknown"
      ],
      "userNames": [
        "text"
      ],
      "vulnerabilityCVEIds": [
        "text"
      ],
      "vulnerabilityCWEIds": [
        "text"
      ]
    },
    "startDate": "2026-01-01T00:00:00.000Z",
    "status": "text",
    "summary": "text",
    "title": "text",
    "updatedAt": "2026-01-01T00:00:00.000Z"
  },
  "campaignId": "text",
  "mappedFindingCount": 1,
  "version": "text"
}

Get a campaign

Returns one campaign with its mapped finding ids and finding progress, plus a touch ledger that accounts for the campaign's autofix pull requests where available. Returns 404 for an id that does not exist for the tenant.

Get Campaign by ID

get

Returns a campaign

Path parameters
campaignIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
mappedFindingIdsstring[] · nullableRequired
versionstringRequired
get/manager/campaigns/{campaignId}
GET /manager/campaigns/{campaignId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "campaign": {
    "createdAt": "2026-01-01T00:00:00.000Z",
    "description": "text",
    "endDate": "2026-01-01T00:00:00.000Z",
    "events": [
      {
        "actionType": "text",
        "campaignIds": [
          "text"
        ],
        "createdAt": "text",
        "description": "text",
        "findingIds": [
          "text"
        ],
        "id": "text",
        "metaData": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "pullRequestIds": [
          "text"
        ],
        "reasoning": "text",
        "repositoryIds": [
          "text"
        ],
        "status": "text",
        "threatInvestigationIds": [
          "text"
        ],
        "ticketIds": [
          "text"
        ],
        "userIds": [
          "text"
        ]
      }
    ],
    "generated": true,
    "generatedReasoning": "text",
    "grounding": {
      "evaluatedAt": "2026-01-01T00:00:00.000Z",
      "goalKey": "text",
      "strategyId": "text"
    },
    "id": "text",
    "isActive": true,
    "lifecycle": "DRAFT",
    "metrics": {
      "backlogSearches": 1,
      "escalatedFindings": 1,
      "escalations": 1,
      "findingsAnalysis": {
        "autofixTimeTotal": 1,
        "detectionTimeTotal": 1,
        "estimatedBacklogStoryPoints": 1,
        "findingsAllowlistedCount": 1,
        "findingsCount": 1,
        "findingsFixPendingVerificationCount": 1,
        "findingsFixedCount": 1,
        "findingsInBacklogCount": 1,
        "findingsInProgressCount": 1,
        "findingsNoLongerDetectedCount": 1,
        "findingsResolvedCount": 1,
        "findingsWithOpenAutoFixPRCount": 1,
        "findingsWithOpenTicketCount": 1,
        "fixedTimeToResolve": {
          "meanMs": 1,
          "medianMs": 1,
          "sample": 1
        },
        "funnel": {
          "aging": {
            "cachedNoPr": {
              "count": 1,
              "oldestMs": 1,
              "p50Ms": 1,
              "p90Ms": 1
            },
            "prOpenReviewedUnmerged": {
              "count": 1,
              "oldestMs": 1,
              "p50Ms": 1,
              "p90Ms": 1
            },
            "prOpenUnreviewed": {
              "count": 1,
              "oldestMs": 1,
              "p50Ms": 1,
              "p90Ms": 1
            }
          },
          "fixSourceBreakdown": {
            "ANY_ADDITIONAL_PROPERTY": 1
          },
          "stages": {
            "cachedNoPr": 1,
            "detected": 1,
            "prMerged": 1,
            "prOpenReviewed": 1,
            "prOpenUnreviewed": 1,
            "triaged": 1,
            "verifiedFixed": 1
          },
          "version": 1
        },
        "meanTimeToAutofix": 1,
        "meanTimeToDetectAndTriage": 1,
        "meanTimeToMerge": 1,
        "meanTimeToPullRequestCreation": 1,
        "meanTimeToReview": 1,
        "meanTimeToTriage": 1,
        "medianTimeToAutofix": 1,
        "medianTimeToDetectAndTriage": 1,
        "medianTimeToMerge": 1,
        "medianTimeToPullRequestCreation": 1,
        "medianTimeToReview": 1,
        "medianTimeToTriage": 1,
        "stageSamples": {
          "autofix": 1,
          "detectAndTriage": 1,
          "detectAndTriageAfterOutliers": 1,
          "merge": 1,
          "mergeAfterOutliers": 1,
          "pullRequestCreation": 1,
          "pullRequestCreationAfterOutliers": 1,
          "review": 1,
          "reviewAfterOutliers": 1,
          "triage": 1
        },
        "triageTimeTotal": 1
      },
      "internetSearchCount": 1,
      "messageCount": 1,
      "plansGenerated": 1,
      "prCloseCount": 1,
      "prCommentCount": 1,
      "prCreateCount": 1,
      "prMergedCount": 1,
      "previewMessageCount": 1,
      "storyPointsConsumed": 1,
      "tasksAssigned": 1,
      "ticketCloseCount": 1,
      "ticketCommentCount": 1,
      "ticketCreateCount": 1,
      "ticketsResolvedCount": 1,
      "timeSavedAssigning": 1
    },
    "noEndDate": true,
    "owner": "text",
    "selectionCriteria": {
      "createdAfter": "2026-01-01T00:00:00.000Z",
      "createdBefore": "2026-01-01T00:00:00.000Z",
      "exploitValidated": true,
      "findingIds": [
        "text"
      ],
      "limitPerType": 1,
      "maxStoryPoints": 1,
      "minPriority": 1,
      "prBudgetPerWeek": 1,
      "priorityLabels": [
        "URGENT"
      ],
      "repositoryIds": [
        "text"
      ],
      "severityConfidence": [
        "text"
      ],
      "sortByColumns": "text",
      "sortByDirection": "text",
      "teamIDs": [
        "text"
      ],
      "types": [
        "Unknown"
      ],
      "userNames": [
        "text"
      ],
      "vulnerabilityCVEIds": [
        "text"
      ],
      "vulnerabilityCWEIds": [
        "text"
      ]
    },
    "startDate": "2026-01-01T00:00:00.000Z",
    "status": "text",
    "summary": "text",
    "title": "text",
    "updatedAt": "2026-01-01T00:00:00.000Z"
  },
  "mappedFindingIds": [
    "text"
  ],
  "mappedFindings": [
    {
      "autofixDuration": 1,
      "autofixedAt": "2026-01-01T00:00:00.000Z",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "detectionDuration": 1,
      "discoveredAt": "2026-01-01T00:00:00.000Z",
      "findingId": "text",
      "findingType": "Unknown",
      "hasOpenAutoFixPR": true,
      "hasOpenTicket": true,
      "inProgressAt": "2026-01-01T00:00:00.000Z",
      "resolvedAt": "2026-01-01T00:00:00.000Z",
      "status": "BACKLOG",
      "timeSaved": 1,
      "totalRemediationDuration": 1,
      "triageDuration": 1,
      "triagedAt": "2026-01-01T00:00:00.000Z",
      "updatedAt": "2026-01-01T00:00:00.000Z"
    }
  ],
  "touchLedger": {
    "githubCount": 1,
    "glanceCount": 1,
    "handsOnCount": 1,
    "mergedCount": 1,
    "mergedReviewedCount": 1,
    "mergedUnclassifiedCount": 1,
    "rejectedCount": 1,
    "reviewCount": 1,
    "stillOpenCount": 1,
    "totalCount": 1,
    "unresolvedReviewedCount": 1
  },
  "version": "text"
}

Update a campaign

Changes only the fields you send. Empty arrays are treated as "set to empty", not "unchanged", so send only what you mean to change.

  • Changing the scope, or activating a campaign that was inactive, re-evaluates which findings it maps.

  • An update that would leave a previously narrowed campaign with no pinned findings and no filters would widen it to the tenant's entire backlog on the next daily run. It is refused with 400 unless you send confirmWholeBacklog: true.

  • An omitted exploitValidated means unchanged. Send clearExploitValidated: true to remove that filter.

  • prBudgetPerWeek of 0 removes an existing cap.

  • Returns 412 if the campaign's lifecycle state has moved past what the edit assumes, and 404 if it does not exist.

Requires finding write access.

Patch Campaign

patch

Update an existing campaign

Path parameters
campaignIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
clearExploitValidatedbooleanOptional
confirmWholeBacklogbooleanOptional
createdAfterstring · date-time · nullableOptional
createdBeforestring · date-time · nullableOptional
descriptionstring · nullableOptional
endDatestring · date-time · nullableOptional
exploitValidatedboolean · nullableOptional
findingIdsstring[]Optional
generatedReasoningstring · nullableOptional
isActiveboolean · nullableOptional
limitPerTypeinteger · nullableOptional
maxStoryPointsinteger · nullableOptional
minPrioritynumber · nullableOptional
noEndDateboolean · nullableOptional
ownerstring · nullableOptional
prBudgetPerWeekinteger · nullableOptional
priorityLabelsstring[]Optional
repositoryIdsstring[]Optional
severityConfidencestring[]Optional
sortByColumnsstring · nullableOptional
sortByDirectionstring · nullableOptional
startDatestring · date-time · nullableOptional
summarystring · nullableOptional
teamIDsstring[]Optional
titlestring · nullableOptional
typesstring[]Optional
userNamesstring[]Optional
vulnerabilityCVEIdsstring[]Optional
vulnerabilityCWEIdsstring[]Optional
Responses
200

OK

application/json
campaignIdstringRequired
versionstringRequired
patch/manager/campaigns/{campaignId}
PATCH /manager/campaigns/{campaignId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 713

{
  "clearExploitValidated": true,
  "confirmWholeBacklog": true,
  "createdAfter": "2026-01-01T00:00:00.000Z",
  "createdBefore": "2026-01-01T00:00:00.000Z",
  "description": "text",
  "endDate": "2026-01-01T00:00:00.000Z",
  "exploitValidated": true,
  "findingIds": [
    "text"
  ],
  "generatedReasoning": "text",
  "isActive": true,
  "limitPerType": 1,
  "maxStoryPoints": 1,
  "minPriority": 1,
  "noEndDate": true,
  "owner": "text",
  "prBudgetPerWeek": 1,
  "priorityLabels": [
    "text"
  ],
  "repositoryIds": [
    "text"
  ],
  "severityConfidence": [
    "text"
  ],
  "sortByColumns": "text",
  "sortByDirection": "text",
  "startDate": "2026-01-01T00:00:00.000Z",
  "summary": "text",
  "teamIDs": [
    "text"
  ],
  "title": "text",
  "types": [
    "text"
  ],
  "userNames": [
    "text"
  ],
  "vulnerabilityCVEIds": [
    "text"
  ],
  "vulnerabilityCWEIds": [
    "text"
  ]
}
{
  "campaign": {
    "createdAt": "2026-01-01T00:00:00.000Z",
    "description": "text",
    "endDate": "2026-01-01T00:00:00.000Z",
    "events": [
      {
        "actionType": "text",
        "campaignIds": [
          "text"
        ],
        "createdAt": "text",
        "description": "text",
        "findingIds": [
          "text"
        ],
        "id": "text",
        "metaData": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "pullRequestIds": [
          "text"
        ],
        "reasoning": "text",
        "repositoryIds": [
          "text"
        ],
        "status": "text",
        "threatInvestigationIds": [
          "text"
        ],
        "ticketIds": [
          "text"
        ],
        "userIds": [
          "text"
        ]
      }
    ],
    "generated": true,
    "generatedReasoning": "text",
    "grounding": {
      "evaluatedAt": "2026-01-01T00:00:00.000Z",
      "goalKey": "text",
      "strategyId": "text"
    },
    "id": "text",
    "isActive": true,
    "lifecycle": "DRAFT",
    "metrics": {
      "backlogSearches": 1,
      "escalatedFindings": 1,
      "escalations": 1,
      "findingsAnalysis": {
        "autofixTimeTotal": 1,
        "detectionTimeTotal": 1,
        "estimatedBacklogStoryPoints": 1,
        "findingsAllowlistedCount": 1,
        "findingsCount": 1,
        "findingsFixPendingVerificationCount": 1,
        "findingsFixedCount": 1,
        "findingsInBacklogCount": 1,
        "findingsInProgressCount": 1,
        "findingsNoLongerDetectedCount": 1,
        "findingsResolvedCount": 1,
        "findingsWithOpenAutoFixPRCount": 1,
        "findingsWithOpenTicketCount": 1,
        "fixedTimeToResolve": {
          "meanMs": 1,
          "medianMs": 1,
          "sample": 1
        },
        "funnel": {
          "aging": {
            "cachedNoPr": {
              "count": 1,
              "oldestMs": 1,
              "p50Ms": 1,
              "p90Ms": 1
            },
            "prOpenReviewedUnmerged": {
              "count": 1,
              "oldestMs": 1,
              "p50Ms": 1,
              "p90Ms": 1
            },
            "prOpenUnreviewed": {
              "count": 1,
              "oldestMs": 1,
              "p50Ms": 1,
              "p90Ms": 1
            }
          },
          "fixSourceBreakdown": {
            "ANY_ADDITIONAL_PROPERTY": 1
          },
          "stages": {
            "cachedNoPr": 1,
            "detected": 1,
            "prMerged": 1,
            "prOpenReviewed": 1,
            "prOpenUnreviewed": 1,
            "triaged": 1,
            "verifiedFixed": 1
          },
          "version": 1
        },
        "meanTimeToAutofix": 1,
        "meanTimeToDetectAndTriage": 1,
        "meanTimeToMerge": 1,
        "meanTimeToPullRequestCreation": 1,
        "meanTimeToReview": 1,
        "meanTimeToTriage": 1,
        "medianTimeToAutofix": 1,
        "medianTimeToDetectAndTriage": 1,
        "medianTimeToMerge": 1,
        "medianTimeToPullRequestCreation": 1,
        "medianTimeToReview": 1,
        "medianTimeToTriage": 1,
        "stageSamples": {
          "autofix": 1,
          "detectAndTriage": 1,
          "detectAndTriageAfterOutliers": 1,
          "merge": 1,
          "mergeAfterOutliers": 1,
          "pullRequestCreation": 1,
          "pullRequestCreationAfterOutliers": 1,
          "review": 1,
          "reviewAfterOutliers": 1,
          "triage": 1
        },
        "triageTimeTotal": 1
      },
      "internetSearchCount": 1,
      "messageCount": 1,
      "plansGenerated": 1,
      "prCloseCount": 1,
      "prCommentCount": 1,
      "prCreateCount": 1,
      "prMergedCount": 1,
      "previewMessageCount": 1,
      "storyPointsConsumed": 1,
      "tasksAssigned": 1,
      "ticketCloseCount": 1,
      "ticketCommentCount": 1,
      "ticketCreateCount": 1,
      "ticketsResolvedCount": 1,
      "timeSavedAssigning": 1
    },
    "noEndDate": true,
    "owner": "text",
    "selectionCriteria": {
      "createdAfter": "2026-01-01T00:00:00.000Z",
      "createdBefore": "2026-01-01T00:00:00.000Z",
      "exploitValidated": true,
      "findingIds": [
        "text"
      ],
      "limitPerType": 1,
      "maxStoryPoints": 1,
      "minPriority": 1,
      "prBudgetPerWeek": 1,
      "priorityLabels": [
        "URGENT"
      ],
      "repositoryIds": [
        "text"
      ],
      "severityConfidence": [
        "text"
      ],
      "sortByColumns": "text",
      "sortByDirection": "text",
      "teamIDs": [
        "text"
      ],
      "types": [
        "Unknown"
      ],
      "userNames": [
        "text"
      ],
      "vulnerabilityCVEIds": [
        "text"
      ],
      "vulnerabilityCWEIds": [
        "text"
      ]
    },
    "startDate": "2026-01-01T00:00:00.000Z",
    "status": "text",
    "summary": "text",
    "title": "text",
    "updatedAt": "2026-01-01T00:00:00.000Z"
  },
  "campaignId": "text",
  "version": "text"
}

Delete a campaign

Permanently deletes a campaign and its preview. A proposal still open for the campaign is superseded by the delete. The call returns 429 while a singleton Manager run holds the tenant lock, so retry after the run finishes, and 404 for an unknown id. Requires finding write access.

Delete Campaign

delete

Delete a campaign (remove permanently)

Path parameters
campaignIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
204

No Content

No content

delete/manager/campaigns/{campaignId}
DELETE /manager/campaigns/{campaignId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*

No content

Refresh campaign metrics

Despite being a GET, this recomputes and stores the counts and finding progress for the tenant's campaigns. It runs synchronously. By default expired campaigns are excluded; pass includeExpired=true to include them.

A 200 does not mean the counts moved. If a singleton Manager process holds the tenant lock, the call declines the work and returns refreshed: false with response: "SKIPPED" and a skipReason; the stored counts are still the previous run's. Check refreshed before treating the numbers as current.

Refresh Campaign Metrics

get

Refresh and recalculate campaign metrics

Query parameters
includeExpiredbooleanOptional

Whether to include expired campaigns in the metrics refresh (default: false)

azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
refreshedbooleanRequired

Whether campaign metrics were actually recomputed. False means the refresh was declined because another singleton manager process holds the tenant lock; the stored counts are unchanged.

responsestringRequired
skipReasonstringOptional

Why the refresh was declined, when refreshed is false.

versionstringOptional
get/manager/campaigns/metrics/refresh
GET /manager/campaigns/metrics/refresh HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "refreshed": true,
  "response": "text",
  "skipReason": "text",
  "version": "text"
}

Default campaigns

Generate default campaigns

Starts the campaign generator and returns immediately with a runId. The generated campaigns are not in the response. Poll Get a Manager run until it is terminal; the finished run lists the campaignIds it wrote. When the call is made as a user, that user is stamped as the owner of the generated campaigns; otherwise they route to central security. Returns 429 while another generator run holds the lock. Requires finding write access.

Generate Default Campaigns

post

Trigger the campaign generator to create default campaigns. Follow the returned runId with GET /manager/runs/{runId}.

Query parameters
pageintegerOptional
pageSizeintegerOptional
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
executionArnstringOptional
messagestringRequired
runIdstringOptional
versionstringRequired
post/manager/campaigns/default/generate
POST /manager/campaigns/default/generate HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "executionArn": "text",
  "message": "text",
  "runId": "text",
  "version": "text"
}

List default campaigns

Returns every campaign the generator produced for the tenant, across all pages, in one response.

Get Default Campaigns

get

Returns a list of generated default campaigns

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
numItemsintegerRequired
versionstringRequired
get/manager/campaigns/default
GET /manager/campaigns/default HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "campaigns": [
    {
      "createdAt": "2026-01-01T00:00:00.000Z",
      "description": "text",
      "endDate": "2026-01-01T00:00:00.000Z",
      "events": [
        {
          "actionType": "text",
          "campaignIds": [
            "text"
          ],
          "createdAt": "text",
          "description": "text",
          "findingIds": [
            "text"
          ],
          "id": "text",
          "metaData": {
            "ANY_ADDITIONAL_PROPERTY": "text"
          },
          "pullRequestIds": [
            "text"
          ],
          "reasoning": "text",
          "repositoryIds": [
            "text"
          ],
          "status": "text",
          "threatInvestigationIds": [
            "text"
          ],
          "ticketIds": [
            "text"
          ],
          "userIds": [
            "text"
          ]
        }
      ],
      "generated": true,
      "generatedReasoning": "text",
      "grounding": {
        "evaluatedAt": "2026-01-01T00:00:00.000Z",
        "goalKey": "text",
        "strategyId": "text"
      },
      "id": "text",
      "isActive": true,
      "lifecycle": "DRAFT",
      "metrics": {
        "backlogSearches": 1,
        "escalatedFindings": 1,
        "escalations": 1,
        "findingsAnalysis": {
          "autofixTimeTotal": 1,
          "detectionTimeTotal": 1,
          "estimatedBacklogStoryPoints": 1,
          "findingsAllowlistedCount": 1,
          "findingsCount": 1,
          "findingsFixPendingVerificationCount": 1,
          "findingsFixedCount": 1,
          "findingsInBacklogCount": 1,
          "findingsInProgressCount": 1,
          "findingsNoLongerDetectedCount": 1,
          "findingsResolvedCount": 1,
          "findingsWithOpenAutoFixPRCount": 1,
          "findingsWithOpenTicketCount": 1,
          "fixedTimeToResolve": {
            "meanMs": 1,
            "medianMs": 1,
            "sample": 1
          },
          "funnel": {
            "aging": {
              "cachedNoPr": {
                "count": 1,
                "oldestMs": 1,
                "p50Ms": 1,
                "p90Ms": 1
              },
              "prOpenReviewedUnmerged": {
                "count": 1,
                "oldestMs": 1,
                "p50Ms": 1,
                "p90Ms": 1
              },
              "prOpenUnreviewed": {
                "count": 1,
                "oldestMs": 1,
                "p50Ms": 1,
                "p90Ms": 1
              }
            },
            "fixSourceBreakdown": {
              "ANY_ADDITIONAL_PROPERTY": 1
            },
            "stages": {
              "cachedNoPr": 1,
              "detected": 1,
              "prMerged": 1,
              "prOpenReviewed": 1,
              "prOpenUnreviewed": 1,
              "triaged": 1,
              "verifiedFixed": 1
            },
            "version": 1
          },
          "meanTimeToAutofix": 1,
          "meanTimeToDetectAndTriage": 1,
          "meanTimeToMerge": 1,
          "meanTimeToPullRequestCreation": 1,
          "meanTimeToReview": 1,
          "meanTimeToTriage": 1,
          "medianTimeToAutofix": 1,
          "medianTimeToDetectAndTriage": 1,
          "medianTimeToMerge": 1,
          "medianTimeToPullRequestCreation": 1,
          "medianTimeToReview": 1,
          "medianTimeToTriage": 1,
          "stageSamples": {
            "autofix": 1,
            "detectAndTriage": 1,
            "detectAndTriageAfterOutliers": 1,
            "merge": 1,
            "mergeAfterOutliers": 1,
            "pullRequestCreation": 1,
            "pullRequestCreationAfterOutliers": 1,
            "review": 1,
            "reviewAfterOutliers": 1,
            "triage": 1
          },
          "triageTimeTotal": 1
        },
        "internetSearchCount": 1,
        "messageCount": 1,
        "plansGenerated": 1,
        "prCloseCount": 1,
        "prCommentCount": 1,
        "prCreateCount": 1,
        "prMergedCount": 1,
        "previewMessageCount": 1,
        "storyPointsConsumed": 1,
        "tasksAssigned": 1,
        "ticketCloseCount": 1,
        "ticketCommentCount": 1,
        "ticketCreateCount": 1,
        "ticketsResolvedCount": 1,
        "timeSavedAssigning": 1
      },
      "noEndDate": true,
      "owner": "text",
      "selectionCriteria": {
        "createdAfter": "2026-01-01T00:00:00.000Z",
        "createdBefore": "2026-01-01T00:00:00.000Z",
        "exploitValidated": true,
        "findingIds": [
          "text"
        ],
        "limitPerType": 1,
        "maxStoryPoints": 1,
        "minPriority": 1,
        "prBudgetPerWeek": 1,
        "priorityLabels": [
          "URGENT"
        ],
        "repositoryIds": [
          "text"
        ],
        "severityConfidence": [
          "text"
        ],
        "sortByColumns": "text",
        "sortByDirection": "text",
        "teamIDs": [
          "text"
        ],
        "types": [
          "Unknown"
        ],
        "userNames": [
          "text"
        ],
        "vulnerabilityCVEIds": [
          "text"
        ],
        "vulnerabilityCWEIds": [
          "text"
        ]
      },
      "startDate": "2026-01-01T00:00:00.000Z",
      "status": "text",
      "summary": "text",
      "title": "text",
      "updatedAt": "2026-01-01T00:00:00.000Z"
    }
  ],
  "numItems": 1,
  "version": "text"
}

Previews and summaries

List campaign previews

Returns lightweight previews with title, description and mapped finding ids, plus the tenant's finding progress. Use limit and offset to page by offset, which overrides page and pageSize when set. total is the number of campaign previews the tenant has. The findings list is not paginated and always returns the tenant's whole set, and numItems is a legacy mixed count, so use total for campaigns.

Get Campaign Previews

get

Returns a list of campaign previews with title, description, and mapped finding IDs

Query parameters
pageintegerOptional
pageSizeintegerOptional
limitinteger · nullableOptional

Maximum number of campaign previews to return; overrides pageSize when set

offsetinteger · nullableOptional

Number of campaign previews to skip; overrides page when set

azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
numItemsintegerRequired
totalintegerRequired
versionstringRequired
get/manager/campaigns/previews
GET /manager/campaigns/previews HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "campaigns": [
    {
      "autofixTimeTotal": 1,
      "backlogSearches": 1,
      "counts": {
        "accepted": 1,
        "backlog": 1,
        "computedAt": "text",
        "dismissed": 1,
        "duplicate": 1,
        "findingsWithOpenPullRequest": 1,
        "fixPendingVerification": 1,
        "fixed": 1,
        "fixedRatio": {
          "available": true,
          "denominator": 1,
          "numerator": 1,
          "percent": 1
        },
        "inProgress": 1,
        "matchedAtLastRun": 1,
        "noLongerDetected": 1,
        "pullRequests": {
          "closedUnmerged": 1,
          "mergeRate": {
            "available": true,
            "denominator": 1,
            "numerator": 1,
            "percent": 1
          },
          "mergeReady": {
            "available": true,
            "denominator": 1,
            "numerator": 1,
            "percent": 1
          },
          "merged": 1,
          "mergedUnclassified": 1,
          "opened": 1,
          "stillOpen": 1
        },
        "resolvedRatio": {
          "available": true,
          "denominator": 1,
          "numerator": 1,
          "percent": 1
        },
        "scope": 1,
        "timeToFix": {
          "meanMs": 1,
          "medianMs": 1,
          "sample": 1
        }
      },
      "createdAt": "text",
      "description": "text",
      "detectionTimeTotal": 1,
      "endDate": "text",
      "escalatedFindings": 1,
      "escalations": 1,
      "estimatedBacklogStoryPoints": 1,
      "findingTypes": [
        "text"
      ],
      "findingsWithAllowlistPRCount": 1,
      "findingsWithOpenTicketCount": 1,
      "generated": true,
      "generatedReasoning": "text",
      "id": "text",
      "internetSearchCount": 1,
      "isActive": true,
      "lifecycle": "DRAFT",
      "mappedFindingIds": [
        "text"
      ],
      "maxStoryPoints": 1,
      "meanTimeToDetectAndTriage": 1,
      "meanTimeToMerge": 1,
      "meanTimeToPullRequestCreation": 1,
      "meanTimeToReview": 1,
      "medianTimeToDetectAndTriage": 1,
      "medianTimeToMerge": 1,
      "medianTimeToPullRequestCreation": 1,
      "medianTimeToReview": 1,
      "messageCount": 1,
      "noEndDate": true,
      "plansGenerated": 1,
      "prBudgetPerWeek": 1,
      "prCommentCount": 1,
      "previewMessageCount": 1,
      "priorityLabels": [
        "URGENT"
      ],
      "repositoryIds": [
        "text"
      ],
      "repositoryNames": [
        "text"
      ],
      "startDate": "text",
      "status": "text",
      "storyPointsConsumed": 1,
      "tasksAssigned": 1,
      "ticketCloseCount": 1,
      "ticketCommentCount": 1,
      "ticketCreateCount": 1,
      "timeSavedAssigning": 1,
      "title": "text",
      "triageTimeTotal": 1,
      "updatedAt": "text",
      "users": [
        "text"
      ]
    }
  ],
  "findings": [
    {
      "autofixDuration": 1,
      "autofixedAt": "2026-01-01T00:00:00.000Z",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "detectionDuration": 1,
      "discoveredAt": "2026-01-01T00:00:00.000Z",
      "findingId": "text",
      "findingType": "Unknown",
      "hasOpenAutoFixPR": true,
      "hasOpenTicket": true,
      "inProgressAt": "2026-01-01T00:00:00.000Z",
      "resolvedAt": "2026-01-01T00:00:00.000Z",
      "status": "BACKLOG",
      "timeSaved": 1,
      "totalRemediationDuration": 1,
      "triageDuration": 1,
      "triagedAt": "2026-01-01T00:00:00.000Z",
      "updatedAt": "2026-01-01T00:00:00.000Z"
    }
  ],
  "numItems": 1,
  "portfolio": {
    "campaigns": 1,
    "counts": {
      "accepted": 1,
      "backlog": 1,
      "computedAt": "text",
      "dismissed": 1,
      "duplicate": 1,
      "findingsWithOpenPullRequest": 1,
      "fixPendingVerification": 1,
      "fixed": 1,
      "fixedRatio": {
        "available": true,
        "denominator": 1,
        "numerator": 1,
        "percent": 1
      },
      "inProgress": 1,
      "matchedAtLastRun": 1,
      "noLongerDetected": 1,
      "pullRequests": {
        "closedUnmerged": 1,
        "mergeRate": {
          "available": true,
          "denominator": 1,
          "numerator": 1,
          "percent": 1
        },
        "mergeReady": {
          "available": true,
          "denominator": 1,
          "numerator": 1,
          "percent": 1
        },
        "merged": 1,
        "mergedUnclassified": 1,
        "opened": 1,
        "stillOpen": 1
      },
      "resolvedRatio": {
        "available": true,
        "denominator": 1,
        "numerator": 1,
        "percent": 1
      },
      "scope": 1,
      "timeToFix": {
        "meanMs": 1,
        "medianMs": 1,
        "sample": 1
      }
    },
    "lifecycles": [
      "DRAFT"
    ]
  },
  "total": 1,
  "version": "text"
}

Get a campaign preview

Returns the preview for one campaign: title, description and mapped finding ids. For the full campaign use Get a campaign.

Get Campaign Preview Details

get

Returns a campaign preview model, with title, description, and mapped finding IDs. For full campaign details use the GetCampaign endpoint.

Path parameters
campaignIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
numItemsintegerRequired
versionstringRequired
get/manager/campaigns/{campaignId}/preview
GET /manager/campaigns/{campaignId}/preview HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "campaign": {
    "autofixTimeTotal": 1,
    "backlogSearches": 1,
    "counts": {
      "accepted": 1,
      "backlog": 1,
      "computedAt": "text",
      "dismissed": 1,
      "duplicate": 1,
      "findingsWithOpenPullRequest": 1,
      "fixPendingVerification": 1,
      "fixed": 1,
      "fixedRatio": {
        "available": true,
        "denominator": 1,
        "numerator": 1,
        "percent": 1
      },
      "inProgress": 1,
      "matchedAtLastRun": 1,
      "noLongerDetected": 1,
      "pullRequests": {
        "closedUnmerged": 1,
        "mergeRate": {
          "available": true,
          "denominator": 1,
          "numerator": 1,
          "percent": 1
        },
        "mergeReady": {
          "available": true,
          "denominator": 1,
          "numerator": 1,
          "percent": 1
        },
        "merged": 1,
        "mergedUnclassified": 1,
        "opened": 1,
        "stillOpen": 1
      },
      "resolvedRatio": {
        "available": true,
        "denominator": 1,
        "numerator": 1,
        "percent": 1
      },
      "scope": 1,
      "timeToFix": {
        "meanMs": 1,
        "medianMs": 1,
        "sample": 1
      }
    },
    "createdAt": "text",
    "description": "text",
    "detectionTimeTotal": 1,
    "endDate": "text",
    "escalatedFindings": 1,
    "escalations": 1,
    "estimatedBacklogStoryPoints": 1,
    "findingTypes": [
      "text"
    ],
    "findingsWithAllowlistPRCount": 1,
    "findingsWithOpenTicketCount": 1,
    "generated": true,
    "generatedReasoning": "text",
    "id": "text",
    "internetSearchCount": 1,
    "isActive": true,
    "lifecycle": "DRAFT",
    "mappedFindingIds": [
      "text"
    ],
    "maxStoryPoints": 1,
    "meanTimeToDetectAndTriage": 1,
    "meanTimeToMerge": 1,
    "meanTimeToPullRequestCreation": 1,
    "meanTimeToReview": 1,
    "medianTimeToDetectAndTriage": 1,
    "medianTimeToMerge": 1,
    "medianTimeToPullRequestCreation": 1,
    "medianTimeToReview": 1,
    "messageCount": 1,
    "noEndDate": true,
    "plansGenerated": 1,
    "prBudgetPerWeek": 1,
    "prCommentCount": 1,
    "previewMessageCount": 1,
    "priorityLabels": [
      "URGENT"
    ],
    "repositoryIds": [
      "text"
    ],
    "repositoryNames": [
      "text"
    ],
    "startDate": "text",
    "status": "text",
    "storyPointsConsumed": 1,
    "tasksAssigned": 1,
    "ticketCloseCount": 1,
    "ticketCommentCount": 1,
    "ticketCreateCount": 1,
    "timeSavedAssigning": 1,
    "title": "text",
    "triageTimeTotal": 1,
    "updatedAt": "text",
    "users": [
      "text"
    ]
  },
  "numItems": 1,
  "version": "text"
}

List campaign summaries

Returns campaign summaries derived from plans, with page and pageSize.

Get Campaign Summaries

get

Returns a list of campaign summaries from plans

Query parameters
pageintegerOptional
pageSizeintegerOptional
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
numItemsintegerRequired
versionstringRequired
get/manager/campaigns/summaries
GET /manager/campaigns/summaries HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "numItems": 1,
  "summaries": [
    {
      "campaigns": [
        {
          "campaignDeleted": true,
          "campaignId": "text",
          "content": "text",
          "status": "text"
        }
      ],
      "content": "text",
      "createdAt": "text"
    }
  ],
  "version": "text"
}

Findings in campaigns

List a campaign's findings

Returns the ids of current and historical findings within the campaign's scope. Fetch finding detail from the owning service's findings API.

Get (Triaged) Findings Associated with a campaign

get

Returns a list of findingIDs for current and historical findings within the campaign scope.

Path parameters
campaignIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
campaignIdstringRequired
findingIDsstring[] · nullableRequired
numItemsintegerRequired
versionstringRequired
get/manager/campaigns/{campaignId}/findings
GET /manager/campaigns/{campaignId}/findings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "campaignId": "text",
  "findingIDs": [
    "text"
  ],
  "numItems": 1,
  "version": "text"
}

List findings across all campaigns

Returns the finding progress records for every finding across the tenant's campaigns.

Get All Campaigns Findings

get

Returns a list of all findings across all campaigns

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
numItemsintegerRequired
versionstringRequired
get/manager/campaigns/findings
GET /manager/campaigns/findings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "findings": [
    {
      "autofixDuration": 1,
      "autofixedAt": "2026-01-01T00:00:00.000Z",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "detectionDuration": 1,
      "discoveredAt": "2026-01-01T00:00:00.000Z",
      "findingId": "text",
      "findingType": "Unknown",
      "hasOpenAutoFixPR": true,
      "hasOpenTicket": true,
      "inProgressAt": "2026-01-01T00:00:00.000Z",
      "resolvedAt": "2026-01-01T00:00:00.000Z",
      "status": "BACKLOG",
      "timeSaved": 1,
      "totalRemediationDuration": 1,
      "triageDuration": 1,
      "triagedAt": "2026-01-01T00:00:00.000Z",
      "updatedAt": "2026-01-01T00:00:00.000Z"
    }
  ],
  "numItems": 1,
  "version": "text"
}

Campaign runs

A campaign run is one execution of a campaign. These ids are different from the runId of a Manager run, though a Manager run lists the campaign runs it created in campaignRunIds.

List campaign runs

Returns a campaign's run history, newest first. Page with limit and either offset or an opaque cursor, but not both: sending both returns 400. The response has a total and, when more remain, a nextCursor. An offset past the end returns an empty page, not an error.

List Campaign Runs

get

Returns the run history (one row per execution) for a campaign, ordered newest first.

Path parameters
campaignIdstringRequired
Query parameters
cursorstringOptional
limitinteger · int32Optional
offsetinteger · int32Optional

Number of runs to skip; use instead of cursor to jump to a page

azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
nextCursorstringOptional
totalintegerRequired
get/manager/campaigns/{campaignId}/runs
GET /manager/campaigns/{campaignId}/runs HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "nextCursor": "text",
  "runs": [
    {
      "agentInputTokens": 1,
      "agentOutputTokens": 1,
      "campaignId": "text",
      "endedAt": "text",
      "errorSummary": "text",
      "id": "text",
      "providerId": "text",
      "startedAt": "text",
      "state": "text",
      "tenantId": "text",
      "toolEventCount": 1
    }
  ],
  "total": 1
}

Get a campaign run

Returns one run with its state, timing, error summary, token and tool-event counts, and the resolved plan. Returns 404 if the run does not exist or does not belong to the campaign in the path.

Get Campaign Run

get

Returns a single campaign run with the resolved plan blob.

Path parameters
campaignIdstringRequired
runIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/manager/campaigns/{campaignId}/runs/{runId}
GET /manager/campaigns/{campaignId}/runs/{runId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "run": {
    "agentInputTokens": 1,
    "agentOutputTokens": 1,
    "campaignId": "text",
    "endedAt": "text",
    "errorSummary": "text",
    "id": "text",
    "plan": null,
    "providerId": "text",
    "startedAt": "text",
    "state": "text",
    "tenantId": "text",
    "toolEventCount": 1
  }
}

Events

Events are Manager's record of what it did or attempted: opening or closing pull requests, tickets, comments and messages.

List events

Returns one page of events across all campaigns, with page and pageSize. Exact duplicates within the page are removed from the response, so a page can be shorter than pageSize.

Get Events

get

Returns a list of events across all campaigns

Query parameters
pageintegerOptional
pageSizeintegerOptional
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
numItemsintegerRequired
versionstringRequired
get/manager/events
GET /manager/events HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "events": [
    {
      "actionType": "text",
      "campaignIds": [
        "text"
      ],
      "createdAt": "text",
      "description": "text",
      "findingIds": [
        "text"
      ],
      "id": "text",
      "metaData": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "pullRequestIds": [
        "text"
      ],
      "reasoning": "text",
      "repositoryIds": [
        "text"
      ],
      "status": "text",
      "threatInvestigationIds": [
        "text"
      ],
      "ticketIds": [
        "text"
      ],
      "userIds": [
        "text"
      ]
    }
  ],
  "numItems": 1,
  "version": "text"
}

List a campaign's events

Returns one campaign's events, newest first. Filter with repeated actionTypes (for example PR_CREATE, TICKET_CREATE) and statuses (for example PENDING, SUCCESSFUL, ERROR). page starts at 1 and pageSize defaults to 1000. hasNextPage says whether to continue. For the events on the returned page, pullRequestTitles maps pull request ids to titles, pullRequests maps pull request URLs to their current state (status, first recorded review, merge time), and people maps messaging user ids to display names.

When role-based access control is enforced for the tenant, callers whose role is limited to specific teams receive 403 ("operator access is unavailable for team-scoped roles") from this operation and from List events.

Get Campaign Events

get

Returns a list of events for a campaign. Alongside the agent's own actions it carries ticket creates and closes on findings currently in the campaign (metaData.origin=ticket_audit), the newest 5000 of them; hasNextPage counts within that retained inventory.

Path parameters
campaignIdstringRequired
Query parameters
pageintegerOptional

Page number, 1-indexed (default: 1)

pageSizeintegerOptional

Number of events per page (default: 1000)

actionTypesstring[]Optional

Filter by action types (e.g., PR_CREATE, TICKET_CREATE)

statusesstring[]Optional

Filter by statuses (e.g., PENDING, SUCCESSFUL, ERROR)

azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
hasNextPagebooleanRequired

Whether there are more pages available

numItemsintegerRequired
versionstringOptional
get/manager/campaigns/{campaignId}/events
GET /manager/campaigns/{campaignId}/events HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "events": [
    {
      "actionType": "text",
      "campaignIds": [
        "text"
      ],
      "createdAt": "text",
      "description": "text",
      "findingIds": [
        "text"
      ],
      "id": "text",
      "metaData": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "pullRequestIds": [
        "text"
      ],
      "reasoning": "text",
      "repositoryIds": [
        "text"
      ],
      "status": "text",
      "threatInvestigationIds": [
        "text"
      ],
      "ticketIds": [
        "text"
      ],
      "userIds": [
        "text"
      ]
    }
  ],
  "hasNextPage": true,
  "numItems": 1,
  "people": {
    "ANY_ADDITIONAL_PROPERTY": {
      "displayName": "text",
      "login": "text"
    }
  },
  "pullRequestTitles": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  },
  "pullRequests": {
    "ANY_ADDITIONAL_PROPERTY": {
      "firstReviewedAt": "2026-01-01T00:00:00.000Z",
      "mergedAt": "2026-01-01T00:00:00.000Z",
      "repository": "text",
      "status": "open",
      "title": "text",
      "url": "text"
    }
  },
  "version": "text"
}

List a finding's events

Returns the events recorded against one finding, using limit (default 100, maximum 1000) and an opaque cursor from the previous response's nextCursor. The same actionTypes and statuses filters apply. Use it to answer what Manager has done about a particular finding.

Get Finding Events

get

Returns a list of events associated with a finding

Path parameters
findingIdstringRequired
Query parameters
actionTypesstring[]Optional

Filter by action types (e.g., PR_CREATE, TICKET_CREATE)

statusesstring[]Optional

Filter by statuses (e.g., PENDING, SUCCESSFUL, ERROR)

limitintegerOptional

Maximum number of events to return (default 100, max 1000)

cursorstringOptional

Pagination cursor from previous request

azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
nextCursorstringOptional

Cursor for next page, empty if no more results

numItemsintegerRequired
versionstringOptional
get/manager/findings/{findingId}/events
GET /manager/findings/{findingId}/events HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "events": [
    {
      "actionType": "text",
      "campaignIds": [
        "text"
      ],
      "createdAt": "text",
      "description": "text",
      "findingIds": [
        "text"
      ],
      "id": "text",
      "metaData": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "pullRequestIds": [
        "text"
      ],
      "reasoning": "text",
      "repositoryIds": [
        "text"
      ],
      "status": "text",
      "threatInvestigationIds": [
        "text"
      ],
      "ticketIds": [
        "text"
      ],
      "userIds": [
        "text"
      ]
    }
  ],
  "nextCursor": "text",
  "numItems": 1,
  "version": "text"
}

Delete an event

Deletes one event by id. Returns 404 for an unknown id. An event that the campaign pace ledger is derived from is protected and returns 412; it cannot be deleted. Requires finding write access, and deletion is permanent.

Delete Event

delete

Delete a single event by ID

Path parameters
eventIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
versionstringOptional
delete/manager/events/{eventId}
DELETE /manager/events/{eventId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "version": "text"
}

Deduplicate events

Removes duplicate events and reports counts. This deletes data, so run it first with "dryRun": true and check totalDupes. keep is latest or earliest, and anything else keeps the earliest. from, to and statuses narrow the scan, and timeoutSeconds is capped at 60. A timeout is not an error: you get the partial counts and a message saying it timed out, and you can call again. Duplicates that the pace ledger derives from are counted as totalProtected and are never deleted, so they will be found again on every run. Requires finding write access.

Deduplicate Events

post

Remove duplicate events

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
dryRunbooleanOptional
fromstring · date-time · nullableOptional
keepstringOptional
statusesstring[]Optional
timeoutSecondsinteger · nullableOptional
tostring · date-time · nullableOptional
Responses
200

OK

application/json
dryRunbooleanOptional
messagestringRequired
pagesProcessedinteger · int64Optional
totalDeletedinteger · int64Optional
totalDupesinteger · int64Optional
totalOmittedinteger · int64Optional
totalProtectedinteger · int64Optional
totalScannedinteger · int64Optional
totalUniqueinteger · int64Optional
versionstringOptional
post/manager/events/deduplicate
POST /manager/events/deduplicate HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 134

{
  "dryRun": true,
  "from": "2026-01-01T00:00:00.000Z",
  "keep": "text",
  "statuses": [
    "text"
  ],
  "timeoutSeconds": 1,
  "to": "2026-01-01T00:00:00.000Z"
}
{
  "dryRun": true,
  "message": "text",
  "pagesProcessed": 1,
  "totalDeleted": 1,
  "totalDupes": 1,
  "totalOmitted": 1,
  "totalProtected": 1,
  "totalScanned": 1,
  "totalUnique": 1,
  "version": "text"
}

Last updated