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

Documents, memories, and reports

Manage the organization knowledge your tenant gives Nullify: vault documents you upload, the memories that agents and users record, the organization classification, and generated package reports. All calls need an Authorization: Bearer <TOKEN> header; see Authentication. Read calls require the ConfigRead permission and write calls require ConfigWrite.

Vault files

The vault holds documents you upload (architecture notes, policies, runbooks). Files are only searchable once they are indexed. Allowed extensions are .txt, .json, .yaml, .yml, .xml, .csv, .md, .pdf, .docx, .png, .jpg, .jpeg, .gif, .webp and .svg (indexed), plus .doc, .xls, .xlsx, .zip, .tar, .gz and .7z, which upload and download but are skipped by the indexer.

Upload a vault file

Returns a presigned upload URL; the file bytes never go through this call. Send fileName (required, at most 256 characters, no /, \ or .., and an allowed extension) and optionally description (at most 4096 characters) and size in bytes. When size is positive (maximum 100 MB) the URL is pinned to that exact Content-Length, so an upload of a different size is rejected. The response carries fileId and documentId. PUT the file to presignedUploadURL, then call Index vault files with the fileId so the document becomes searchable.

curl -s -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <TOKEN>" \
  -d '{"fileName": "architecture.pdf", "description": "Service architecture overview", "size": 482113}' \
  'https://api.<TENANT>.nullify.ai/context/vault/file'

Post Vault File

post

Returns a presigned upload URL for a file with metadata including document ID and optional description

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
descriptionstring · nullableOptional
fileNamestringRequired
sizeinteger · int64Optional
Responses
200

OK

application/json
descriptionstring · nullableOptional
documentIDstringRequired
fileIDstringRequired
fileNamestringRequired
presignedUploadURLstringRequired
versionstringOptional
post/context/vault/file
POST /context/vault/file HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 49

{
  "description": "text",
  "fileName": "text",
  "size": 1
}
{
  "description": "text",
  "documentID": "text",
  "fileID": "text",
  "fileName": "text",
  "presignedUploadURL": "text",
  "version": "text"
}

List vault files

Returns a page of files with a presigned download URL, fileId, fileName, uploader, createdAt, documentId and contentType, plus totalCount across all pages. Use limit (1 to 1000; larger values are clamped to 1000) and offset to page, and search for a case-insensitive substring match on the file name. With no limit, every file is returned. Each file with a documentId carries an indexed flag showing whether its document is in the search index; the flag is omitted if the index could not be read. A tenant with too many files to enumerate gets a resource-exhausted error and should narrow with search.

Get Vault Files

get

Returns a page of vault files, with the total across all pages

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

limitinteger · nullableOptional

Maximum number of files to return per page (default: all, max 1000)

offsetinteger · nullableOptional

Number of files to skip before the page

searchstring · nullableOptional

Case-insensitive substring match on file name

Responses
200

OK

application/json
totalCountintegerRequired
versionstringOptional
get/context/vault/files
GET /context/vault/files HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "files": [
    {
      "contentType": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "documentId": "text",
      "fileId": "text",
      "fileName": "text",
      "filePresignedUrl": "text",
      "indexed": true,
      "uploaderId": "text",
      "uploaderUsername": "text"
    }
  ],
  "totalCount": 1,
  "version": "text"
}

List vault file names

Returns a lightweight list of fileName, description and documentId for every file, without presigned URLs, paging or an indexed marker. Use it to build a picker or check which names already exist.

Get Vault Files List

get

Returns a simplified list of vault files with fileName and description

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
get/context/vault/files/list
GET /context/vault/files/list HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "files": [
    {
      "description": "text",
      "documentId": "text",
      "fileName": "text"
    }
  ],
  "version": "text"
}

Get a vault file

Returns the metadata and a fresh presigned download URL for one file. fileId comes from List vault files or Upload a vault file. An unknown id returns 404.

Get Vault File

get

Returns a presigned url for a vault file

Path parameters
fileIdstringRequired
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
createdAtstring · date-timeRequired
documentIdstringOptional
fileIdstringRequired
fileNamestringRequired
filePresignedUrlstringRequired
uploaderIdstringRequired
uploaderUsernamestringRequired
versionstringOptional
get/context/vault/file/{fileId}
GET /context/vault/file/{fileId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "createdAt": "2026-01-01T00:00:00.000Z",
  "documentId": "text",
  "fileId": "text",
  "fileName": "text",
  "filePresignedUrl": "text",
  "uploaderId": "text",
  "uploaderUsername": "text",
  "version": "text"
}

Update vault file metadata

Updates the stored metadata of the file identified by its file name (not its id) in the path. The body accepts metadata (a free-form object), documentId and processedAt. The response is a success flag and message only.

Patch Vault File

patch

Update metadata for a vault file

Path parameters
fileNamestringRequired
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
documentIdstringOptional
processedAtstringOptional
Responses
200

OK

application/json
messagestringRequired
successbooleanRequired
versionstringOptional
patch/context/vault/file/{fileName}
PATCH /context/vault/file/{fileName} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 92

{
  "documentId": "text",
  "metadata": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "processedAt": "text"
}
{
  "message": "text",
  "success": true,
  "version": "text"
}

Delete a vault file

Deletes the file from the vault, removes its indexed chunks from the search index, and forgets the memories derived from its document. The memories keep their audit history. Deletion cannot be undone. Index cleanup is best effort: if it fails the file is still deleted and the next RAG resync removes the orphaned chunks. If the file's document id cannot be read because of a transient storage fault the call returns 503 (or 504 on timeout) and nothing is deleted, so retry. A successful delete returns an empty body.

Delete Vault File

delete

Deletes a vault file and forgets its derived memories while retaining their audit history

Path parameters
fileIdstringRequired
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/context/vault/file/{fileId}
DELETE /context/vault/file/{fileId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*

No content

Indexing chunks a vault document and embeds it so it can be searched. Both indexing calls queue work and return before it finishes.

Index vault files

Queues chunking and embedding of the listed fileIDs (at least one, none blank) into the knowledge base. It is additive, never deletes anything, and does not run organization-context extraction. A success response means the request was queued, not that indexing finished; there is no status endpoint for this call, so confirm completion by checking the indexed flag from List vault files. Call it after each upload. Use Trigger vault onboarding for the setup wizard flow and Resync the knowledge base for tenant-wide reconciliation.

Index Vault Files

post

Enqueues chunk-and-embed indexing of the given vault files into the RAG knowledge base. Returns immediately after the request is queued. Additive — never deletes. No org-context Claude call. Use per dashboard upload; use /context/vault/onboard for the wizard batch and /context/rag/resync for tenant-wide reconciliation.

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
fileIDsstring[] · nullableRequired

List of vault file IDs to index into pgvector

Responses
200

OK

application/json
messagestringRequired
successbooleanRequired
post/context/vault/index
POST /context/vault/index HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 20

{
  "fileIDs": [
    "text"
  ]
}
{
  "message": "text",
  "success": true
}

Search vault documents

Hybrid semantic and keyword search over indexed vault documents. query is required. limit is 1 to 50, documentIds restricts the search to specific documents and docTypes to document types. Each result is a passage with documentId, fileName, page or line range, text and a relevance score. If the embedding service is unavailable the search falls back to keyword matching only, which is not visible in the response. Files that are not yet indexed are not searched.

Search Vault Documents

post

Hybrid semantic + lexical search over indexed vault documents

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
docTypesstring[]Optional
documentIdsstring[]Optional
limitinteger · nullableOptional
querystringRequired
Responses
200

OK

application/json
countintegerRequired
versionstringOptional
post/context/vault/search
POST /context/vault/search HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 69

{
  "docTypes": [
    "text"
  ],
  "documentIds": [
    "text"
  ],
  "limit": 1,
  "query": "text"
}
{
  "count": 1,
  "results": [
    {
      "description": "text",
      "docType": "text",
      "documentId": "text",
      "endLine": 1,
      "endPage": 1,
      "fileName": "text",
      "nodeId": "text",
      "score": 1,
      "startLine": 1,
      "startPage": 1,
      "text": "text"
    }
  ],
  "version": "text"
}

Get vault document text

Returns the extracted text of an indexed document by documentId (from the file list). Narrow with startPage and endPage (1-based, inclusive, end not before start). maxChars defaults to and is capped at 60000. A document too large to read whole returns 400 with advice to set maxChars and page, narrow the pages, or use search; when maxChars is set, a response with truncated: true carries a nextToken to pass back for the next slice. A document that is not indexed returns 404.

Get Vault Document Text

get

Return the extracted text of an indexed vault document, optionally bounded to a page range and paginated by nextToken.

Path parameters
documentIdstringRequired

Vault document ID

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

startPageinteger · nullableOptional

First page to read (1-based, inclusive)

endPageinteger · nullableOptional

Last page to read (1-based, inclusive)

maxCharsinteger · nullableOptional

Maximum characters to return in this response (default and ceiling 60000). Setting it also opts into paging a document too large to read whole

nextTokenstring · nullableOptional

Pagination token returned by a truncated response

Responses
200

OK

application/json
descriptionstringOptional
docTypestringOptional
documentIdstringRequired
endPageintegerOptional
fileNamestringRequired
nextTokenstring · nullableOptional
startPageintegerOptional
textstringRequired
totalCharsintegerRequired
totalChunksintegerRequired
truncatedbooleanRequired
versionstringOptional
get/context/vault/document/{documentId}/text
GET /context/vault/document/{documentId}/text HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "description": "text",
  "docType": "text",
  "documentId": "text",
  "endPage": 1,
  "fileName": "text",
  "nextToken": "text",
  "startPage": 1,
  "text": "text",
  "totalChars": 1,
  "totalChunks": 1,
  "truncated": true,
  "version": "text"
}

Trigger vault onboarding

Records an asynchronous onboarding run over the listed vault fileIDs (at most 50, nonblank and unique); an onboarding agent then extracts organization context from them. The response carries a runId; poll Get an organization context run with it. Pass your own runId (a ULID) to make a retry idempotent: reuse it with the same fileIDs and the run is not queued twice, while reusing it with different files is rejected with 400. If queue delivery is unconfirmed the call still returns the runId with success: false; retry with the same runId and files.

Trigger Vault Onboarding

post

Records an asynchronous onboarding request for specified vault files. Returns its run receipt even when queue delivery is unconfirmed. The onboarding agent extracts organizational context from the provided documents in the background.

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
fileIDsstring[] · nullableRequired

List of vault file IDs to process

runIdstringOptional

Optional ULID receipt; reuse with the same fileIDs to retry ambiguous delivery

Responses
200

OK

application/json
messagestringRequired
runIdstringOptional
successbooleanRequired
post/context/vault/onboard
POST /context/vault/onboard HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 35

{
  "fileIDs": [
    "text"
  ],
  "runId": "text"
}
{
  "message": "text",
  "runId": "text",
  "success": true
}

Resync the knowledge base

Queues a full reconciliation of your tenant's knowledge base against the vault: every vault file is listed and re-indexed, and indexed content with no matching vault file is removed. Use it for the first backfill or to recover from drift. It takes no body, returns as soon as the request is queued, and has no status endpoint. It can be expensive for a large vault, so do not call it per upload.

Resync RAG Vector Store

post

Enqueues a full reconciliation of the tenant's knowledge base with the canonical vault state. Returns immediately after the request is queued. With confluenceOnly, only selected Confluence pages are reconciled and removed sources retracted. Otherwise every vault file is listed and re-indexed; anything in the knowledge base that no longer has a matching vault file is removed. Use for backfill on first activation and for drift recovery.

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

OK

application/json
messagestringRequired
successbooleanRequired
post/context/rag/resync
POST /context/rag/resync HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 23

{
  "confluenceOnly": true
}
{
  "message": "text",
  "success": true
}

Organization context

The organization context is Nullify's classification of your company and what software it builds, built from onboarding and the vault.

Get the organization context

Returns the current organization classification and a version for the stored copy.

Get Organization Context

get

Returns a classification of your entire organization and what software it builds

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
get/context/organization
GET /context/organization HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "assessmentContext": {
    "assessmentVersion": "text",
    "cloudState": "text",
    "message": "text",
    "needsReassessment": true,
    "runId": "text",
    "sourceVersion": "text",
    "state": "text"
  },
  "organization": {
    "bugBountyProgram": {
      "type": "bugcrowd",
      "url": "text"
    },
    "cacheKey": "text",
    "complianceRequirements": [
      "text"
    ],
    "description": "text",
    "detailedOverview": "text",
    "documentCitations": [
      {
        "citation_id": "text",
        "document_id": "text",
        "document_name": "text",
        "page": "text",
        "source_type": "document",
        "title": "text"
      }
    ],
    "escalationPolicies": [
      {
        "citations": [
          {
            "documentId": "text",
            "documentName": "text",
            "page": "text"
          }
        ],
        "description": "text",
        "escalationChain": [
          {
            "contact": {
              "channel": "text",
              "name": "text"
            },
            "escalateAfterHours": 1,
            "level": 1
          }
        ],
        "id": "text",
        "name": "text",
        "scope": {
          "services": [
            "text"
          ],
          "teams": [
            "text"
          ]
        },
        "severitySLAs": [
          {
            "resolutionTimeHours": 1,
            "responseTimeHours": 1,
            "severity": "CRITICAL"
          }
        ]
      }
    ],
    "industries": [
      "AGRICULTURE"
    ],
    "name": "text",
    "notes": [
      {
        "anchors": [
          "text"
        ],
        "citations": [
          {
            "citation_id": "text",
            "document_id": "text",
            "document_name": "text",
            "page": "text",
            "title": "text"
          }
        ],
        "classification": {
          "businessImpact": "CUSTOMER_FACING",
          "computePlatforms": [
            "BARE_METAL"
          ],
          "containsSensitiveData": true,
          "criticality": "CRITICAL",
          "dataClassification": "CONFIDENTIAL",
          "environments": [
            "DEVELOPMENT"
          ],
          "networkExposure": "AIR_GAPPED",
          "organizationalEntityType": "BUSINESS_UNIT",
          "riskLevel": "CRITICAL",
          "securityDomains": [
            "APPLICATION_SECURITY"
          ],
          "systemTypes": [
            "API"
          ]
        },
        "commentIds": [
          "text"
        ],
        "confidence": 1,
        "content": "text",
        "createdAt": "2026-01-01T00:00:00.000Z",
        "createdBy": "text",
        "crossReferences": [
          {
            "description": "text",
            "id": "text"
          }
        ],
        "eventTime": "2026-01-01T00:00:00.000Z",
        "id": "text",
        "invalidateWhen": {
          "anchor": "text",
          "kind": "anchor_changed"
        },
        "isUserCreated": true,
        "memoryClass": "episodic",
        "memoryLineage": {
          "agentVersion": "text",
          "generationReason": "AGENT_UPGRADED",
          "isLatest": true,
          "parentMemoryId": "text",
          "parentSessionId": "text",
          "sessionId": "text",
          "supersededBy": "text",
          "timestamp": "2026-01-01T00:00:00.000Z"
        },
        "memoryType": "ANALYSIS",
        "metadata": {
          "documentMetadata": {
            "documentDescription": "text",
            "documentId": "text",
            "documentName": "text",
            "documentType": "API_SPEC",
            "documentVersion": "text",
            "source": "text",
            "structuralInfo": {
              "encoding": "text",
              "sections": [
                {
                  "endLine": 1,
                  "name": "text",
                  "startLine": 1,
                  "type": "text"
                }
              ],
              "totalCharacters": 1,
              "totalLines": 1
            }
          },
          "findingId": "text"
        },
        "priority": "CRITICAL",
        "promptVersion": "text",
        "questionId": "text",
        "resourceId": "text",
        "resourceType": "AGENT_REASONING",
        "retractedAt": "2026-01-01T00:00:00.000Z",
        "retractionReason": "text",
        "scope": "CLOUD",
        "scopeResourceId": "text",
        "searchability": "EMBEDDING_FAILED",
        "sourceEvent": "text",
        "status": "active",
        "support": 1,
        "tags": [
          "text"
        ],
        "title": "text",
        "trustTier": 1,
        "updatedAt": "2026-01-01T00:00:00.000Z",
        "version": 1
      }
    ],
    "onboarded": true,
    "otherIndustries": [
      "text"
    ],
    "products": [
      {
        "description": "text",
        "name": "text",
        "productType": "B2B_ON_PREMISE",
        "url": "text"
      }
    ],
    "questionnaire": {
      "additionalNotes": "text",
      "companyName": "text",
      "complianceStandards": [
        "text"
      ],
      "coreProductsServices": "text",
      "dataTypes": [
        "text"
      ],
      "files": [
        {
          "content": "text",
          "description": "text",
          "fileName": "text"
        }
      ],
      "impactConcerns": [
        "text"
      ],
      "perceivedThreatActors": [
        "text"
      ]
    },
    "timeZone": "text",
    "vaultFiles": [
      {
        "content": "text",
        "description": "text",
        "documentId": "text",
        "fileName": "text"
      }
    ]
  },
  "version": "text"
}

Replace the organization context

Creates or fully replaces the organization context with the organization object in the body; each call stores a new version. A null organization or an invalid questionnaire is rejected with 400, and an organization marked onboarded must pass the onboarded-context validation. Because it replaces everything, read the current context first and send back what you want to keep.

Upsert Classification of the Organization

put

Creates a classification of your entire organization and what software it builds

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
versionstringOptional
put/context/organization
PUT /context/organization HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 3073

{
  "organization": {
    "bugBountyProgram": {
      "type": "bugcrowd",
      "url": "text"
    },
    "cacheKey": "text",
    "complianceRequirements": [
      "text"
    ],
    "description": "text",
    "detailedOverview": "text",
    "documentCitations": [
      {
        "citation_id": "text",
        "document_id": "text",
        "document_name": "text",
        "page": "text",
        "source_type": "document",
        "title": "text"
      }
    ],
    "escalationPolicies": [
      {
        "citations": [
          {
            "documentId": "text",
            "documentName": "text",
            "page": "text"
          }
        ],
        "description": "text",
        "escalationChain": [
          {
            "contact": {
              "channel": "text",
              "name": "text"
            },
            "escalateAfterHours": 1,
            "level": 1
          }
        ],
        "id": "text",
        "name": "text",
        "scope": {
          "services": [
            "text"
          ],
          "teams": [
            "text"
          ]
        },
        "severitySLAs": [
          {
            "resolutionTimeHours": 1,
            "responseTimeHours": 1,
            "severity": "CRITICAL"
          }
        ]
      }
    ],
    "industries": [
      "AGRICULTURE"
    ],
    "name": "text",
    "notes": [
      {
        "anchors": [
          "text"
        ],
        "citations": [
          {
            "citation_id": "text",
            "document_id": "text",
            "document_name": "text",
            "page": "text",
            "title": "text"
          }
        ],
        "classification": {
          "businessImpact": "CUSTOMER_FACING",
          "computePlatforms": [
            "BARE_METAL"
          ],
          "containsSensitiveData": true,
          "criticality": "CRITICAL",
          "dataClassification": "CONFIDENTIAL",
          "environments": [
            "DEVELOPMENT"
          ],
          "networkExposure": "AIR_GAPPED",
          "organizationalEntityType": "BUSINESS_UNIT",
          "riskLevel": "CRITICAL",
          "securityDomains": [
            "APPLICATION_SECURITY"
          ],
          "systemTypes": [
            "API"
          ]
        },
        "commentIds": [
          "text"
        ],
        "confidence": 1,
        "content": "text",
        "createdAt": "2026-01-01T00:00:00.000Z",
        "createdBy": "text",
        "crossReferences": [
          {
            "description": "text",
            "id": "text"
          }
        ],
        "eventTime": "2026-01-01T00:00:00.000Z",
        "id": "text",
        "invalidateWhen": {
          "anchor": "text",
          "kind": "anchor_changed"
        },
        "isUserCreated": true,
        "memoryClass": "episodic",
        "memoryLineage": {
          "agentVersion": "text",
          "generationReason": "AGENT_UPGRADED",
          "isLatest": true,
          "parentMemoryId": "text",
          "parentSessionId": "text",
          "sessionId": "text",
          "supersededBy": "text",
          "timestamp": "2026-01-01T00:00:00.000Z"
        },
        "memoryType": "ANALYSIS",
        "metadata": {
          "documentMetadata": {
            "documentDescription": "text",
            "documentId": "text",
            "documentName": "text",
            "documentType": "API_SPEC",
            "documentVersion": "text",
            "source": "text",
            "structuralInfo": {
              "encoding": "text",
              "sections": [
                {
                  "endLine": 1,
                  "name": "text",
                  "startLine": 1,
                  "type": "text"
                }
              ],
              "totalCharacters": 1,
              "totalLines": 1
            }
          },
          "findingId": "text"
        },
        "priority": "CRITICAL",
        "promptVersion": "text",
        "questionId": "text",
        "resourceId": "text",
        "resourceType": "AGENT_REASONING",
        "retractedAt": "2026-01-01T00:00:00.000Z",
        "retractionReason": "text",
        "scope": "CLOUD",
        "scopeResourceId": "text",
        "searchability": "EMBEDDING_FAILED",
        "sourceEvent": "text",
        "status": "active",
        "support": 1,
        "tags": [
          "text"
        ],
        "title": "text",
        "trustTier": 1,
        "updatedAt": "2026-01-01T00:00:00.000Z",
        "version": 1
      }
    ],
    "onboarded": true,
    "otherIndustries": [
      "text"
    ],
    "products": [
      {
        "description": "text",
        "name": "text",
        "productType": "B2B_ON_PREMISE",
        "url": "text"
      }
    ],
    "questionnaire": {
      "additionalNotes": "text",
      "companyName": "text",
      "complianceStandards": [
        "text"
      ],
      "coreProductsServices": "text",
      "dataTypes": [
        "text"
      ],
      "files": [
        {
          "content": "text",
          "description": "text",
          "fileName": "text"
        }
      ],
      "impactConcerns": [
        "text"
      ],
      "perceivedThreatActors": [
        "text"
      ]
    },
    "timeZone": "text",
    "vaultFiles": [
      {
        "content": "text",
        "description": "text",
        "documentId": "text",
        "fileName": "text"
      }
    ]
  }
}
{
  "organization": {
    "bugBountyProgram": {
      "type": "bugcrowd",
      "url": "text"
    },
    "cacheKey": "text",
    "complianceRequirements": [
      "text"
    ],
    "description": "text",
    "detailedOverview": "text",
    "documentCitations": [
      {
        "citation_id": "text",
        "document_id": "text",
        "document_name": "text",
        "page": "text",
        "source_type": "document",
        "title": "text"
      }
    ],
    "escalationPolicies": [
      {
        "citations": [
          {
            "documentId": "text",
            "documentName": "text",
            "page": "text"
          }
        ],
        "description": "text",
        "escalationChain": [
          {
            "contact": {
              "channel": "text",
              "name": "text"
            },
            "escalateAfterHours": 1,
            "level": 1
          }
        ],
        "id": "text",
        "name": "text",
        "scope": {
          "services": [
            "text"
          ],
          "teams": [
            "text"
          ]
        },
        "severitySLAs": [
          {
            "resolutionTimeHours": 1,
            "responseTimeHours": 1,
            "severity": "CRITICAL"
          }
        ]
      }
    ],
    "industries": [
      "AGRICULTURE"
    ],
    "name": "text",
    "notes": [
      {
        "anchors": [
          "text"
        ],
        "citations": [
          {
            "citation_id": "text",
            "document_id": "text",
            "document_name": "text",
            "page": "text",
            "title": "text"
          }
        ],
        "classification": {
          "businessImpact": "CUSTOMER_FACING",
          "computePlatforms": [
            "BARE_METAL"
          ],
          "containsSensitiveData": true,
          "criticality": "CRITICAL",
          "dataClassification": "CONFIDENTIAL",
          "environments": [
            "DEVELOPMENT"
          ],
          "networkExposure": "AIR_GAPPED",
          "organizationalEntityType": "BUSINESS_UNIT",
          "riskLevel": "CRITICAL",
          "securityDomains": [
            "APPLICATION_SECURITY"
          ],
          "systemTypes": [
            "API"
          ]
        },
        "commentIds": [
          "text"
        ],
        "confidence": 1,
        "content": "text",
        "createdAt": "2026-01-01T00:00:00.000Z",
        "createdBy": "text",
        "crossReferences": [
          {
            "description": "text",
            "id": "text"
          }
        ],
        "eventTime": "2026-01-01T00:00:00.000Z",
        "id": "text",
        "invalidateWhen": {
          "anchor": "text",
          "kind": "anchor_changed"
        },
        "isUserCreated": true,
        "memoryClass": "episodic",
        "memoryLineage": {
          "agentVersion": "text",
          "generationReason": "AGENT_UPGRADED",
          "isLatest": true,
          "parentMemoryId": "text",
          "parentSessionId": "text",
          "sessionId": "text",
          "supersededBy": "text",
          "timestamp": "2026-01-01T00:00:00.000Z"
        },
        "memoryType": "ANALYSIS",
        "metadata": {
          "documentMetadata": {
            "documentDescription": "text",
            "documentId": "text",
            "documentName": "text",
            "documentType": "API_SPEC",
            "documentVersion": "text",
            "source": "text",
            "structuralInfo": {
              "encoding": "text",
              "sections": [
                {
                  "endLine": 1,
                  "name": "text",
                  "startLine": 1,
                  "type": "text"
                }
              ],
              "totalCharacters": 1,
              "totalLines": 1
            }
          },
          "findingId": "text"
        },
        "priority": "CRITICAL",
        "promptVersion": "text",
        "questionId": "text",
        "resourceId": "text",
        "resourceType": "AGENT_REASONING",
        "retractedAt": "2026-01-01T00:00:00.000Z",
        "retractionReason": "text",
        "scope": "CLOUD",
        "scopeResourceId": "text",
        "searchability": "EMBEDDING_FAILED",
        "sourceEvent": "text",
        "status": "active",
        "support": 1,
        "tags": [
          "text"
        ],
        "title": "text",
        "trustTier": 1,
        "updatedAt": "2026-01-01T00:00:00.000Z",
        "version": 1
      }
    ],
    "onboarded": true,
    "otherIndustries": [
      "text"
    ],
    "products": [
      {
        "description": "text",
        "name": "text",
        "productType": "B2B_ON_PREMISE",
        "url": "text"
      }
    ],
    "questionnaire": {
      "additionalNotes": "text",
      "companyName": "text",
      "complianceStandards": [
        "text"
      ],
      "coreProductsServices": "text",
      "dataTypes": [
        "text"
      ],
      "files": [
        {
          "content": "text",
          "description": "text",
          "fileName": "text"
        }
      ],
      "impactConcerns": [
        "text"
      ],
      "perceivedThreatActors": [
        "text"
      ]
    },
    "timeZone": "text",
    "vaultFiles": [
      {
        "content": "text",
        "description": "text",
        "documentId": "text",
        "fileName": "text"
      }
    ]
  },
  "version": "text"
}

Rename the organization

Changes only the organization name (1 to 256 bytes, no control characters) without replacing the collected context. notes is not accepted here and returns 400; manage notes through the memory endpoints. Returns 404 if no organization context exists and 412 if the stored context changed during the update, in which case retry.

Update Classification of the Organization

patch

Renames an organization without replacing its collected context; notes are edited through the typed memory endpoints

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
namestring · nullableOptional
notesstring · nullableOptional
Responses
204

No Content

No content

patch/context/organization
PATCH /context/organization HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 30

{
  "name": "text",
  "notes": "text"
}

No content

Get an organization context run

Returns the state of an onboarding run started by Trigger vault onboarding: PENDING (queued), RUNNING, SUCCEEDED or FAILED, with a message and the context version it produced. Set includeResult=true to include the resulting organization once the run has succeeded. runId must be a ULID; an unknown run for your tenant returns 404.

Get Organization Context Run

get
Path parameters
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

includeResultbooleanOptional
Responses
200

OK

application/json
messagestringOptional
runIdstringRequired
statestring · enumRequiredPossible values:
versionstringOptional
get/context/organization/runs/{runId}
GET /context/organization/runs/{runId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "message": "text",
  "organization": {
    "bugBountyProgram": {
      "type": "bugcrowd",
      "url": "text"
    },
    "cacheKey": "text",
    "complianceRequirements": [
      "text"
    ],
    "description": "text",
    "detailedOverview": "text",
    "documentCitations": [
      {
        "citation_id": "text",
        "document_id": "text",
        "document_name": "text",
        "page": "text",
        "source_type": "document",
        "title": "text"
      }
    ],
    "escalationPolicies": [
      {
        "citations": [
          {
            "documentId": "text",
            "documentName": "text",
            "page": "text"
          }
        ],
        "description": "text",
        "escalationChain": [
          {
            "contact": {
              "channel": "text",
              "name": "text"
            },
            "escalateAfterHours": 1,
            "level": 1
          }
        ],
        "id": "text",
        "name": "text",
        "scope": {
          "services": [
            "text"
          ],
          "teams": [
            "text"
          ]
        },
        "severitySLAs": [
          {
            "resolutionTimeHours": 1,
            "responseTimeHours": 1,
            "severity": "CRITICAL"
          }
        ]
      }
    ],
    "industries": [
      "AGRICULTURE"
    ],
    "name": "text",
    "notes": [
      {
        "anchors": [
          "text"
        ],
        "citations": [
          {
            "citation_id": "text",
            "document_id": "text",
            "document_name": "text",
            "page": "text",
            "title": "text"
          }
        ],
        "classification": {
          "businessImpact": "CUSTOMER_FACING",
          "computePlatforms": [
            "BARE_METAL"
          ],
          "containsSensitiveData": true,
          "criticality": "CRITICAL",
          "dataClassification": "CONFIDENTIAL",
          "environments": [
            "DEVELOPMENT"
          ],
          "networkExposure": "AIR_GAPPED",
          "organizationalEntityType": "BUSINESS_UNIT",
          "riskLevel": "CRITICAL",
          "securityDomains": [
            "APPLICATION_SECURITY"
          ],
          "systemTypes": [
            "API"
          ]
        },
        "commentIds": [
          "text"
        ],
        "confidence": 1,
        "content": "text",
        "createdAt": "2026-01-01T00:00:00.000Z",
        "createdBy": "text",
        "crossReferences": [
          {
            "description": "text",
            "id": "text"
          }
        ],
        "eventTime": "2026-01-01T00:00:00.000Z",
        "id": "text",
        "invalidateWhen": {
          "anchor": "text",
          "kind": "anchor_changed"
        },
        "isUserCreated": true,
        "memoryClass": "episodic",
        "memoryLineage": {
          "agentVersion": "text",
          "generationReason": "AGENT_UPGRADED",
          "isLatest": true,
          "parentMemoryId": "text",
          "parentSessionId": "text",
          "sessionId": "text",
          "supersededBy": "text",
          "timestamp": "2026-01-01T00:00:00.000Z"
        },
        "memoryType": "ANALYSIS",
        "metadata": {
          "documentMetadata": {
            "documentDescription": "text",
            "documentId": "text",
            "documentName": "text",
            "documentType": "API_SPEC",
            "documentVersion": "text",
            "source": "text",
            "structuralInfo": {
              "encoding": "text",
              "sections": [
                {
                  "endLine": 1,
                  "name": "text",
                  "startLine": 1,
                  "type": "text"
                }
              ],
              "totalCharacters": 1,
              "totalLines": 1
            }
          },
          "findingId": "text"
        },
        "priority": "CRITICAL",
        "promptVersion": "text",
        "questionId": "text",
        "resourceId": "text",
        "resourceType": "AGENT_REASONING",
        "retractedAt": "2026-01-01T00:00:00.000Z",
        "retractionReason": "text",
        "scope": "CLOUD",
        "scopeResourceId": "text",
        "searchability": "EMBEDDING_FAILED",
        "sourceEvent": "text",
        "status": "active",
        "support": 1,
        "tags": [
          "text"
        ],
        "title": "text",
        "trustTier": 1,
        "updatedAt": "2026-01-01T00:00:00.000Z",
        "version": 1
      }
    ],
    "onboarded": true,
    "otherIndustries": [
      "text"
    ],
    "products": [
      {
        "description": "text",
        "name": "text",
        "productType": "B2B_ON_PREMISE",
        "url": "text"
      }
    ],
    "questionnaire": {
      "additionalNotes": "text",
      "companyName": "text",
      "complianceStandards": [
        "text"
      ],
      "coreProductsServices": "text",
      "dataTypes": [
        "text"
      ],
      "files": [
        {
          "content": "text",
          "description": "text",
          "fileName": "text"
        }
      ],
      "impactConcerns": [
        "text"
      ],
      "perceivedThreatActors": [
        "text"
      ]
    },
    "timeZone": "text",
    "vaultFiles": [
      {
        "content": "text",
        "description": "text",
        "documentId": "text",
        "fileName": "text"
      }
    ]
  },
  "runId": "text",
  "state": "PENDING",
  "version": "text"
}

Memories

A memory is a durable note about a resource (a finding, repository, document, the organization) that Nullify's agents and your team can write and later recall. Memories are versioned and never edited in place: every change appends an immutable version, and deleting or retracting leaves a tombstone. Each memory has a memoryType (for example KNOWLEDGE, TRIAGE, REMEDIATION, FOLLOW_UP), a priority, an optional cognitive memoryClass, and a trustTier from 0 (ingested) to 3 (human decision). Memories can be superseded by a newer memory; only live memories (active and not superseded) can be edited. Some writes are reserved for Nullify services: setting trust tier 3, using the actionitem: source event, using ids that start with tacitans: or ctxclar:, or overwriting a customer answer returns 403 for other callers.

List memories

Filters memories by resourceId, resourceType, memoryType, priority, isLatest, memoryClass, status, minTrustTier (0 to 3), and createdBy. limit is 1 to 1000 (default 50). Page with offset, or pass the nextToken from the previous response (an offset as a string; offset wins if both are set); nextToken is absent on the last page and totalCount gives the total. See Pagination.

Get Memories

get

Query memories with flexible filtering. Memories are first-class resources that can be associated with various resource types.

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

resourceIdstring · nullableOptional

Filter by resource ID (e.g., document ID, finding ID)

resourceTypestring · nullableOptional

Filter by resource type (e.g., 'document', 'finding', 'chat')

memoryTypestring · nullableOptional

Filter by memory type

prioritystring · nullableOptional

Filter by priority level

isLatestboolean · nullableOptional

Filter for latest memories only

memoryClassstring · nullableOptional

Filter by cognitive class (episodic, semantic, procedural, prospective, retrieval)

statusstring · nullableOptional

Filter by lifecycle status; a row with no stored status reads as active

minTrustTierinteger · nullableOptional

Only memories at or above this trust tier (0 ingested .. 3 human decision); untiered memories never match

createdBystring · nullableOptional

Filter by author: an agent name (e.g. reposcope) or a user id

limitinteger · nullableOptional

Maximum number of results (default: 50, max: 1000)

offsetinteger · nullableOptional

Number of memories to skip before the page

nextTokenstring · nullableOptional

Pagination token for next page; absent when the page is the last one

Responses
200

OK

application/json
countintegerRequired
nextTokenstring · nullableOptional
totalCountintegerRequired
versionstringOptional
get/context/memories
GET /context/memories HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "count": 1,
  "memories": [
    {
      "anchors": [
        "text"
      ],
      "citations": [
        {
          "citation_id": "text",
          "document_id": "text",
          "document_name": "text",
          "page": "text",
          "title": "text"
        }
      ],
      "classification": {
        "businessImpact": "CUSTOMER_FACING",
        "computePlatforms": [
          "BARE_METAL"
        ],
        "containsSensitiveData": true,
        "criticality": "CRITICAL",
        "dataClassification": "CONFIDENTIAL",
        "environments": [
          "DEVELOPMENT"
        ],
        "networkExposure": "AIR_GAPPED",
        "organizationalEntityType": "BUSINESS_UNIT",
        "riskLevel": "CRITICAL",
        "securityDomains": [
          "APPLICATION_SECURITY"
        ],
        "systemTypes": [
          "API"
        ]
      },
      "commentIds": [
        "text"
      ],
      "confidence": 1,
      "content": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "createdBy": "text",
      "crossReferences": [
        {
          "description": "text",
          "id": "text"
        }
      ],
      "eventTime": "2026-01-01T00:00:00.000Z",
      "id": "text",
      "invalidateWhen": {
        "anchor": "text",
        "kind": "anchor_changed"
      },
      "isUserCreated": true,
      "memoryClass": "episodic",
      "memoryLineage": {
        "agentVersion": "text",
        "generationReason": "AGENT_UPGRADED",
        "isLatest": true,
        "parentMemoryId": "text",
        "parentSessionId": "text",
        "sessionId": "text",
        "supersededBy": "text",
        "timestamp": "2026-01-01T00:00:00.000Z"
      },
      "memoryType": "ANALYSIS",
      "metadata": {
        "documentMetadata": {
          "documentDescription": "text",
          "documentId": "text",
          "documentName": "text",
          "documentType": "API_SPEC",
          "documentVersion": "text",
          "source": "text",
          "structuralInfo": {
            "encoding": "text",
            "sections": [
              {
                "endLine": 1,
                "name": "text",
                "startLine": 1,
                "type": "text"
              }
            ],
            "totalCharacters": 1,
            "totalLines": 1
          }
        },
        "findingId": "text"
      },
      "priority": "CRITICAL",
      "promptVersion": "text",
      "questionId": "text",
      "resourceId": "text",
      "resourceType": "AGENT_REASONING",
      "retractedAt": "2026-01-01T00:00:00.000Z",
      "retractionReason": "text",
      "scope": "CLOUD",
      "scopeResourceId": "text",
      "searchability": "EMBEDDING_FAILED",
      "sourceEvent": "text",
      "status": "active",
      "support": 1,
      "tags": [
        "text"
      ],
      "title": "text",
      "trustTier": 1,
      "updatedAt": "2026-01-01T00:00:00.000Z",
      "version": 1
    }
  ],
  "nextToken": "text",
  "totalCount": 1,
  "version": "text"
}

Create a memory

Creates a memory. memoryType and content are required; confidence must be 0 to 1 and every anchors entry must be <kind>:<id>. Without resourceId the memory attaches to its metadata.documentMetadata.documentId or to itself. Supply your own memoryId to make the write an idempotent upsert: repeating the call updates the same memory instead of adding another, but a memory that is retracted or superseded returns 412. Set supersedesMemoryId to a live memory of your tenant to replace it in the same transaction; a missing or non-live target is rejected. A memory scoped to a document becomes the latest for that document and supersedes the earlier ones. Returns the stored memory.

Create Memory

post

Create a new memory as a first-class resource

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
anchorsstring[]Optional
commentIdsstring[]Optional
confidencenumber · nullableOptional
contentstringRequired
createdBystring · nullableOptional
eventTimestring · date-time · nullableOptional
isUserCreatedboolean · nullableOptional
memoryClassstring · enum · nullableOptionalPossible values:
memoryIdstring · nullableOptional
memoryTypestring · enumRequiredPossible values:
parentNoteIdstring · nullableOptional
prioritystring · enum · nullableOptionalPossible values:
promptVersionstring · nullableOptional
resourceIdstringOptional
resourceTypestring · enumOptionalPossible values:
scopestring · enum · nullableOptionalPossible values:
sourceEventstring · nullableOptional
supersedesMemoryIdstring · nullableOptional
tagsstring[]Optional
titlestring · nullableOptional
trustTierinteger · nullableOptional
Responses
200

OK

application/json
versionstringOptional
post/context/memories
POST /context/memories HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 947

{
  "anchors": [
    "text"
  ],
  "citations": [
    {
      "citation_id": "text",
      "document_id": "text",
      "document_name": "text",
      "page": "text",
      "title": "text"
    }
  ],
  "commentIds": [
    "text"
  ],
  "confidence": 1,
  "content": "text",
  "createdBy": "text",
  "crossReferences": [
    {
      "description": "text",
      "id": "text"
    }
  ],
  "eventTime": "2026-01-01T00:00:00.000Z",
  "isUserCreated": true,
  "memoryClass": "episodic",
  "memoryId": "text",
  "memoryType": "ANALYSIS",
  "metadata": {
    "documentMetadata": {
      "documentDescription": "text",
      "documentId": "text",
      "documentName": "text",
      "documentType": "API_SPEC",
      "documentVersion": "text",
      "source": "text",
      "structuralInfo": {
        "encoding": "text",
        "sections": [
          {
            "endLine": 1,
            "name": "text",
            "startLine": 1,
            "type": "text"
          }
        ],
        "totalCharacters": 1,
        "totalLines": 1
      }
    },
    "findingId": "text"
  },
  "parentNoteId": "text",
  "priority": "CRITICAL",
  "promptVersion": "text",
  "resourceId": "text",
  "resourceType": "AGENT_REASONING",
  "scope": "CLOUD",
  "sourceEvent": "text",
  "supersedesMemoryId": "text",
  "tags": [
    "text"
  ],
  "title": "text",
  "trustTier": 1
}
{
  "memory": {
    "anchors": [
      "text"
    ],
    "citations": [
      {
        "citation_id": "text",
        "document_id": "text",
        "document_name": "text",
        "page": "text",
        "title": "text"
      }
    ],
    "classification": {
      "businessImpact": "CUSTOMER_FACING",
      "computePlatforms": [
        "BARE_METAL"
      ],
      "containsSensitiveData": true,
      "criticality": "CRITICAL",
      "dataClassification": "CONFIDENTIAL",
      "environments": [
        "DEVELOPMENT"
      ],
      "networkExposure": "AIR_GAPPED",
      "organizationalEntityType": "BUSINESS_UNIT",
      "riskLevel": "CRITICAL",
      "securityDomains": [
        "APPLICATION_SECURITY"
      ],
      "systemTypes": [
        "API"
      ]
    },
    "commentIds": [
      "text"
    ],
    "confidence": 1,
    "content": "text",
    "createdAt": "2026-01-01T00:00:00.000Z",
    "createdBy": "text",
    "crossReferences": [
      {
        "description": "text",
        "id": "text"
      }
    ],
    "eventTime": "2026-01-01T00:00:00.000Z",
    "id": "text",
    "invalidateWhen": {
      "anchor": "text",
      "kind": "anchor_changed"
    },
    "isUserCreated": true,
    "memoryClass": "episodic",
    "memoryLineage": {
      "agentVersion": "text",
      "generationReason": "AGENT_UPGRADED",
      "isLatest": true,
      "parentMemoryId": "text",
      "parentSessionId": "text",
      "sessionId": "text",
      "supersededBy": "text",
      "timestamp": "2026-01-01T00:00:00.000Z"
    },
    "memoryType": "ANALYSIS",
    "metadata": {
      "documentMetadata": {
        "documentDescription": "text",
        "documentId": "text",
        "documentName": "text",
        "documentType": "API_SPEC",
        "documentVersion": "text",
        "source": "text",
        "structuralInfo": {
          "encoding": "text",
          "sections": [
            {
              "endLine": 1,
              "name": "text",
              "startLine": 1,
              "type": "text"
            }
          ],
          "totalCharacters": 1,
          "totalLines": 1
        }
      },
      "findingId": "text"
    },
    "priority": "CRITICAL",
    "promptVersion": "text",
    "questionId": "text",
    "resourceId": "text",
    "resourceType": "AGENT_REASONING",
    "retractedAt": "2026-01-01T00:00:00.000Z",
    "retractionReason": "text",
    "scope": "CLOUD",
    "scopeResourceId": "text",
    "searchability": "EMBEDDING_FAILED",
    "sourceEvent": "text",
    "status": "active",
    "support": 1,
    "tags": [
      "text"
    ],
    "title": "text",
    "trustTier": 1,
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "version": 1
  },
  "version": "text"
}

Get a memory

Returns one memory by memoryId, including retracted ones, which come back with their status. Any failure to find it, including another tenant's id, returns 404.

Get Memory

get

Retrieves a specific memory by ID

Path parameters
memoryIdstringRequired

ID of the memory to retrieve

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

versionstring · nullableOptional
Responses
200

OK

application/json
versionstringOptional
get/context/memories/{memoryId}
GET /context/memories/{memoryId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "memory": {
    "anchors": [
      "text"
    ],
    "citations": [
      {
        "citation_id": "text",
        "document_id": "text",
        "document_name": "text",
        "page": "text",
        "title": "text"
      }
    ],
    "classification": {
      "businessImpact": "CUSTOMER_FACING",
      "computePlatforms": [
        "BARE_METAL"
      ],
      "containsSensitiveData": true,
      "criticality": "CRITICAL",
      "dataClassification": "CONFIDENTIAL",
      "environments": [
        "DEVELOPMENT"
      ],
      "networkExposure": "AIR_GAPPED",
      "organizationalEntityType": "BUSINESS_UNIT",
      "riskLevel": "CRITICAL",
      "securityDomains": [
        "APPLICATION_SECURITY"
      ],
      "systemTypes": [
        "API"
      ]
    },
    "commentIds": [
      "text"
    ],
    "confidence": 1,
    "content": "text",
    "createdAt": "2026-01-01T00:00:00.000Z",
    "createdBy": "text",
    "crossReferences": [
      {
        "description": "text",
        "id": "text"
      }
    ],
    "eventTime": "2026-01-01T00:00:00.000Z",
    "id": "text",
    "invalidateWhen": {
      "anchor": "text",
      "kind": "anchor_changed"
    },
    "isUserCreated": true,
    "memoryClass": "episodic",
    "memoryLineage": {
      "agentVersion": "text",
      "generationReason": "AGENT_UPGRADED",
      "isLatest": true,
      "parentMemoryId": "text",
      "parentSessionId": "text",
      "sessionId": "text",
      "supersededBy": "text",
      "timestamp": "2026-01-01T00:00:00.000Z"
    },
    "memoryType": "ANALYSIS",
    "metadata": {
      "documentMetadata": {
        "documentDescription": "text",
        "documentId": "text",
        "documentName": "text",
        "documentType": "API_SPEC",
        "documentVersion": "text",
        "source": "text",
        "structuralInfo": {
          "encoding": "text",
          "sections": [
            {
              "endLine": 1,
              "name": "text",
              "startLine": 1,
              "type": "text"
            }
          ],
          "totalCharacters": 1,
          "totalLines": 1
        }
      },
      "findingId": "text"
    },
    "priority": "CRITICAL",
    "promptVersion": "text",
    "questionId": "text",
    "resourceId": "text",
    "resourceType": "AGENT_REASONING",
    "retractedAt": "2026-01-01T00:00:00.000Z",
    "retractionReason": "text",
    "scope": "CLOUD",
    "scopeResourceId": "text",
    "searchability": "EMBEDDING_FAILED",
    "sourceEvent": "text",
    "status": "active",
    "support": 1,
    "tags": [
      "text"
    ],
    "title": "text",
    "trustTier": 1,
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "version": 1
  },
  "version": "text"
}

Update a memory

Changes the supplied fields (content, title, priority, confidence, tags, citations, crossReferences, metadata, parentNoteId) and appends a new version. Omitted fields keep their values. A superseded, retracted or otherwise non-active memory cannot be edited and returns 412; write a new memory with supersedesMemoryId instead. Setting supersedesMemoryId here makes the updated memory replace another live memory.

Update Memory

patch

Updates a live memory. Every update appends an immutable version; a memory that is superseded, retracted or otherwise not active cannot be edited and must be replaced by a new memory that supersedes it.

Path parameters
memoryIdstringRequired
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
confidencenumber · nullableOptional
contentstring · nullableOptional
parentNoteIdstring · nullableOptional
prioritystring · enum · nullableOptionalPossible values:
supersedesMemoryIdstring · nullableOptional
tagsstring[]Optional
titlestring · nullableOptional
Responses
200

OK

application/json
versionstringOptional
patch/context/memories/{memoryId}
PATCH /context/memories/{memoryId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 633

{
  "citations": [
    {
      "citation_id": "text",
      "document_id": "text",
      "document_name": "text",
      "page": "text",
      "title": "text"
    }
  ],
  "confidence": 1,
  "content": "text",
  "crossReferences": [
    {
      "description": "text",
      "id": "text"
    }
  ],
  "metadata": {
    "documentMetadata": {
      "documentDescription": "text",
      "documentId": "text",
      "documentName": "text",
      "documentType": "API_SPEC",
      "documentVersion": "text",
      "source": "text",
      "structuralInfo": {
        "encoding": "text",
        "sections": [
          {
            "endLine": 1,
            "name": "text",
            "startLine": 1,
            "type": "text"
          }
        ],
        "totalCharacters": 1,
        "totalLines": 1
      }
    },
    "findingId": "text"
  },
  "parentNoteId": "text",
  "priority": "CRITICAL",
  "supersedesMemoryId": "text",
  "tags": [
    "text"
  ],
  "title": "text"
}
{
  "memory": {
    "anchors": [
      "text"
    ],
    "citations": [
      {
        "citation_id": "text",
        "document_id": "text",
        "document_name": "text",
        "page": "text",
        "title": "text"
      }
    ],
    "classification": {
      "businessImpact": "CUSTOMER_FACING",
      "computePlatforms": [
        "BARE_METAL"
      ],
      "containsSensitiveData": true,
      "criticality": "CRITICAL",
      "dataClassification": "CONFIDENTIAL",
      "environments": [
        "DEVELOPMENT"
      ],
      "networkExposure": "AIR_GAPPED",
      "organizationalEntityType": "BUSINESS_UNIT",
      "riskLevel": "CRITICAL",
      "securityDomains": [
        "APPLICATION_SECURITY"
      ],
      "systemTypes": [
        "API"
      ]
    },
    "commentIds": [
      "text"
    ],
    "confidence": 1,
    "content": "text",
    "createdAt": "2026-01-01T00:00:00.000Z",
    "createdBy": "text",
    "crossReferences": [
      {
        "description": "text",
        "id": "text"
      }
    ],
    "eventTime": "2026-01-01T00:00:00.000Z",
    "id": "text",
    "invalidateWhen": {
      "anchor": "text",
      "kind": "anchor_changed"
    },
    "isUserCreated": true,
    "memoryClass": "episodic",
    "memoryLineage": {
      "agentVersion": "text",
      "generationReason": "AGENT_UPGRADED",
      "isLatest": true,
      "parentMemoryId": "text",
      "parentSessionId": "text",
      "sessionId": "text",
      "supersededBy": "text",
      "timestamp": "2026-01-01T00:00:00.000Z"
    },
    "memoryType": "ANALYSIS",
    "metadata": {
      "documentMetadata": {
        "documentDescription": "text",
        "documentId": "text",
        "documentName": "text",
        "documentType": "API_SPEC",
        "documentVersion": "text",
        "source": "text",
        "structuralInfo": {
          "encoding": "text",
          "sections": [
            {
              "endLine": 1,
              "name": "text",
              "startLine": 1,
              "type": "text"
            }
          ],
          "totalCharacters": 1,
          "totalLines": 1
        }
      },
      "findingId": "text"
    },
    "priority": "CRITICAL",
    "promptVersion": "text",
    "questionId": "text",
    "resourceId": "text",
    "resourceType": "AGENT_REASONING",
    "retractedAt": "2026-01-01T00:00:00.000Z",
    "retractionReason": "text",
    "scope": "CLOUD",
    "scopeResourceId": "text",
    "searchability": "EMBEDDING_FAILED",
    "sourceEvent": "text",
    "status": "active",
    "support": 1,
    "tags": [
      "text"
    ],
    "title": "text",
    "trustTier": 1,
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "version": 1
  },
  "version": "text"
}

Delete a memory

Retracts the memory rather than erasing it: the row stays as a tombstone with status cancelled and reason deleted (or the reason query parameter), disappears from searches and latest-only lists, and can still be read by id. The call returns success: true. Unknown ids return 404.

Delete Memory

delete

Retracts a memory. The row is kept as a tombstone with retraction reason 'deleted' (or the supplied reason); it leaves every search and list-latest read but GET by id still returns it with its status.

Path parameters
memoryIdstringRequired

ID of the memory to delete

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

reasonstring · nullableOptional

Why the memory is being retracted; recorded on the tombstone (default: deleted)

Responses
200

OK

application/json
messagestringRequired
successbooleanRequired
versionstringOptional
delete/context/memories/{memoryId}
DELETE /context/memories/{memoryId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "message": "text",
  "success": true,
  "version": "text"
}

Retract a memory

Withdraws a memory as wrong or no longer wanted. reason is required and retractedBy is optional; for non-service callers retraction of a customer answer is attributed to the authenticated user instead of the supplied name. Same tombstone behavior as delete, but the updated memory is returned in the response and the reason is mandatory. Unknown ids return 404.

Retract Memory

post

Withdraws a memory with a reason. The memory is kept as a retracted tombstone: it leaves every search and list-latest read but GET by id still returns it with its status.

Path parameters
memoryIdstringRequired

ID of the memory to retract

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
reasonstringRequired

Why the memory is being retracted

retractedBystring · nullableOptional

Who retracted it, when the caller knows

Responses
200

OK

application/json
versionstringOptional
post/context/memories/{memoryId}/retract
POST /context/memories/{memoryId}/retract HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "reason": "text",
  "retractedBy": "text"
}
{
  "memory": {
    "anchors": [
      "text"
    ],
    "citations": [
      {
        "citation_id": "text",
        "document_id": "text",
        "document_name": "text",
        "page": "text",
        "title": "text"
      }
    ],
    "classification": {
      "businessImpact": "CUSTOMER_FACING",
      "computePlatforms": [
        "BARE_METAL"
      ],
      "containsSensitiveData": true,
      "criticality": "CRITICAL",
      "dataClassification": "CONFIDENTIAL",
      "environments": [
        "DEVELOPMENT"
      ],
      "networkExposure": "AIR_GAPPED",
      "organizationalEntityType": "BUSINESS_UNIT",
      "riskLevel": "CRITICAL",
      "securityDomains": [
        "APPLICATION_SECURITY"
      ],
      "systemTypes": [
        "API"
      ]
    },
    "commentIds": [
      "text"
    ],
    "confidence": 1,
    "content": "text",
    "createdAt": "2026-01-01T00:00:00.000Z",
    "createdBy": "text",
    "crossReferences": [
      {
        "description": "text",
        "id": "text"
      }
    ],
    "eventTime": "2026-01-01T00:00:00.000Z",
    "id": "text",
    "invalidateWhen": {
      "anchor": "text",
      "kind": "anchor_changed"
    },
    "isUserCreated": true,
    "memoryClass": "episodic",
    "memoryLineage": {
      "agentVersion": "text",
      "generationReason": "AGENT_UPGRADED",
      "isLatest": true,
      "parentMemoryId": "text",
      "parentSessionId": "text",
      "sessionId": "text",
      "supersededBy": "text",
      "timestamp": "2026-01-01T00:00:00.000Z"
    },
    "memoryType": "ANALYSIS",
    "metadata": {
      "documentMetadata": {
        "documentDescription": "text",
        "documentId": "text",
        "documentName": "text",
        "documentType": "API_SPEC",
        "documentVersion": "text",
        "source": "text",
        "structuralInfo": {
          "encoding": "text",
          "sections": [
            {
              "endLine": 1,
              "name": "text",
              "startLine": 1,
              "type": "text"
            }
          ],
          "totalCharacters": 1,
          "totalLines": 1
        }
      },
      "findingId": "text"
    },
    "priority": "CRITICAL",
    "promptVersion": "text",
    "questionId": "text",
    "resourceId": "text",
    "resourceType": "AGENT_REASONING",
    "retractedAt": "2026-01-01T00:00:00.000Z",
    "retractionReason": "text",
    "scope": "CLOUD",
    "scopeResourceId": "text",
    "searchability": "EMBEDDING_FAILED",
    "sourceEvent": "text",
    "status": "active",
    "support": 1,
    "tags": [
      "text"
    ],
    "title": "text",
    "trustTier": 1,
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "version": 1
  },
  "version": "text"
}

Get memory versions

Returns the immutable version history of a memory, newest first, with each version's status, changeReason, changedBy, createdAt and full memory snapshot. limit defaults to 50 and is capped at 1000. Writes, supersedes and retractions each append a version.

Get Memory Versions

get

Retrieve the immutable version history of a memory, newest first. Every write and status transition (supersede, retract) appends a version.

Path parameters
memoryIdstringRequired

Memory ID

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

limitinteger · int32Optional

Maximum number of versions to return (default: 50)

Responses
200

OK

application/json
countinteger · int32Required
versionstringOptional
get/context/memories/{memoryId}/versions
GET /context/memories/{memoryId}/versions HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "count": 1,
  "version": "text",
  "versions": [
    {
      "changeReason": "text",
      "changedBy": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "memory": {
        "anchors": [
          "text"
        ],
        "citations": [
          {
            "citation_id": "text",
            "document_id": "text",
            "document_name": "text",
            "page": "text",
            "title": "text"
          }
        ],
        "classification": {
          "businessImpact": "CUSTOMER_FACING",
          "computePlatforms": [
            "BARE_METAL"
          ],
          "containsSensitiveData": true,
          "criticality": "CRITICAL",
          "dataClassification": "CONFIDENTIAL",
          "environments": [
            "DEVELOPMENT"
          ],
          "networkExposure": "AIR_GAPPED",
          "organizationalEntityType": "BUSINESS_UNIT",
          "riskLevel": "CRITICAL",
          "securityDomains": [
            "APPLICATION_SECURITY"
          ],
          "systemTypes": [
            "API"
          ]
        },
        "commentIds": [
          "text"
        ],
        "confidence": 1,
        "content": "text",
        "createdAt": "2026-01-01T00:00:00.000Z",
        "createdBy": "text",
        "crossReferences": [
          {
            "description": "text",
            "id": "text"
          }
        ],
        "eventTime": "2026-01-01T00:00:00.000Z",
        "id": "text",
        "invalidateWhen": {
          "anchor": "text",
          "kind": "anchor_changed"
        },
        "isUserCreated": true,
        "memoryClass": "episodic",
        "memoryLineage": {
          "agentVersion": "text",
          "generationReason": "AGENT_UPGRADED",
          "isLatest": true,
          "parentMemoryId": "text",
          "parentSessionId": "text",
          "sessionId": "text",
          "supersededBy": "text",
          "timestamp": "2026-01-01T00:00:00.000Z"
        },
        "memoryType": "ANALYSIS",
        "metadata": {
          "documentMetadata": {
            "documentDescription": "text",
            "documentId": "text",
            "documentName": "text",
            "documentType": "API_SPEC",
            "documentVersion": "text",
            "source": "text",
            "structuralInfo": {
              "encoding": "text",
              "sections": [
                {
                  "endLine": 1,
                  "name": "text",
                  "startLine": 1,
                  "type": "text"
                }
              ],
              "totalCharacters": 1,
              "totalLines": 1
            }
          },
          "findingId": "text"
        },
        "priority": "CRITICAL",
        "promptVersion": "text",
        "questionId": "text",
        "resourceId": "text",
        "resourceType": "AGENT_REASONING",
        "retractedAt": "2026-01-01T00:00:00.000Z",
        "retractionReason": "text",
        "scope": "CLOUD",
        "scopeResourceId": "text",
        "searchability": "EMBEDDING_FAILED",
        "sourceEvent": "text",
        "status": "active",
        "support": 1,
        "tags": [
          "text"
        ],
        "title": "text",
        "trustTier": 1,
        "updatedAt": "2026-01-01T00:00:00.000Z",
        "version": 1
      },
      "status": "active",
      "version": 1
    }
  ]
}

Get memory findings

Lists the live findings associated with a memory, most severe first: findings whose triage cited the vault document the memory was distilled from (cited: true), and findings the memory names in its anchors (cited: false). Each finding carries a status of open, resolved, allowlisted or closed (archived, false positive, duplicate or superseded); deleted findings are not returned. Requires ConfigRead and FindingRead. limit defaults to 20 and is capped at 100; totalCount is the whole set, including findings past limit. Only code findings record vault-document citations today. Unknown ids return 404.

Get Memory Findings

get

Lists the live findings associated with a memory: findings whose triage cited the vault document the memory was distilled from, and findings the memory names in its anchors. Most severe first.

Path parameters
memoryIdstringRequired

Memory ID

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

limitinteger · nullableOptional

Maximum number of findings to return (1-100, default 20)

Responses
200

OK

application/json
totalCountintegerRequired
versionstringOptional
get/context/memories/{memoryId}/findings
GET /context/memories/{memoryId}/findings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "findings": [
    {
      "cited": true,
      "findingType": "text",
      "id": "text",
      "repository": "text",
      "severity": "text",
      "status": "open",
      "title": "text"
    }
  ],
  "totalCount": 1,
  "version": "text"
}

List memories by type

Like List memories but keyed on the required memoryType query parameter, with optional createdBy, resourceId, isLatest, limit (1 to 1000, default 50), offset, and paginationToken (the offset of the next page as a string from the previous response).

Get Memories By Type

get

Query memories filtered by memory type. Use the memoryType query parameter to filter results.

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

memoryTypestringOptional
createdBystring · nullableOptional
resourceIdstring · nullableOptional
isLatestboolean · nullableOptional
limitinteger · nullableOptional
offsetinteger · nullableOptional
paginationTokenstring · nullableOptional
Responses
200

OK

application/json
countinteger · int32Required
paginationTokenstring · nullableOptional
totalCountinteger · int32Required
versionstringOptional
get/context/memories/type
GET /context/memories/type HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "count": 1,
  "memories": [
    {
      "anchors": [
        "text"
      ],
      "citations": [
        {
          "citation_id": "text",
          "document_id": "text",
          "document_name": "text",
          "page": "text",
          "title": "text"
        }
      ],
      "classification": {
        "businessImpact": "CUSTOMER_FACING",
        "computePlatforms": [
          "BARE_METAL"
        ],
        "containsSensitiveData": true,
        "criticality": "CRITICAL",
        "dataClassification": "CONFIDENTIAL",
        "environments": [
          "DEVELOPMENT"
        ],
        "networkExposure": "AIR_GAPPED",
        "organizationalEntityType": "BUSINESS_UNIT",
        "riskLevel": "CRITICAL",
        "securityDomains": [
          "APPLICATION_SECURITY"
        ],
        "systemTypes": [
          "API"
        ]
      },
      "commentIds": [
        "text"
      ],
      "confidence": 1,
      "content": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "createdBy": "text",
      "crossReferences": [
        {
          "description": "text",
          "id": "text"
        }
      ],
      "eventTime": "2026-01-01T00:00:00.000Z",
      "id": "text",
      "invalidateWhen": {
        "anchor": "text",
        "kind": "anchor_changed"
      },
      "isUserCreated": true,
      "memoryClass": "episodic",
      "memoryLineage": {
        "agentVersion": "text",
        "generationReason": "AGENT_UPGRADED",
        "isLatest": true,
        "parentMemoryId": "text",
        "parentSessionId": "text",
        "sessionId": "text",
        "supersededBy": "text",
        "timestamp": "2026-01-01T00:00:00.000Z"
      },
      "memoryType": "ANALYSIS",
      "metadata": {
        "documentMetadata": {
          "documentDescription": "text",
          "documentId": "text",
          "documentName": "text",
          "documentType": "API_SPEC",
          "documentVersion": "text",
          "source": "text",
          "structuralInfo": {
            "encoding": "text",
            "sections": [
              {
                "endLine": 1,
                "name": "text",
                "startLine": 1,
                "type": "text"
              }
            ],
            "totalCharacters": 1,
            "totalLines": 1
          }
        },
        "findingId": "text"
      },
      "priority": "CRITICAL",
      "promptVersion": "text",
      "questionId": "text",
      "resourceId": "text",
      "resourceType": "AGENT_REASONING",
      "retractedAt": "2026-01-01T00:00:00.000Z",
      "retractionReason": "text",
      "scope": "CLOUD",
      "scopeResourceId": "text",
      "searchability": "EMBEDDING_FAILED",
      "sourceEvent": "text",
      "status": "active",
      "support": 1,
      "tags": [
        "text"
      ],
      "title": "text",
      "trustTier": 1,
      "updatedAt": "2026-01-01T00:00:00.000Z",
      "version": 1
    }
  ],
  "paginationToken": "text",
  "totalCount": 1,
  "version": "text"
}

List memories by document

Returns the latest live memories scoped to a document, finding, repository or project id given as documentId. limit is 1 to 1000 (default 50) and caps the list; the response is not paginated, so paginationToken has no effect here.

Get Memories By Document

get

Return the latest memories scoped to a document (finding, repository, project, etc.).

Path parameters
documentIdstringRequired
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

limitinteger · nullableOptional
paginationTokenstring · nullableOptional
Responses
200

OK

application/json
countinteger · int32Required
paginationTokenstring · nullableOptional
versionstringOptional
get/context/memories/document/{documentId}
GET /context/memories/document/{documentId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "count": 1,
  "memories": [
    {
      "anchors": [
        "text"
      ],
      "citations": [
        {
          "citation_id": "text",
          "document_id": "text",
          "document_name": "text",
          "page": "text",
          "title": "text"
        }
      ],
      "classification": {
        "businessImpact": "CUSTOMER_FACING",
        "computePlatforms": [
          "BARE_METAL"
        ],
        "containsSensitiveData": true,
        "criticality": "CRITICAL",
        "dataClassification": "CONFIDENTIAL",
        "environments": [
          "DEVELOPMENT"
        ],
        "networkExposure": "AIR_GAPPED",
        "organizationalEntityType": "BUSINESS_UNIT",
        "riskLevel": "CRITICAL",
        "securityDomains": [
          "APPLICATION_SECURITY"
        ],
        "systemTypes": [
          "API"
        ]
      },
      "commentIds": [
        "text"
      ],
      "confidence": 1,
      "content": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "createdBy": "text",
      "crossReferences": [
        {
          "description": "text",
          "id": "text"
        }
      ],
      "eventTime": "2026-01-01T00:00:00.000Z",
      "id": "text",
      "invalidateWhen": {
        "anchor": "text",
        "kind": "anchor_changed"
      },
      "isUserCreated": true,
      "memoryClass": "episodic",
      "memoryLineage": {
        "agentVersion": "text",
        "generationReason": "AGENT_UPGRADED",
        "isLatest": true,
        "parentMemoryId": "text",
        "parentSessionId": "text",
        "sessionId": "text",
        "supersededBy": "text",
        "timestamp": "2026-01-01T00:00:00.000Z"
      },
      "memoryType": "ANALYSIS",
      "metadata": {
        "documentMetadata": {
          "documentDescription": "text",
          "documentId": "text",
          "documentName": "text",
          "documentType": "API_SPEC",
          "documentVersion": "text",
          "source": "text",
          "structuralInfo": {
            "encoding": "text",
            "sections": [
              {
                "endLine": 1,
                "name": "text",
                "startLine": 1,
                "type": "text"
              }
            ],
            "totalCharacters": 1,
            "totalLines": 1
          }
        },
        "findingId": "text"
      },
      "priority": "CRITICAL",
      "promptVersion": "text",
      "questionId": "text",
      "resourceId": "text",
      "resourceType": "AGENT_REASONING",
      "retractedAt": "2026-01-01T00:00:00.000Z",
      "retractionReason": "text",
      "scope": "CLOUD",
      "scopeResourceId": "text",
      "searchability": "EMBEDDING_FAILED",
      "sourceEvent": "text",
      "status": "active",
      "support": 1,
      "tags": [
        "text"
      ],
      "title": "text",
      "trustTier": 1,
      "updatedAt": "2026-01-01T00:00:00.000Z",
      "version": 1
    }
  ],
  "paginationToken": "text",
  "version": "text"
}

List memories by document and type

Same as List memories by document, restricted to the required memoryType query parameter. limit is 1 to 1000 (default 50); no pagination.

Get Memories By Document And Type

get

Return the latest memories scoped to a document and filtered by memory type.

Path parameters
documentIdstringRequired
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

memoryTypestringOptional
limitinteger · nullableOptional
paginationTokenstring · nullableOptional
Responses
200

OK

application/json
countinteger · int32Required
paginationTokenstring · nullableOptional
versionstringOptional
get/context/memories/document/{documentId}/type
GET /context/memories/document/{documentId}/type HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "count": 1,
  "memories": [
    {
      "anchors": [
        "text"
      ],
      "citations": [
        {
          "citation_id": "text",
          "document_id": "text",
          "document_name": "text",
          "page": "text",
          "title": "text"
        }
      ],
      "classification": {
        "businessImpact": "CUSTOMER_FACING",
        "computePlatforms": [
          "BARE_METAL"
        ],
        "containsSensitiveData": true,
        "criticality": "CRITICAL",
        "dataClassification": "CONFIDENTIAL",
        "environments": [
          "DEVELOPMENT"
        ],
        "networkExposure": "AIR_GAPPED",
        "organizationalEntityType": "BUSINESS_UNIT",
        "riskLevel": "CRITICAL",
        "securityDomains": [
          "APPLICATION_SECURITY"
        ],
        "systemTypes": [
          "API"
        ]
      },
      "commentIds": [
        "text"
      ],
      "confidence": 1,
      "content": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "createdBy": "text",
      "crossReferences": [
        {
          "description": "text",
          "id": "text"
        }
      ],
      "eventTime": "2026-01-01T00:00:00.000Z",
      "id": "text",
      "invalidateWhen": {
        "anchor": "text",
        "kind": "anchor_changed"
      },
      "isUserCreated": true,
      "memoryClass": "episodic",
      "memoryLineage": {
        "agentVersion": "text",
        "generationReason": "AGENT_UPGRADED",
        "isLatest": true,
        "parentMemoryId": "text",
        "parentSessionId": "text",
        "sessionId": "text",
        "supersededBy": "text",
        "timestamp": "2026-01-01T00:00:00.000Z"
      },
      "memoryType": "ANALYSIS",
      "metadata": {
        "documentMetadata": {
          "documentDescription": "text",
          "documentId": "text",
          "documentName": "text",
          "documentType": "API_SPEC",
          "documentVersion": "text",
          "source": "text",
          "structuralInfo": {
            "encoding": "text",
            "sections": [
              {
                "endLine": 1,
                "name": "text",
                "startLine": 1,
                "type": "text"
              }
            ],
            "totalCharacters": 1,
            "totalLines": 1
          }
        },
        "findingId": "text"
      },
      "priority": "CRITICAL",
      "promptVersion": "text",
      "questionId": "text",
      "resourceId": "text",
      "resourceType": "AGENT_REASONING",
      "retractedAt": "2026-01-01T00:00:00.000Z",
      "retractionReason": "text",
      "scope": "CLOUD",
      "scopeResourceId": "text",
      "searchability": "EMBEDDING_FAILED",
      "sourceEvent": "text",
      "status": "active",
      "support": 1,
      "tags": [
        "text"
      ],
      "title": "text",
      "trustTier": 1,
      "updatedAt": "2026-01-01T00:00:00.000Z",
      "version": 1
    }
  ],
  "paginationToken": "text",
  "version": "text"
}

Search memories

Hybrid semantic and keyword search over memories. query is required (non-blank). Narrow with memoryTypes, resourceType, scope, memoryClass, minTrustTier (0 to 3) and anchors; with anchors, set includeOrgWide to also return organization-wide memories after the anchored matches. limit is 1 to 100. Each result has the memory and a score (higher is better). Retracted and superseded memories are not returned.

Search Memories

post

Hybrid semantic + lexical search over agent memories

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
anchorsstring[]Optional
includeOrgWidebooleanOptional
limitinteger · nullableOptional
memoryClassstring · enum · nullableOptionalPossible values:
minTrustTierinteger · nullableOptional
querystringRequired
resourceTypestring · enum · nullableOptionalPossible values:
scopestring · enum · nullableOptionalPossible values:
Responses
200

OK

application/json
countintegerRequired
versionstringOptional
post/context/memories/search
POST /context/memories/search HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 185

{
  "anchors": [
    "text"
  ],
  "includeOrgWide": true,
  "limit": 1,
  "memoryClass": "episodic",
  "memoryTypes": [
    "ANALYSIS"
  ],
  "minTrustTier": 1,
  "query": "text",
  "resourceType": "AGENT_REASONING",
  "scope": "CLOUD"
}
{
  "count": 1,
  "results": [
    {
      "memory": {
        "anchors": [
          "text"
        ],
        "citations": [
          {
            "citation_id": "text",
            "document_id": "text",
            "document_name": "text",
            "page": "text",
            "title": "text"
          }
        ],
        "classification": {
          "businessImpact": "CUSTOMER_FACING",
          "computePlatforms": [
            "BARE_METAL"
          ],
          "containsSensitiveData": true,
          "criticality": "CRITICAL",
          "dataClassification": "CONFIDENTIAL",
          "environments": [
            "DEVELOPMENT"
          ],
          "networkExposure": "AIR_GAPPED",
          "organizationalEntityType": "BUSINESS_UNIT",
          "riskLevel": "CRITICAL",
          "securityDomains": [
            "APPLICATION_SECURITY"
          ],
          "systemTypes": [
            "API"
          ]
        },
        "commentIds": [
          "text"
        ],
        "confidence": 1,
        "content": "text",
        "createdAt": "2026-01-01T00:00:00.000Z",
        "createdBy": "text",
        "crossReferences": [
          {
            "description": "text",
            "id": "text"
          }
        ],
        "eventTime": "2026-01-01T00:00:00.000Z",
        "id": "text",
        "invalidateWhen": {
          "anchor": "text",
          "kind": "anchor_changed"
        },
        "isUserCreated": true,
        "memoryClass": "episodic",
        "memoryLineage": {
          "agentVersion": "text",
          "generationReason": "AGENT_UPGRADED",
          "isLatest": true,
          "parentMemoryId": "text",
          "parentSessionId": "text",
          "sessionId": "text",
          "supersededBy": "text",
          "timestamp": "2026-01-01T00:00:00.000Z"
        },
        "memoryType": "ANALYSIS",
        "metadata": {
          "documentMetadata": {
            "documentDescription": "text",
            "documentId": "text",
            "documentName": "text",
            "documentType": "API_SPEC",
            "documentVersion": "text",
            "source": "text",
            "structuralInfo": {
              "encoding": "text",
              "sections": [
                {
                  "endLine": 1,
                  "name": "text",
                  "startLine": 1,
                  "type": "text"
                }
              ],
              "totalCharacters": 1,
              "totalLines": 1
            }
          },
          "findingId": "text"
        },
        "priority": "CRITICAL",
        "promptVersion": "text",
        "questionId": "text",
        "resourceId": "text",
        "resourceType": "AGENT_REASONING",
        "retractedAt": "2026-01-01T00:00:00.000Z",
        "retractionReason": "text",
        "scope": "CLOUD",
        "scopeResourceId": "text",
        "searchability": "EMBEDDING_FAILED",
        "sourceEvent": "text",
        "status": "active",
        "support": 1,
        "tags": [
          "text"
        ],
        "title": "text",
        "trustTier": 1,
        "updatedAt": "2026-01-01T00:00:00.000Z",
        "version": 1
      },
      "score": 1
    }
  ],
  "version": "text"
}

Grep memories

Exact, case-insensitive substring match over memory titles and content, the literal counterpart to Search memories. pattern is required and non-blank. Optional filters are memoryTypes, resourceType, scope, memoryClass and minTrustTier; limit is 1 to 1000. Returns memories and count.

Grep Memories

post

Literal case-insensitive substring search over agent memories

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
limitinteger · nullableOptional
memoryClassstring · enum · nullableOptionalPossible values:
minTrustTierinteger · nullableOptional
patternstringRequired
resourceTypestring · enum · nullableOptionalPossible values:
scopestring · enum · nullableOptionalPossible values:
Responses
200

OK

application/json
countintegerRequired
versionstringOptional
post/context/memories/grep
POST /context/memories/grep HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 146

{
  "limit": 1,
  "memoryClass": "episodic",
  "memoryTypes": [
    "ANALYSIS"
  ],
  "minTrustTier": 1,
  "pattern": "text",
  "resourceType": "AGENT_REASONING",
  "scope": "CLOUD"
}
{
  "count": 1,
  "memories": [
    {
      "anchors": [
        "text"
      ],
      "citations": [
        {
          "citation_id": "text",
          "document_id": "text",
          "document_name": "text",
          "page": "text",
          "title": "text"
        }
      ],
      "classification": {
        "businessImpact": "CUSTOMER_FACING",
        "computePlatforms": [
          "BARE_METAL"
        ],
        "containsSensitiveData": true,
        "criticality": "CRITICAL",
        "dataClassification": "CONFIDENTIAL",
        "environments": [
          "DEVELOPMENT"
        ],
        "networkExposure": "AIR_GAPPED",
        "organizationalEntityType": "BUSINESS_UNIT",
        "riskLevel": "CRITICAL",
        "securityDomains": [
          "APPLICATION_SECURITY"
        ],
        "systemTypes": [
          "API"
        ]
      },
      "commentIds": [
        "text"
      ],
      "confidence": 1,
      "content": "text",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "createdBy": "text",
      "crossReferences": [
        {
          "description": "text",
          "id": "text"
        }
      ],
      "eventTime": "2026-01-01T00:00:00.000Z",
      "id": "text",
      "invalidateWhen": {
        "anchor": "text",
        "kind": "anchor_changed"
      },
      "isUserCreated": true,
      "memoryClass": "episodic",
      "memoryLineage": {
        "agentVersion": "text",
        "generationReason": "AGENT_UPGRADED",
        "isLatest": true,
        "parentMemoryId": "text",
        "parentSessionId": "text",
        "sessionId": "text",
        "supersededBy": "text",
        "timestamp": "2026-01-01T00:00:00.000Z"
      },
      "memoryType": "ANALYSIS",
      "metadata": {
        "documentMetadata": {
          "documentDescription": "text",
          "documentId": "text",
          "documentName": "text",
          "documentType": "API_SPEC",
          "documentVersion": "text",
          "source": "text",
          "structuralInfo": {
            "encoding": "text",
            "sections": [
              {
                "endLine": 1,
                "name": "text",
                "startLine": 1,
                "type": "text"
              }
            ],
            "totalCharacters": 1,
            "totalLines": 1
          }
        },
        "findingId": "text"
      },
      "priority": "CRITICAL",
      "promptVersion": "text",
      "questionId": "text",
      "resourceId": "text",
      "resourceType": "AGENT_REASONING",
      "retractedAt": "2026-01-01T00:00:00.000Z",
      "retractionReason": "text",
      "scope": "CLOUD",
      "scopeResourceId": "text",
      "searchability": "EMBEDDING_FAILED",
      "sourceEvent": "text",
      "status": "active",
      "support": 1,
      "tags": [
        "text"
      ],
      "title": "text",
      "trustTier": 1,
      "updatedAt": "2026-01-01T00:00:00.000Z",
      "version": 1
    }
  ],
  "version": "text"
}

Reports

Generate a report of where specific packages are used across your repositories.

Create a report job

Queues generation of a package-usage report. packages is required and non-empty; each entry has ecosystem, package and version. repositories optionally restricts the report to repository ids; empty means all repositories. Every call creates a new job and returns its jobId immediately; poll Get report status.

Create Report Generation Job

post

Creates a new report generation job and returns a job ID. The report will be generated asynchronously.

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
repositoriesstring[]Optional

Optional list of repository IDs to filter. If empty, searches all repositories.

Responses
200

OK

application/json
jobIdstringRequired
versionstringOptional
post/context/reports
POST /context/reports HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 93

{
  "packages": [
    {
      "ecosystem": "text",
      "package": "text",
      "version": "text"
    }
  ],
  "repositories": [
    "text"
  ]
}
{
  "jobId": "text",
  "version": "text"
}

Get report status

Returns status (queued, in_progress, failed or success), an error message when failed, and, once success, a presigned url to download the PDF. The URL is generated on each call and expires, so fetch a fresh one rather than storing it. If the URL cannot be generated the call still succeeds without url.

Get Report Status

get

Retrieves the status of a report generation job. Returns status, error (if failed), and URL (if success).

Path parameters
jobIdstringRequired
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
errorstringOptional
statusstringOptional
urlstringOptional
versionstringOptional
get/context/reports/{jobId}
GET /context/reports/{jobId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "error": "text",
  "status": "text",
  "url": "text",
  "version": "text"
}

Last updated