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

Program and strategy

The security program is the standing policy for how Manager operates. A strategy is a four-quarter plan that Manager's campaigns serve. Read both before you change either, and read Approvals and decisions first if you intend to accept or reject a proposal.

Every operation takes the tenant's provider scope as query parameters, such as githubOwnerId. Requests without one are rejected with 400.

Security program

The program records the autonomy policy, capacity limits and review cadence. It is separate from ground rules, which switch individual action types on and off.

Get the security program

Returns the tenant's program. A tenant that has never stated one gets the default, which delegates nothing, so the call always returns a program. Requires configuration read access.

Get Security Program

get

Return the standing doctrine for how the security program runs. A tenant that has not stated one gets the default, which delegates nothing.

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/program
GET /manager/program HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "program": {
    "acceptedStrategyId": "text",
    "actorKind": "customer",
    "announceWindowDays": 1,
    "autonomy": "explicit",
    "capacityPerWeek": 1,
    "createdAt": "2026-01-01T00:00:00.000Z",
    "createdBy": "text",
    "defaultCampaignDays": 1,
    "editSource": "text",
    "id": "text",
    "maxConcurrentCampaigns": 1,
    "minCoveragePerGoal": 1,
    "reviewCadenceDays": 1,
    "updatedAt": "2026-01-01T00:00:00.000Z"
  }
}

State the security program

Sets or replaces the program with PATCH. Despite the method, every field is required: autonomy (explicit, announce_with_window or auto_within_boundaries), announceWindowDays, minCoveragePerGoal, maxConcurrentCampaigns, defaultCampaignDays and reviewCadenceDays, each at least 1. capacityPerWeek is optional and omitting it means unknown. A partial body is rejected with 400 rather than merged. Requires configuration write access; the change is recorded against the calling user.

autonomy controls what Manager may do after you accept a strategy. It never lets Manager accept a strategy for you: strategy acceptance is always an explicit decision.

State Security Program

patch

State or restate how the security program runs: how much Manager may do unattended, how much work it may commit to, and how often the program is reviewed.

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
announceWindowDaysinteger · min: 1Required
autonomystring · enumRequiredPossible values:
capacityPerWeekinteger · min: 1 · nullableOptional
defaultCampaignDaysinteger · min: 1Required
maxConcurrentCampaignsinteger · min: 1Required
minCoveragePerGoalinteger · min: 1Required
reviewCadenceDaysinteger · min: 1Required
Responses
200

OK

application/json
patch/manager/program
PATCH /manager/program HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 162

{
  "announceWindowDays": 1,
  "autonomy": "explicit",
  "capacityPerWeek": 1,
  "defaultCampaignDays": 1,
  "maxConcurrentCampaigns": 1,
  "minCoveragePerGoal": 1,
  "reviewCadenceDays": 1
}
{
  "program": {
    "acceptedStrategyId": "text",
    "actorKind": "customer",
    "announceWindowDays": 1,
    "autonomy": "explicit",
    "capacityPerWeek": 1,
    "createdAt": "2026-01-01T00:00:00.000Z",
    "createdBy": "text",
    "defaultCampaignDays": 1,
    "editSource": "text",
    "id": "text",
    "maxConcurrentCampaigns": 1,
    "minCoveragePerGoal": 1,
    "reviewCadenceDays": 1,
    "updatedAt": "2026-01-01T00:00:00.000Z"
  }
}

Active strategy

Get the active strategy

Returns the strategy currently in force, which is the latest accepted version. Returns 404 when the tenant has no accepted strategy. A proposed version is not returned here; read it with Get the proposed strategy.

Get Active Strategy

get

Get the currently active security program strategy. A tenant with no strategy yet gets an empty object.

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
acceptedAtstring · date-time · nullableOptional
acceptedBystring · nullableOptional
createdAtstring · date-timeOptional
editSourcestringOptional
editedBystring · nullableOptional
idstringOptional
statusstringOptional
updatedAtstring · date-time · nullableOptional
versionintegerOptional
get/manager/strategy
GET /manager/strategy HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "acceptedAt": "2026-01-01T00:00:00.000Z",
  "acceptedBy": "text",
  "createdAt": "2026-01-01T00:00:00.000Z",
  "editSource": "text",
  "editedBy": "text",
  "id": "text",
  "quarters": [
    {
      "goals": "text",
      "label": "text"
    }
  ],
  "status": "text",
  "updatedAt": "2026-01-01T00:00:00.000Z",
  "version": 1
}

Edit the active strategy

PATCH /manager/strategy replaces the strategy's quarters and writes the result as a new version. The body's quarters must hold exactly four entries, each with a label, and at least one quarter must have non-empty goals; otherwise the call returns 400.

This is a direct edit, not a proposal. The new version is accepted and in force as soon as the call succeeds, attributed to the caller, and it does not go through the decision endpoint. It also does not repoint the security program at the new version. Only one strategy write can run at a time: if a generation run or another edit holds the strategy lock, the call returns 429 and you can retry. Requires configuration write access.

Patch Active Strategy

patch

Edit the active security program strategy. Each edit creates a new version.

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
Responses
200

OK

application/json
acceptedAtstring · date-time · nullableOptional
acceptedBystring · nullableOptional
createdAtstring · date-timeOptional
editSourcestringOptional
editedBystring · nullableOptional
idstringOptional
statusstringOptional
updatedAtstring · date-time · nullableOptional
versionintegerOptional
patch/manager/strategy
PATCH /manager/strategy HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 46

{
  "quarters": [
    {
      "goals": "text",
      "label": "text"
    }
  ]
}
{
  "acceptedAt": "2026-01-01T00:00:00.000Z",
  "acceptedBy": "text",
  "createdAt": "2026-01-01T00:00:00.000Z",
  "editSource": "text",
  "editedBy": "text",
  "id": "text",
  "quarters": [
    {
      "goals": "text",
      "label": "text"
    }
  ],
  "status": "text",
  "updatedAt": "2026-01-01T00:00:00.000Z",
  "version": 1
}

List strategy versions

Returns historical versions, newest first, with page (from 1) and pageSize (default 20). Each version has an id, a version number and a status such as PROPOSED, ACCEPTED, REJECTED or SUPERSEDED, plus who wrote and accepted it. Use it to find the id of a version rather than guessing from the version number.

List Strategy Versions

get

Get historical security program strategy versions in descending order.

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

pageintegerOptional
pageSizeintegerOptional
Responses
200

OK

application/json
numItemsintegerOptional
get/manager/strategy/versions
GET /manager/strategy/versions HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "numItems": 1,
  "strategies": [
    {
      "acceptedAt": "2026-01-01T00:00:00.000Z",
      "acceptedBy": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "editSource": "text",
      "editedBy": "text",
      "id": "text",
      "quarters": [
        {
          "goals": "text",
          "label": "text"
        }
      ],
      "status": "text",
      "updatedAt": "2026-01-01T00:00:00.000Z",
      "version": 1
    }
  ]
}

Strategy proposals

Generate a strategy proposal

Starts the strategy agent and returns immediately with a runId. A run that is accepted by this call has not produced anything yet. Poll Get a Manager run until terminal is true; the finished run reports the strategyId and strategyVersion it wrote. A version written by an agent starts as PROPOSED and has no effect until it is explicitly accepted.

The call returns 429 if another Manager run holds the tenant lock; wait and retry. Requires finding write access.

Trigger Strategy Generation

post

Trigger the strategy agent to generate a new security program strategy. Follow the returned runId with GET /manager/runs/{runId}.

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
executionArnstringOptional
messagestringOptional
runIdstringOptional
versionstringOptional
post/manager/strategy/trigger
POST /manager/strategy/trigger HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "executionArn": "text",
  "message": "text",
  "runId": "text",
  "version": "text"
}

Get the proposed strategy

Returns the strategy version waiting on a decision, or a response with no proposal when nothing is pending. Pending is not an error. Requires configuration read access.

Get Proposed Strategy

get

Return the strategy version awaiting a decision, if any. A version written by an agent is a proposal until a human accepts it.

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/strategy/proposal
GET /manager/strategy/proposal HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "proposal": {
    "acceptedAt": "2026-01-01T00:00:00.000Z",
    "acceptedBy": "text",
    "createdAt": "2026-01-01T00:00:00.000Z",
    "editSource": "text",
    "editedBy": "text",
    "id": "text",
    "quarters": [
      {
        "goals": "text",
        "label": "text"
      }
    ],
    "status": "text",
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "version": 1
  }
}

Decide the proposed strategy

Accepts or rejects a proposed version. The body names the version being decided (strategyId) and a decision of accept or reject.

  • strategyId must be the version that is currently proposed. If it is already decided, superseded, unknown, or belongs to another tenant, the call returns 412 and changes nothing. All of those cases return the same error on purpose, so re-read the proposal with Get the proposed strategy rather than retrying with the same id.

  • Accepting puts the version in force, retires any other pending version, and records it on the security program as the version its autonomy was agreed against. It also closes the matching strategy-proposal action item.

  • Rejecting leaves the previous strategy in force.

  • The decision cannot be repeated. A second call with the same id returns 412.

The decision is recorded against the caller. Requires configuration write access, which is stricter than the campaign decision.

Decide Proposed Strategy

post

Accept or reject the proposed strategy version. Accepting puts it in force and points the security program at it.

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
decisionstring · enumRequiredPossible values:
strategyIdstringRequired
Responses
200

OK

application/json
post/manager/strategy/proposal/decision
POST /manager/strategy/proposal/decision HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 41

{
  "decision": "accept",
  "strategyId": "text"
}
{
  "strategy": {
    "acceptedAt": "2026-01-01T00:00:00.000Z",
    "acceptedBy": "text",
    "createdAt": "2026-01-01T00:00:00.000Z",
    "editSource": "text",
    "editedBy": "text",
    "id": "text",
    "quarters": [
      {
        "goals": "text",
        "label": "text"
      }
    ],
    "status": "text",
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "version": 1
  }
}

Last updated