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'Returns a presigned upload URL for a file with metadata including document ID and optional description
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Internal Server Error
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.
Returns a page of vault files, with the total across all pages
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Maximum number of files to return per page (default: all, max 1000)
Number of files to skip before the page
Case-insensitive substring match on file name
OK
Bad Request
Forbidden
Too Many Requests
Internal Server Error
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.
Returns a simplified list of vault files with fileName and description
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Internal Server Error
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.
Returns a presigned url for a vault file
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Not Found
Internal Server Error
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.
Update metadata for a vault file
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Internal Server Error
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.
Deletes a vault file and forgets its derived memories while retaining their audit history
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
No Content
No content
Bad Request
Forbidden
Internal Server Error
Service Unavailable
Gateway Timeout
DELETE /context/vault/file/{fileId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
No content
Indexing and search
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.
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.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
List of vault file IDs to index into pgvector
OK
Bad Request
Forbidden
Internal Server Error
Service Unavailable
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.
Hybrid semantic + lexical search over indexed vault documents
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Internal Server Error
Service Unavailable
Gateway Timeout
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.
Return the extracted text of an indexed vault document, optionally bounded to a page range and paginated by nextToken.
Vault document ID
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
First page to read (1-based, inclusive)
Last page to read (1-based, inclusive)
Maximum characters to return in this response (default and ceiling 60000). Setting it also opts into paging a document too large to read whole
Pagination token returned by a truncated response
OK
Bad Request
Forbidden
Not Found
Internal Server Error
Service Unavailable
Gateway Timeout
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.
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.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
List of vault file IDs to process
Optional ULID receipt; reuse with the same fileIDs to retry ambiguous delivery
OK
Bad Request
Forbidden
Internal Server Error
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.
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.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Forbidden
Precondition Failed
Internal Server Error
Service Unavailable
Gateway Timeout
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.
Returns a classification of your entire organization and what software it builds
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Internal Server Error
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.
Creates a classification of your entire organization and what software it builds
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Internal Server Error
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.
Renames an organization without replacing its collected context; notes are edited through the typed memory endpoints
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
No Content
No content
Bad Request
Forbidden
Not Found
Precondition Failed
Internal Server Error
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.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Not Found
Internal Server Error
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.
Query memories with flexible filtering. Memories are first-class resources that can be associated with various resource types.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Filter by resource ID (e.g., document ID, finding ID)
Filter by resource type (e.g., 'document', 'finding', 'chat')
Filter by memory type
Filter by priority level
Filter for latest memories only
Filter by cognitive class (episodic, semantic, procedural, prospective, retrieval)
Filter by lifecycle status; a row with no stored status reads as active
Only memories at or above this trust tier (0 ingested .. 3 human decision); untiered memories never match
Filter by author: an agent name (e.g. reposcope) or a user id
Maximum number of results (default: 50, max: 1000)
Number of memories to skip before the page
Pagination token for next page; absent when the page is the last one
OK
Bad Request
Forbidden
Internal Server Error
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 a new memory as a first-class resource
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Not Found
Precondition Failed
Internal Server Error
Service Unavailable
Gateway Timeout
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.
Retrieves a specific memory by ID
ID of the memory to retrieve
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Not Found
Internal Server Error
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.
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.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Not Found
Precondition Failed
Internal Server Error
Service Unavailable
Gateway Timeout
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.
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.
ID of the memory to delete
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Why the memory is being retracted; recorded on the tombstone (default: deleted)
OK
Bad Request
Not Found
Internal Server Error
Service Unavailable
Gateway Timeout
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.
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.
ID of the memory to retract
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Why the memory is being retracted
Who retracted it, when the caller knows
OK
Bad Request
Forbidden
Not Found
Internal Server Error
Service Unavailable
Gateway Timeout
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.
Retrieve the immutable version history of a memory, newest first. Every write and status transition (supersede, retract) appends a version.
Memory ID
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Maximum number of versions to return (default: 50)
OK
Bad Request
Forbidden
Internal Server Error
Service Unavailable
Gateway Timeout
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.
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.
Memory ID
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Maximum number of findings to return (1-100, default 20)
OK
Bad Request
Forbidden
Not Found
Internal Server Error
Service Unavailable
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).
Query memories filtered by memory type. Use the memoryType query parameter to filter results.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Internal Server Error
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.
Return the latest memories scoped to a document (finding, repository, project, etc.).
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Internal Server Error
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.
Return the latest memories scoped to a document and filtered by memory type.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Internal Server Error
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.
Hybrid semantic + lexical search over agent memories
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Internal Server Error
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.
Literal case-insensitive substring search over agent memories
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Internal Server Error
Service Unavailable
Gateway Timeout
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.
Creates a new report generation job and returns a job ID. The report will be generated asynchronously.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Optional list of repository IDs to filter. If empty, searches all repositories.
OK
Bad Request
Forbidden
Internal Server Error
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.
Retrieves the status of a report generation job. Returns status, error (if failed), and URL (if success).
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Forbidden
Not Found
Internal Server Error
GET /context/reports/{jobId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"error": "text",
"status": "text",
"url": "text",
"version": "text"
}Last updated