Applications and repositories
Read and manage the code-side context Nullify builds for your tenant: logical applications, repositories, their projects, entrypoints, build artifacts and their cloud deployments, CI/CD pipelines, API schemas, and the repo-context scans that produce them. This page also covers execution recipes (proven build, test and run commands) and the repo-scope scan that recommends which repositories to scan. For the rest of the Context API see the Context API overview.
Every operation takes the provider scope query parameter for your integration (for example githubOwnerId), as described in Authentication. Reads need the config:read permission, which admin, editor and viewer roles have. Writes, deletes and anything that starts a run need config:write, which only the admin role has. Calls use that workspace's provider scope; take repository and project ids from its list operations. Missing-record responses are described per operation.
List calls use different paging contracts: nextToken, offset, or page. The paragraph for each operation says which one applies; see Pagination for how to follow nextToken.
Applications
An application is a logical grouping of components (projects) discovered by Nullify or created by you. Applications have an origin: those you create through the API are user-owned, and the rebuild below regenerates the discovered ones.
List applications
Returns a page of your tenant's applications with totalCount for all pages. Page with limit (default and maximum 1000; out-of-range values are clamped, not rejected) and offset, and filter with search, a case-insensitive substring match on name and description.
Retrieves a page of applications for the tenant, 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 applications to return per page (default 1000, max 1000)
Number of applications to skip before the page
Case-insensitive substring match on application name and description
OK
Forbidden
Internal Server Error
GET /context/applications HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"applications": [
{
"components": [
{
"discovery": {
"apiSpecs": [
{
"contentRef": {
"hash": "text",
"location": "text",
"size": 1,
"type": "text"
},
"format": "text",
"id": "text",
"metadata": {
"basePath": "text",
"numEndpoints": 1,
"servers": [
"text"
],
"version": "text"
},
"name": "text",
"source": "text",
"type": "text"
}
],
"endpoints": [
"text"
],
"frontendAssets": {
"apiEndpoints": [
"text"
],
"exposedValues": 1,
"routes": [
"text"
]
},
"technologies": [
"text"
]
},
"id": "text",
"name": "text",
"relationships": [
{
"confidence": 1,
"evidence": "text",
"targetComponentId": "text",
"type": "text"
}
],
"source": {
"path": "text",
"projectId": "text",
"repositoryId": "text",
"type": "text"
},
"type": "text"
}
],
"createdAt": "2026-01-01T00:00:00.000Z",
"description": "text",
"discovery": {
"apiSpecs": [
{
"contentRef": {
"hash": "text",
"location": "text",
"size": 1,
"type": "text"
},
"format": "text",
"id": "text",
"metadata": {
"basePath": "text",
"numEndpoints": 1,
"servers": [
"text"
],
"version": "text"
},
"name": "text",
"source": "text",
"type": "text"
}
],
"apiSurface": {
"authenticatedEndpoints": 1,
"coverage": 1,
"publicEndpoints": 1,
"totalEndpoints": 1
},
"authModel": {
"notes": "text",
"source": "text"
},
"securityProfile": {
"exposedSecrets": 1,
"recommendations": [
"text"
],
"riskScore": 1
},
"sharedInfrastructure": [
{
"componentId": "text",
"name": "text",
"repositoryId": "text",
"type": "text"
}
],
"technologies": [
"text"
]
},
"generationId": "text",
"id": "text",
"metadata": {
"agentExecutionId": "text",
"cacheKey": "text",
"cliAppContext": null,
"cliAppContextUpdatedAt": "2026-01-01T00:00:00.000Z",
"cliAppContextVersion": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"generatedByAgentVersion": "text",
"lastAttemptTime": "2026-01-01T00:00:00.000Z",
"lastRebuildTime": "2026-01-01T00:00:00.000Z",
"sourceRepositories": [
"text"
],
"sourceRepositoryCount": 1,
"status": "text"
},
"name": "text",
"origin": "ai",
"tags": [
"text"
],
"tenantId": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"userDescription": "text",
"userName": "text",
"userTags": [
"text"
],
"version": "text"
}
],
"snapshot": "text",
"totalCount": 1,
"version": "text"
}Create an application
Creates a user-owned application. name and description are required (a blank name or missing description returns 400); tags are optional. The new application starts with no components and is returned with a generated id. It is stored immediately, with no background work.
Create a new application
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/applications HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 147
{
"application": {
"componentTypes": [
"text"
],
"description": "text",
"id": "text",
"name": "text",
"productType": "text",
"productUrl": "text",
"tags": [
"text"
]
}
}{
"application": {
"components": [
{
"discovery": {
"apiSpecs": [
{
"contentRef": {
"hash": "text",
"location": "text",
"size": 1,
"type": "text"
},
"format": "text",
"id": "text",
"metadata": {
"basePath": "text",
"numEndpoints": 1,
"servers": [
"text"
],
"version": "text"
},
"name": "text",
"source": "text",
"type": "text"
}
],
"endpoints": [
"text"
],
"frontendAssets": {
"apiEndpoints": [
"text"
],
"exposedValues": 1,
"routes": [
"text"
]
},
"technologies": [
"text"
]
},
"id": "text",
"name": "text",
"relationships": [
{
"confidence": 1,
"evidence": "text",
"targetComponentId": "text",
"type": "text"
}
],
"source": {
"path": "text",
"projectId": "text",
"repositoryId": "text",
"type": "text"
},
"type": "text"
}
],
"createdAt": "2026-01-01T00:00:00.000Z",
"description": "text",
"discovery": {
"apiSpecs": [
{
"contentRef": {
"hash": "text",
"location": "text",
"size": 1,
"type": "text"
},
"format": "text",
"id": "text",
"metadata": {
"basePath": "text",
"numEndpoints": 1,
"servers": [
"text"
],
"version": "text"
},
"name": "text",
"source": "text",
"type": "text"
}
],
"apiSurface": {
"authenticatedEndpoints": 1,
"coverage": 1,
"publicEndpoints": 1,
"totalEndpoints": 1
},
"authModel": {
"notes": "text",
"source": "text"
},
"securityProfile": {
"exposedSecrets": 1,
"recommendations": [
"text"
],
"riskScore": 1
},
"sharedInfrastructure": [
{
"componentId": "text",
"name": "text",
"repositoryId": "text",
"type": "text"
}
],
"technologies": [
"text"
]
},
"generationId": "text",
"id": "text",
"metadata": {
"agentExecutionId": "text",
"cacheKey": "text",
"cliAppContext": null,
"cliAppContextUpdatedAt": "2026-01-01T00:00:00.000Z",
"cliAppContextVersion": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"generatedByAgentVersion": "text",
"lastAttemptTime": "2026-01-01T00:00:00.000Z",
"lastRebuildTime": "2026-01-01T00:00:00.000Z",
"sourceRepositories": [
"text"
],
"sourceRepositoryCount": 1,
"status": "text"
},
"name": "text",
"origin": "ai",
"tags": [
"text"
],
"tenantId": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"userDescription": "text",
"userName": "text",
"userTags": [
"text"
],
"version": "text"
},
"message": "text",
"version": "text"
}Get, update, and delete an application
GET returns one application by the applicationId from the list call, or 404 if it does not exist for your tenant.
Retrieves a specific application by 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
OK
Bad Request
Forbidden
Not Found
Internal Server Error
GET /context/applications/{applicationId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"application": {
"components": [
{
"discovery": {
"apiSpecs": [
{
"contentRef": {
"hash": "text",
"location": "text",
"size": 1,
"type": "text"
},
"format": "text",
"id": "text",
"metadata": {
"basePath": "text",
"numEndpoints": 1,
"servers": [
"text"
],
"version": "text"
},
"name": "text",
"source": "text",
"type": "text"
}
],
"endpoints": [
"text"
],
"frontendAssets": {
"apiEndpoints": [
"text"
],
"exposedValues": 1,
"routes": [
"text"
]
},
"technologies": [
"text"
]
},
"id": "text",
"name": "text",
"relationships": [
{
"confidence": 1,
"evidence": "text",
"targetComponentId": "text",
"type": "text"
}
],
"source": {
"path": "text",
"projectId": "text",
"repositoryId": "text",
"type": "text"
},
"type": "text"
}
],
"createdAt": "2026-01-01T00:00:00.000Z",
"description": "text",
"discovery": {
"apiSpecs": [
{
"contentRef": {
"hash": "text",
"location": "text",
"size": 1,
"type": "text"
},
"format": "text",
"id": "text",
"metadata": {
"basePath": "text",
"numEndpoints": 1,
"servers": [
"text"
],
"version": "text"
},
"name": "text",
"source": "text",
"type": "text"
}
],
"apiSurface": {
"authenticatedEndpoints": 1,
"coverage": 1,
"publicEndpoints": 1,
"totalEndpoints": 1
},
"authModel": {
"notes": "text",
"source": "text"
},
"securityProfile": {
"exposedSecrets": 1,
"recommendations": [
"text"
],
"riskScore": 1
},
"sharedInfrastructure": [
{
"componentId": "text",
"name": "text",
"repositoryId": "text",
"type": "text"
}
],
"technologies": [
"text"
]
},
"generationId": "text",
"id": "text",
"metadata": {
"agentExecutionId": "text",
"cacheKey": "text",
"cliAppContext": null,
"cliAppContextUpdatedAt": "2026-01-01T00:00:00.000Z",
"cliAppContextVersion": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"generatedByAgentVersion": "text",
"lastAttemptTime": "2026-01-01T00:00:00.000Z",
"lastRebuildTime": "2026-01-01T00:00:00.000Z",
"sourceRepositories": [
"text"
],
"sourceRepositoryCount": 1,
"status": "text"
},
"name": "text",
"origin": "ai",
"tags": [
"text"
],
"tenantId": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"userDescription": "text",
"userName": "text",
"userTags": [
"text"
],
"version": "text"
},
"version": "text"
}PATCH changes only name, description, and tags; send at least one or you get 400. Your edits are stored as user overrides separate from the Nullify-generated fields, so a later rebuild does not overwrite them. The response is the reloaded application.
Update an existing application
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
PATCH /context/applications/{applicationId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 147
{
"application": {
"componentTypes": [
"text"
],
"description": "text",
"id": "text",
"name": "text",
"productType": "text",
"productUrl": "text",
"tags": [
"text"
]
}
}{
"application": {
"components": [
{
"discovery": {
"apiSpecs": [
{
"contentRef": {
"hash": "text",
"location": "text",
"size": 1,
"type": "text"
},
"format": "text",
"id": "text",
"metadata": {
"basePath": "text",
"numEndpoints": 1,
"servers": [
"text"
],
"version": "text"
},
"name": "text",
"source": "text",
"type": "text"
}
],
"endpoints": [
"text"
],
"frontendAssets": {
"apiEndpoints": [
"text"
],
"exposedValues": 1,
"routes": [
"text"
]
},
"technologies": [
"text"
]
},
"id": "text",
"name": "text",
"relationships": [
{
"confidence": 1,
"evidence": "text",
"targetComponentId": "text",
"type": "text"
}
],
"source": {
"path": "text",
"projectId": "text",
"repositoryId": "text",
"type": "text"
},
"type": "text"
}
],
"createdAt": "2026-01-01T00:00:00.000Z",
"description": "text",
"discovery": {
"apiSpecs": [
{
"contentRef": {
"hash": "text",
"location": "text",
"size": 1,
"type": "text"
},
"format": "text",
"id": "text",
"metadata": {
"basePath": "text",
"numEndpoints": 1,
"servers": [
"text"
],
"version": "text"
},
"name": "text",
"source": "text",
"type": "text"
}
],
"apiSurface": {
"authenticatedEndpoints": 1,
"coverage": 1,
"publicEndpoints": 1,
"totalEndpoints": 1
},
"authModel": {
"notes": "text",
"source": "text"
},
"securityProfile": {
"exposedSecrets": 1,
"recommendations": [
"text"
],
"riskScore": 1
},
"sharedInfrastructure": [
{
"componentId": "text",
"name": "text",
"repositoryId": "text",
"type": "text"
}
],
"technologies": [
"text"
]
},
"generationId": "text",
"id": "text",
"metadata": {
"agentExecutionId": "text",
"cacheKey": "text",
"cliAppContext": null,
"cliAppContextUpdatedAt": "2026-01-01T00:00:00.000Z",
"cliAppContextVersion": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"generatedByAgentVersion": "text",
"lastAttemptTime": "2026-01-01T00:00:00.000Z",
"lastRebuildTime": "2026-01-01T00:00:00.000Z",
"sourceRepositories": [
"text"
],
"sourceRepositoryCount": 1,
"status": "text"
},
"name": "text",
"origin": "ai",
"tags": [
"text"
],
"tenantId": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"userDescription": "text",
"userName": "text",
"userTags": [
"text"
],
"version": "text"
},
"message": "text",
"version": "text"
}DELETE is a soft delete. The application disappears from reads, and the row is kept as a tombstone so a later rebuild does not recreate it. Deleting an unknown id returns 404.
Delete an application
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
DELETE /context/applications/{applicationId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"message": "text"
}Rebuild applications
Queues a regeneration of your tenant's discovered applications and returns status: "started" with a runId immediately; a response means the job was queued, not that it finished. Set force to true to run even when the worker would otherwise skip the rebuild (no input changed since the last one, the last rebuild finished within the minimum interval, or no organization context exists yet; the reason appears in run.error of the rebuild read). Poll the run with the next operation. A 503 means the rebuild queue is not available on your deployment.
Trigger application context rebuilding. The returned runId is the generation the rebuilt applications are stored under; read it back with GET /context/applications/rebuilds/{runId}.
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
Internal Server Error
Service Unavailable
POST /context/applications/rebuild HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"force": true,
"providerOwnerId": "text"
}{
"runId": "text",
"status": "text",
"version": "text"
}Get an application rebuild
Reports a rebuild started by the call above, using its runId. The run object carries state (PENDING, RUNNING, SUCCEEDED, FAILED, SKIPPED, and so on) and terminal; stop polling when terminal is true. run.error says why a skipped rebuild did nothing or a failed one ended. When the run has succeeded, applications lists what it stored. A rebuild that records no outcome within 30 minutes reads as FAILED ("rebuild never reported an outcome") unless its applications were stored. An unknown runId returns 404.
Reports an application rebuild started by POST /context/applications/rebuild and lists the applications it stored.
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
Service Unavailable
GET /context/applications/rebuilds/{runId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"applicationCount": 1,
"applications": [
{
"components": [
{
"discovery": {
"apiSpecs": [
{
"contentRef": {
"hash": "text",
"location": "text",
"size": 1,
"type": "text"
},
"format": "text",
"id": "text",
"metadata": {
"basePath": "text",
"numEndpoints": 1,
"servers": [
"text"
],
"version": "text"
},
"name": "text",
"source": "text",
"type": "text"
}
],
"endpoints": [
"text"
],
"frontendAssets": {
"apiEndpoints": [
"text"
],
"exposedValues": 1,
"routes": [
"text"
]
},
"technologies": [
"text"
]
},
"id": "text",
"name": "text",
"relationships": [
{
"confidence": 1,
"evidence": "text",
"targetComponentId": "text",
"type": "text"
}
],
"source": {
"path": "text",
"projectId": "text",
"repositoryId": "text",
"type": "text"
},
"type": "text"
}
],
"createdAt": "2026-01-01T00:00:00.000Z",
"description": "text",
"discovery": {
"apiSpecs": [
{
"contentRef": {
"hash": "text",
"location": "text",
"size": 1,
"type": "text"
},
"format": "text",
"id": "text",
"metadata": {
"basePath": "text",
"numEndpoints": 1,
"servers": [
"text"
],
"version": "text"
},
"name": "text",
"source": "text",
"type": "text"
}
],
"apiSurface": {
"authenticatedEndpoints": 1,
"coverage": 1,
"publicEndpoints": 1,
"totalEndpoints": 1
},
"authModel": {
"notes": "text",
"source": "text"
},
"securityProfile": {
"exposedSecrets": 1,
"recommendations": [
"text"
],
"riskScore": 1
},
"sharedInfrastructure": [
{
"componentId": "text",
"name": "text",
"repositoryId": "text",
"type": "text"
}
],
"technologies": [
"text"
]
},
"generationId": "text",
"id": "text",
"metadata": {
"agentExecutionId": "text",
"cacheKey": "text",
"cliAppContext": null,
"cliAppContextUpdatedAt": "2026-01-01T00:00:00.000Z",
"cliAppContextVersion": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"generatedByAgentVersion": "text",
"lastAttemptTime": "2026-01-01T00:00:00.000Z",
"lastRebuildTime": "2026-01-01T00:00:00.000Z",
"sourceRepositories": [
"text"
],
"sourceRepositoryCount": 1,
"status": "text"
},
"name": "text",
"origin": "ai",
"tags": [
"text"
],
"tenantId": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"userDescription": "text",
"userName": "text",
"userTags": [
"text"
],
"version": "text"
}
],
"run": {
"completedAt": "text",
"error": "text",
"runId": "text",
"startedAt": "text",
"state": "PENDING",
"terminal": true
},
"version": "text"
}Get an application schema
Returns one OpenAPI document (YAML) built by merging the OpenAPI schemas of the projects the application's components map to. Components of one project share its schema. Projects without a stored schema, or whose schema is GraphQL or gRPC, are skipped. When a project's schema could not be read, the document's x-nullify-provenance block sets transientShortfall: true, marking it as a partial read. Returns 404 if the application has no components or none of them has an OpenAPI schema. To get or supply the schema of a single project instead, see Project schemas.
Returns the computed API schema for an application by merging all linked project schemas
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
Not Found
Internal Server Error
GET /context/applications/{applicationId}/schema HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"components": [
{
"name": "text",
"projectId": "text",
"provenance": {
"actorKind": "text",
"apiName": "text",
"apiOrigin": "text",
"artifactId": "text",
"basis": "text",
"digest": "text",
"operations": {
"ANY_ADDITIONAL_PROPERTY": {
"asserted": true,
"citation": "text",
"source": "text"
}
},
"origin": "text",
"pipeline": "text",
"refresh": "text",
"sourceCommit": "text",
"validation": "text"
},
"repositoryId": "text"
}
],
"format": "JSON",
"schema": "text",
"type": "GRAPHQL",
"version": "text"
}Entrypoints
Entrypoints are the executable starting points Nullify discovers in a repository, such as a service main or a handler. They are inventory records and carry no credentials or test permissions.
List entrypoints
Lists entrypoints for one repository. repositoryId is required (omitting it returns 400). Optionally filter by projectId and kind, set includeDeleted=true to include soft-deleted rows, and page with limit (default and maximum 1000) and nextToken.
Lists all application entrypoints with optional filtering
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
Internal Server Error
GET /context/entrypoints HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"entrypoints": [
{
"applicationTypes": [
"text"
],
"artifactIds": [
"text"
],
"createdAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"description": "text",
"frameworkName": "text",
"id": "text",
"isDeleted": true,
"kind": "text",
"lineNumber": 1,
"name": "text",
"path": "text",
"ports": [
1
],
"projectId": "text",
"repositoryId": "text",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
],
"nextToken": "text",
"version": "text"
}Get and delete an entrypoint
GET returns one entrypoint by entrypointId from the list call, or 404.
Retrieves a single application entrypoint by 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
OK
Bad Request
Not Found
Internal Server Error
GET /context/entrypoints/{entrypointId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"entrypoint": {
"applicationTypes": [
"text"
],
"artifactIds": [
"text"
],
"createdAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"description": "text",
"frameworkName": "text",
"id": "text",
"isDeleted": true,
"kind": "text",
"lineNumber": 1,
"name": "text",
"path": "text",
"ports": [
1
],
"projectId": "text",
"repositoryId": "text",
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"version": "text"
}DELETE soft-deletes the entrypoint; it then shows up only with includeDeleted=true. Unknown ids return 404.
Soft-delete an entrypoint
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
DELETE /context/entrypoints/{entrypointId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"message": "text",
"success": true
}Artifacts and deployments
An artifact is a build output such as a container image or package that a project produces. A deployment links an artifact to the cloud resource that runs it, with a match method and confidence.
List artifacts
Lists build artifacts. Filter by repositoryId, projectId, type, or search, include soft-deleted rows with includeDeleted=true, and page with limit (default 1000) and nextToken or offset. The response includes totalCount.
Lists all build artifacts with optional filtering
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
Internal Server Error
GET /context/artifacts HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"artifacts": [
{
"artifactName": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"entrypointId": "text",
"id": "text",
"isDeleted": true,
"name": "text",
"nonProduction": true,
"projectId": "text",
"registries": [
{
"baseUrl": "text",
"id": "text",
"name": "text",
"path": "text",
"type": "text"
}
],
"repositoryId": "text",
"subArtifactPath": "text",
"subArtifactType": "text",
"type": "text",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
],
"nextToken": "text",
"totalCount": 1,
"version": "text"
}Get and delete an artifact
GET returns one artifact by artifactId, or 404.
Retrieves a single build artifact by 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
OK
Bad Request
Not Found
Internal Server Error
GET /context/artifacts/{artifactId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"artifact": {
"artifactName": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"entrypointId": "text",
"id": "text",
"isDeleted": true,
"name": "text",
"nonProduction": true,
"projectId": "text",
"registries": [
{
"baseUrl": "text",
"id": "text",
"name": "text",
"path": "text",
"type": "text"
}
],
"repositoryId": "text",
"subArtifactPath": "text",
"subArtifactType": "text",
"type": "text",
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"version": "text"
}DELETE soft-deletes the artifact and returns 404 for an unknown id.
Soft-delete an artifact
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
DELETE /context/artifacts/{artifactId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"message": "text",
"success": true
}List artifact deployments
Lists where artifacts run. Filter by artifactId, repositoryId, cloudResourceId, or computeType, include soft-deleted rows with includeDeleted=true, and page with nextToken and limit (maximum and default 1000). A malformed nextToken returns 400. Each item carries the cloud provider, account, region, isInternetFacing, and how the match was made (matchMethod, matchConfidence), so treat low-confidence matches as hints.
Lists all artifact deployments with optional filtering
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
Internal Server Error
GET /context/artifact-deployments HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"deployments": [
{
"accountId": "text",
"artifactId": "text",
"cloudProvider": "text",
"cloudResourceId": "text",
"computeType": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"id": "text",
"isDeleted": true,
"isInternetFacing": true,
"matchConfidence": "text",
"matchDetail": "text",
"matchMethod": "text",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"projectId": "text",
"region": "text",
"repositoryId": "text",
"serviceName": "text",
"updatedAt": "2026-01-01T00:00:00.000Z"
}
],
"nextToken": "text",
"version": "text"
}Get an artifact deployment
Returns one deployment by deploymentId from the list call, or 404.
Retrieves a single artifact deployment by 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
OK
Bad Request
Not Found
Internal Server Error
GET /context/artifact-deployments/{deploymentId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"deployment": {
"accountId": "text",
"artifactId": "text",
"cloudProvider": "text",
"cloudResourceId": "text",
"computeType": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"id": "text",
"isDeleted": true,
"isInternetFacing": true,
"matchConfidence": "text",
"matchDetail": "text",
"matchMethod": "text",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"projectId": "text",
"region": "text",
"repositoryId": "text",
"serviceName": "text",
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"version": "text"
}CI/CD pipelines
Pipelines are the CI/CD workflow definitions found in your repositories. The list and read calls share the asset inventory store, so ids returned by the list work on the read and delete calls. Trigger, job, and step details are not populated on these summaries.
List CI/CD pipelines
Lists pipelines. Filter by repositoryId, projectId, or platform (case-insensitive; an unrecognized platform returns 400), include inactive pipelines with includeDeleted=true, and page with limit (default 1000) and nextToken.
Lists all CI/CD pipelines with optional filtering
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
Internal Server Error
GET /context/cicd-pipelines HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"nextToken": "text",
"pipelines": [
{
"artifactIds": [
"text"
],
"createdAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"filePath": "text",
"id": "text",
"isDeleted": true,
"jobs": [
{
"name": "text",
"runsOn": "text",
"steps": [
{
"command": "text",
"description": "text",
"name": "text",
"uses": "text"
}
]
}
],
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"name": "text",
"platform": "text",
"projectId": "text",
"repositoryId": "text",
"runsOnPr": true,
"triggers": [
{
"branches": [
"text"
],
"cron": "text",
"paths": [
"text"
],
"type": "text"
}
],
"updatedAt": "2026-01-01T00:00:00.000Z"
}
],
"version": "text"
}Get and delete a CI/CD pipeline
GET returns one pipeline by pipelineId, or 404.
Retrieves a single CI/CD pipeline by 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
OK
Bad Request
Not Found
Internal Server Error
GET /context/cicd-pipelines/{pipelineId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"pipeline": {
"artifactIds": [
"text"
],
"createdAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"filePath": "text",
"id": "text",
"isDeleted": true,
"jobs": [
{
"name": "text",
"runsOn": "text",
"steps": [
{
"command": "text",
"description": "text",
"name": "text",
"uses": "text"
}
]
}
],
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"name": "text",
"platform": "text",
"projectId": "text",
"repositoryId": "text",
"runsOnPr": true,
"triggers": [
{
"branches": [
"text"
],
"cron": "text",
"paths": [
"text"
],
"type": "text"
}
],
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"version": "text"
}DELETE soft-deletes the pipeline (it becomes inactive and is hidden unless includeDeleted=true). Unknown ids return 404.
Soft-delete a CI/CD pipeline
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
DELETE /context/cicd-pipelines/{pipelineId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"message": "text",
"success": true
}Repositories
A repository record holds the classification and context Nullify derived for one source repository. Where a path takes repositoryId, use the id from the list call. The read and trigger calls below also accept an owner/repo name, which is resolved through your git integration; a malformed name returns 400, and a repository the platform does not have returns 404.
List repository contexts
Returns the context of each repository for your tenant, with numItems and nextToken. Page with limit and nextToken. The sortBy and sort parameters are accepted but the service lists in a fixed order, so do not rely on them.
Returns a classification of attributes of each repository
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/repositories HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"nextToken": "text",
"numItems": 1,
"repositories": [
{
"artifactLinkCoverage": {
"projects": [
{
"failedProvider": 1,
"projectId": "text",
"skippedBudget": 1,
"skippedTimeout": 1,
"undecided": 1
}
],
"unreadInputs": [
"text"
]
},
"artifactLinks": [
{
"artifactId": "text",
"confidence": "confirmed",
"description": "text",
"entrypointId": "text",
"evidencePaths": [
"text"
],
"matchMethod": "affinity_hint",
"projectId": "text",
"reasoning": "text",
"targetKind": "graph_node",
"targetNodeId": "text",
"targetRef": "text",
"workloadFamily": "text"
}
],
"authenticationMethods": [
"text"
],
"buildCoverage": {
"formatVersion": 1,
"projects": [
{
"assessment": {
"completion": "complete",
"gaps": [
{
"path": "text",
"reason": "ambiguous_owner"
}
]
},
"ownership": [
{
"baseImages": {
"dockerfileSha256": "text",
"images": [
"text"
]
},
"buildContext": "text",
"dockerfile": "text",
"evidencePaths": [
"text"
],
"image": "text",
"sourcePaths": [
"text"
],
"sourceRepository": "text",
"supportingContexts": [
"text"
],
"target": "text",
"variant": "text"
}
],
"pathPrefix": "text",
"projectId": "text"
}
],
"repository": {
"completion": "complete",
"gaps": [
{
"path": "text",
"reason": "ambiguous_owner"
}
]
},
"sourceCommit": "text"
},
"businessFunctions": [
{
"confidence": "confirmed",
"description": "text",
"id": "text",
"name": "text",
"ownedPaths": [
"text"
],
"reasoning": "text"
}
],
"cacheKey": "text",
"callEdges": [
{
"callSiteFilePath": "text",
"callSiteLine": 1,
"calleeQualifiedName": "text",
"calleeSymbolId": "text",
"callerQualifiedName": "text",
"callerSymbolId": "text",
"confidence": "confirmed",
"detector": "text",
"id": "text",
"isExternal": true,
"kind": "callback",
"language": "Apex",
"projectId": "text"
}
],
"cicdPipelineSummary": {
"prWorkflowCount": 1,
"summary": "text",
"workflows": [
{
"jobs": [
{
"name": "text",
"steps": [
{
"command": "text",
"name": "text",
"uses": "text"
}
]
}
],
"name": "text",
"path": "text",
"platform": "text",
"runsOnPr": true
}
]
},
"cloudAccounts": [
{
"accountId": "text",
"accountType": "development",
"capabilities": {
"hasApiGateway": true,
"hasCdn": true,
"hasContainerServices": true,
"hasCrossAccountReferences": true,
"hasDatabases": true,
"hasDns": true,
"hasKubernetes": true,
"hasLoadBalancers": true,
"hasServerlessFunctions": true,
"hasTransitGateway": true
},
"computeServices": [
{
"computeType": "container_service",
"internetFacing": true,
"name": "text",
"region": "text",
"trafficFlow": "text"
}
],
"internetFacingServiceCount": 1,
"narrative": "text",
"regions": [
"text"
],
"totalComputeServices": 1
}
],
"codeConventions": [
{
"category": "API_DESIGN",
"description": "text",
"evidencePaths": [
"text"
],
"scope": "text"
}
],
"commitPatterns": {
"exampleMessages": [
"text"
],
"lastUpdated": "2026-01-01T00:00:00.000Z",
"learnedFromCommits": 1,
"messageFormat": "conventional",
"prefixPatterns": [
"text"
]
},
"complianceFrameworks": [
"APRA-CPS-234"
],
"contextSummary": {
"complianceDrivers": [
"text"
],
"confidence": "confirmed",
"executiveSummary": "text",
"reasoning": "text",
"recommendedFollowups": [
"text"
],
"technicalSummary": "text",
"topRisks": [
"text"
]
},
"dataDomains": [
{
"availabilityRequirement": "CRITICAL",
"complianceFrameworks": [
"APRA-CPS-234"
],
"confidence": "confirmed",
"description": "text",
"evidence": [
{
"line": 1,
"nodeId": "text",
"path": "text",
"quote": "text"
}
],
"examplePaths": [
"text"
],
"id": "text",
"integrityRequirement": "CRITICAL",
"name": "text",
"piiCategories": [
"CREDENTIALS"
],
"reasoning": "text",
"sensitivity": "CRITICAL"
}
],
"dataFlows": [
{
"accessPattern": "DELETE",
"cloudReconDataFlowId": "text",
"codeHops": [
{
"boundaryId": "text",
"boundaryName": "text",
"callEdgeId": "text",
"filePath": "text",
"index": 1,
"line": 1,
"notes": "text",
"qualifiedName": "text",
"role": "dispatcher",
"symbol": "text",
"symbolId": "text"
}
],
"confidence": "confirmed",
"crossedBoundaryIds": [
"text"
],
"dataClassification": "confidential",
"dataDomainIds": [
"text"
],
"description": "text",
"entrypointId": "text",
"evidencePaths": [
"text"
],
"exposure": "internal",
"id": "text",
"infraConnections": {
"fullPath": "text",
"internalPath": {
"description": "text",
"exposure": "internal",
"nodes": [
{
"name": "text",
"nodeId": "text",
"type": "text"
}
]
},
"internetPath": {
"description": "text",
"exposure": "internal",
"nodes": [
{
"name": "text",
"nodeId": "text",
"type": "text"
}
]
},
"sinkPath": {
"description": "text",
"exposure": "internal",
"nodes": [
{
"name": "text",
"nodeId": "text",
"type": "text"
}
]
}
},
"name": "text",
"pathEdgeTypes": [
"ABOUT"
],
"pathNodeIds": [
"text"
],
"projectId": "text",
"protections": [
"ACCESS_CONTROLLED"
],
"sink": {
"description": "text",
"identifier": "text",
"isExternal": true,
"kind": "cache",
"nodeId": "text",
"trustedServiceId": "text"
},
"source": {
"description": "text",
"entrypointId": "text",
"identifier": "text",
"isExternal": true,
"kind": "cache_read",
"nodeId": "text",
"trustedServiceId": "text"
},
"sourceSinkIds": [
"text"
],
"validationApplied": "full"
}
],
"databases": [
{
"confidence": "confirmed",
"databaseType": "CASSANDRA",
"evidence": [
{
"line": 1,
"nodeId": "text",
"path": "text",
"quote": "text"
}
],
"name": "text",
"reasoning": "text"
}
],
"deploymentTargetDetails": [
{
"confidence": "confirmed",
"evidence": [
{
"line": 1,
"nodeId": "text",
"path": "text",
"quote": "text"
}
],
"reasoning": "text",
"source": "ci",
"target": "text"
}
],
"deploymentTargets": [
"text"
],
"description": "text",
"developmentGuidelines": {
"summary": "text",
"tools": [
{
"category": "ai_coding_assistant",
"filePath": "text",
"summary": "text",
"tool": "text"
}
]
},
"graph": {
"cveAssessments": [
{
"artifactDigest": "text",
"artifactIdentity": "text",
"confidence": "HIGH",
"cveNodeId": "text",
"evidenceNodeIds": [
"text"
],
"explanation": "text",
"findingId": "text",
"id": "text",
"inputIdentity": "text",
"investigationState": "ASSESSED",
"latestAttemptState": "text",
"packageNodeId": "text",
"path": [
{
"confidence": 1,
"explanation": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"sourceId": "text",
"targetId": "text",
"type": "ABOUT"
}
],
"reachability": "reachable",
"repositoryId": "text",
"revision": "text",
"severity": "text",
"sourceReportId": "text",
"unknowns": [
"text"
]
}
],
"edges": [
{
"confidence": 1,
"explanation": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"sourceId": "text",
"targetId": "text",
"type": "ABOUT"
}
],
"investigationStopReason": "text",
"nodes": [],
"pathAssessment": {
"explanation": "text",
"findingId": "text",
"sourceIds": [
"text"
],
"status": "BLOCKED",
"unknowns": [
"text"
]
}
},
"iacCloudLinkCoverage": {
"capped": true,
"indexFailed": true,
"inventoryUnread": true,
"reason": "text",
"unreadAccounts": [
"text"
]
},
"iacCloudLinks": [
{
"accountId": "text",
"address": "text",
"candidateCount": 1,
"cloudNodeId": "text",
"cloudSubType": "text",
"confidence": "confirmed",
"declarationId": "text",
"environments": [
"text"
],
"evidence": [
{
"line": 1,
"nodeId": "text",
"path": "text",
"quote": "text"
}
],
"file": "text",
"line": 1,
"matchMethod": "iac_identifier_exact",
"moduleDir": "text",
"reasoning": "text",
"region": "text",
"resourceType": "text",
"rootDir": "text",
"source": "cloudformation",
"status": "ambiguous",
"varFiles": [
"text"
]
}
],
"iacCoverageGaps": [
{
"accountIds": [
"text"
],
"action": "text",
"effect": "informational",
"image": "text",
"kind": "transit_gateway",
"missing": "text",
"pathNodeIds": [
"text"
],
"reason": "text",
"region": "text",
"resourceId": "text",
"resourceType": "text"
}
],
"id": "text",
"infrastructureMatches": [
{
"accountId": "text",
"accountType": "development",
"artifactName": "text",
"computeType": "container_service",
"evidence": [
{
"line": 1,
"nodeId": "text",
"path": "text",
"quote": "text"
}
],
"isInternetFacing": true,
"matchConfidence": "confirmed",
"matchDetail": "text",
"matchMethod": "affinity_hint",
"nodeId": "text",
"reasoning": "text",
"region": "text",
"serviceName": "text"
}
],
"inputValidationFrameworks": [
"text"
],
"internalDependencies": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"isInitializedOnly": true,
"isMonorepo": true,
"isOpenAPISpecAvailable": true,
"isTruncatedAnalysis": true,
"mermaidDiagram": "text",
"metadata": {
"authenticationGrounding": {
"coverage": "partial",
"heldMethods": [
"text"
],
"scope": "declared-source"
},
"generatedAt": "2026-01-01T00:00:00.000Z",
"generatorModel": "text",
"generatorPromptVersion": "text",
"warnings": [
"text"
]
},
"monitoringTooling": [
"text"
],
"name": "text",
"networkExposure": "internal",
"nonSecurityImportantPaths": [
{
"confidence": "high",
"evidence": [
"text"
],
"path": "text",
"projectIds": [
"text"
],
"reason": "docs"
}
],
"openAPISpecPath": [
"text"
],
"projects": [
{
"artifacts": [
{
"artifactType": "BROWSER_CLIENT",
"availabilityImportance": "HIGH",
"dataConfidentialityImportance": "HIGH",
"entrypointPath": "text",
"nonProduction": true,
"otherType": "text",
"systemIntegrityImportance": "HIGH"
}
],
"boundaryIds": [
"text"
],
"buildArtifacts": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"businessFunctionIds": [
{
"description": "text",
"id": "text",
"implementation": "full"
}
],
"cacheKey": "text",
"classificationConfidence": "confirmed",
"classificationReasoning": "text",
"codeSymbols": [
{
"endLine": 1,
"filePath": "text",
"id": "text",
"kind": "class",
"language": "Apex",
"name": "text",
"parentSymbolId": "text",
"qualifiedName": "text",
"signature": "text",
"startLine": 1,
"summary": "text",
"visibility": "internal"
}
],
"dataDomainIds": [
"text"
],
"dataHandled": [
"ADDRESS"
],
"dependencyManifests": [
"text"
],
"deploymentGraph": {
"cveAssessments": [
{
"artifactDigest": "text",
"artifactIdentity": "text",
"confidence": "HIGH",
"cveNodeId": "text",
"evidenceNodeIds": [
"text"
],
"explanation": "text",
"findingId": "text",
"id": "text",
"inputIdentity": "text",
"investigationState": "ASSESSED",
"latestAttemptState": "text",
"packageNodeId": "text",
"path": [
{
"confidence": 1,
"explanation": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"sourceId": "text",
"targetId": "text",
"type": "ABOUT"
}
],
"reachability": "reachable",
"repositoryId": "text",
"revision": "text",
"severity": "text",
"sourceReportId": "text",
"unknowns": [
"text"
]
}
],
"edges": [
{
"confidence": 1,
"explanation": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"sourceId": "text",
"targetId": "text",
"type": "ABOUT"
}
],
"investigationStopReason": "text",
"nodes": [],
"pathAssessment": {
"explanation": "text",
"findingId": "text",
"sourceIds": [
"text"
],
"status": "BLOCKED",
"unknowns": [
"text"
]
}
},
"deploymentSummary": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"description": "text",
"directorySummaries": [
{
"childPaths": [
"text"
],
"keyFiles": [
"text"
],
"kind": "application",
"path": "text",
"publicInterfaces": [
"text"
],
"responsibilities": [
"text"
],
"summary": "text"
}
],
"entrypoints": [
{
"affinityHints": [
"text"
],
"apiSpecs": [
{
"content": "text",
"format": "JSON",
"name": "text",
"origin": "discovered",
"path": "text",
"type": "ASYNCAPI",
"version": "text"
}
],
"applicationTypes": [
"BROWSER_CLIENT"
],
"artifacts": [
{
"artifactName": "text",
"buildEvidencePaths": [
"text"
],
"deploymentContext": {
"isDeployed": true
},
"description": "text",
"id": "text",
"name": "text",
"nonProduction": true,
"otherArtifactType": "text",
"registries": [
{
"baseUrl": "text",
"id": "text",
"name": "text",
"otherType": "text",
"path": "text",
"type": "ARTIFACTORY"
}
],
"story": [
{
"command": "text",
"description": "text",
"otherTool": "text",
"relatedFiles": [
"text"
],
"tool": "bazel",
"type": "COPY_OR_MOVE_FILE"
}
],
"subArtifactPath": "text",
"subArtifactType": "ARCHIVE",
"type": "ARCHIVE"
}
],
"authMethods": [
"API_KEY"
],
"boundaryIds": [
"text"
],
"buildArtifacts": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"cloudInternetFacing": true,
"cloudInternetFacingConfidence": "confirmed",
"cloudInternetFacingConfidenceReason": "text",
"confidence": 1,
"dataFlowIds": [
"text"
],
"deploymentTargets": [
"text"
],
"description": "text",
"detectionConfidence": "confirmed",
"frameworkName": "text",
"id": "text",
"kind": "CLI",
"lineNumber": 1,
"name": "text",
"nodeId": "text",
"path": "text",
"ports": [
1
],
"projectPath": "text",
"protocols": [
"GRAPHQL"
],
"routes": [
{
"authMethods": [
"API_KEY"
],
"authStatus": "authenticated",
"dataDomainIds": [
"text"
],
"dataFlowIds": [
"text"
],
"filePath": "text",
"frameworkName": "text",
"handler": "text",
"handlerSymbolId": "text",
"isAuthenticated": true,
"isInternal": true,
"language": "text",
"lineNumber": 1,
"method": "CONSUME",
"operationId": "text",
"parameters": [
{
"in": "cookie",
"name": "text",
"required": true,
"sensitive": true,
"type": "array"
}
],
"path": "text",
"pathUnresolved": true,
"projectPathPrefix": "text",
"rateLimit": true,
"registrationCondition": "text",
"requestBodyFields": [
"text"
],
"requiresPrivilegedAccess": true,
"responseStatuses": [
1
],
"summary": "text",
"validationApplied": "full"
}
],
"servedHostnames": [
{
"evidence": "text",
"hostname": "text",
"pathPrefix": "text"
}
],
"sessionMechanism": "cookie",
"symbolId": "text",
"trustedServiceIds": [
"text"
]
}
],
"fileSummaries": [
{
"id": "text",
"isGenerated": true,
"isTest": true,
"language": "Apex",
"path": "text",
"projectId": "text",
"summary": "text"
}
],
"frameworks": [
{
"name": "text",
"version": "text"
}
],
"iac": {
"backend": "text",
"confidence": "confirmed",
"consumedBy": [
"text"
],
"kind": "embedded",
"modules": [
"text"
],
"reasoning": "text",
"roots": [
"text"
],
"units": [
"text"
],
"uses": [
"text"
]
},
"iacPrograms": [
{
"path": "text",
"shippedArtifact": {
"dependenciesShipped": true,
"devDependenciesShipped": true,
"evidence": [
"text"
],
"kind": "container_image"
}
}
],
"id": "text",
"importanceReasoning": "text",
"internalDependencyIds": [
"text"
],
"isTruncatedAnalysis": true,
"languages": [
"Apex"
],
"name": "text",
"orgImportance": "high",
"orgRole": "admin_surface",
"otherDataHandled": [
"text"
],
"owners": [
{
"name": "text",
"source": "text",
"type": "individual"
}
],
"pathPrefix": "text",
"projectFiles": [
"text"
],
"repositoryReferences": [
{
"description": "text",
"name": "text",
"repositoryReferenceType": "dependency",
"url": "text",
"version": "text"
}
],
"role": "application",
"securityImportance": "HIGH",
"shippedArtifact": {
"dependenciesShipped": true,
"devDependenciesShipped": true,
"evidence": [
"text"
],
"kind": "container_image"
},
"testCoverage": {
"hasIntegrationTests": true,
"hasTests": true,
"testFileCount": 1,
"testFrameworks": [
"text"
]
},
"trustedServiceIds": [
"text"
]
}
],
"public": true,
"reachabilityPaths": [
{
"artifactLinkId": "text",
"confidence": "confirmed",
"confidenceReason": "text",
"coverageGaps": [
{
"accountIds": [
"text"
],
"action": "text",
"effect": "informational",
"image": "text",
"kind": "transit_gateway",
"missing": "text",
"pathNodeIds": [
"text"
],
"reason": "text",
"region": "text",
"resourceId": "text",
"resourceType": "text"
}
],
"entrypointIds": [
"text"
],
"exposureRoot": "cross_account",
"exposureSummary": "text",
"id": "text",
"networkControls": [
"text"
],
"pathEdgeTypes": [
"ABOUT"
],
"pathNodeIds": [
"text"
],
"privateJustification": "text",
"projectId": "text",
"publicRoutes": [
{
"entrypointId": "text",
"isAuthenticated": true,
"method": "text",
"path": "text"
}
],
"workloadKind": "AWS_APP_RUNNER",
"workloadNodeId": "text"
}
],
"repositoryClassification": "application",
"repositoryReferences": [
{
"description": "text",
"isCloudToCodeConnected": true,
"name": "text",
"repositoryReferenceType": "dependency",
"url": "text"
}
],
"rootDirectorySummary": {
"childPaths": [
"text"
],
"keyFiles": [
"text"
],
"kind": "application",
"path": "text",
"publicInterfaces": [
"text"
],
"responsibilities": [
"text"
],
"summary": "text"
},
"secretsSurface": [
{
"cloudNodeId": "text",
"confidence": "confirmed",
"consumerQualifiedNames": [
"text"
],
"id": "text",
"name": "text",
"projectId": "text",
"purpose": "text",
"readEvidence": [
{
"filePath": "text",
"line": 1,
"qualifiedName": "text",
"symbol": "text"
}
],
"rotationEvidence": "automatic",
"sensitivity": "confidential",
"source": "aws_secrets_manager",
"trustedServiceId": "text"
}
],
"securityBoundaries": [
{
"cloudReconBoundaryId": "text",
"confidence": "confirmed",
"description": "text",
"evidencePaths": [
"text"
],
"exposure": "internal",
"id": "text",
"mechanismTypes": [
"AUTHENTICATION"
],
"name": "text",
"nodeIds": [
"text"
],
"reasoning": "text",
"relatedDataDomainIds": [
"text"
],
"relatedEntrypointIds": [
"text"
],
"relatedProjectIds": [
"text"
],
"trustedServiceIds": [
"text"
],
"type": "account"
}
],
"securityPosture": {
"authCoverage": "FULL",
"hasDependencyScanning": true,
"hasInputValidation": true,
"hasSecretScanning": true,
"hasStaticAnalysis": true,
"mitigatingFactors": [
"text"
],
"riskFactors": [
"text"
]
},
"securityTooling": [
{
"category": "CONTAINER_SECURITY",
"name": "text"
}
],
"sourceSinks": [
{
"argumentDigest": "text",
"category": "cache_read",
"confidence": "confirmed",
"dataClassHint": "confidential",
"dataDomainHint": "text",
"detector": "text",
"endLine": 1,
"filePath": "text",
"framework": "text",
"id": "text",
"isExternal": true,
"kind": "sanitizer",
"language": "Apex",
"projectId": "text",
"qualifiedName": "text",
"resolvedUrls": [
{
"configKey": "text",
"filePath": "text",
"line": 1,
"url": "text"
}
],
"startLine": 1,
"symbol": "text",
"symbolId": "text"
}
],
"submodules": [
{
"branch": "text",
"name": "text",
"path": "text",
"url": "text"
}
],
"technologyStack": [
{
"category": "CACHE",
"name": "text"
}
],
"toxicCombinations": [
{
"componentFindings": {
"artifactLinkIds": [
"text"
],
"dataFlowIds": [
"text"
],
"entrypointIds": [
"text"
],
"reachabilityPathIds": [
"text"
],
"routeReferences": [
{
"entrypointId": "text",
"method": "text",
"path": "text"
}
],
"secretUsageIds": [
"text"
],
"securityBoundaryIds": [
"text"
],
"trustedServiceIds": [
"text"
]
},
"confidence": "confirmed",
"description": "text",
"evidencePaths": [
"text"
],
"id": "text",
"name": "text",
"pattern": "cross_boundary_flow_without_sanitizer",
"recommendedRemediation": "text",
"severity": "CRITICAL"
}
],
"trustedServices": [
{
"accessPatterns": [
"DECRYPT"
],
"boundaryIds": [
"text"
],
"category": "CACHE",
"cloudReconServiceId": "text",
"confidence": "confirmed",
"description": "text",
"evidencePaths": [
"text"
],
"id": "text",
"name": "text",
"nodeIds": [
"text"
],
"reasoning": "text",
"relatedDataDomainIds": [
"text"
],
"relatedEntrypointIds": [
"text"
],
"relatedProjectIds": [
"text"
],
"secretsAccessPattern": "config_file",
"serviceType": "AWS_DYNAMODB"
}
]
}
],
"repositoryIds": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"version": "text"
}Get, update, and delete a repository
GET returns one repository's context, or 404. Repository contexts can exceed the 6 MB synchronous response limit, so pass preferUrl=true to receive a presigned url to download the context from instead of an inline body; when no downloadable copy exists the inline record is returned. If the presigned URL cannot be generated the call fails with a retryable error rather than returning an empty result.
Returns context about a repository
Return a presigned URL instead of the repository context inline
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
Service Unavailable
Gateway Timeout
GET /context/repositories/{repositoryId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"repository": {
"artifactLinkCoverage": {
"projects": [
{
"failedProvider": 1,
"projectId": "text",
"skippedBudget": 1,
"skippedTimeout": 1,
"undecided": 1
}
],
"unreadInputs": [
"text"
]
},
"artifactLinks": [
{
"artifactId": "text",
"confidence": "confirmed",
"description": "text",
"entrypointId": "text",
"evidencePaths": [
"text"
],
"matchMethod": "affinity_hint",
"projectId": "text",
"reasoning": "text",
"targetKind": "graph_node",
"targetNodeId": "text",
"targetRef": "text",
"workloadFamily": "text"
}
],
"authenticationMethods": [
"text"
],
"buildCoverage": {
"formatVersion": 1,
"projects": [
{
"assessment": {
"completion": "complete",
"gaps": [
{
"path": "text",
"reason": "ambiguous_owner"
}
]
},
"ownership": [
{
"baseImages": {
"dockerfileSha256": "text",
"images": [
"text"
]
},
"buildContext": "text",
"dockerfile": "text",
"evidencePaths": [
"text"
],
"image": "text",
"sourcePaths": [
"text"
],
"sourceRepository": "text",
"supportingContexts": [
"text"
],
"target": "text",
"variant": "text"
}
],
"pathPrefix": "text",
"projectId": "text"
}
],
"repository": {
"completion": "complete",
"gaps": [
{
"path": "text",
"reason": "ambiguous_owner"
}
]
},
"sourceCommit": "text"
},
"businessFunctions": [
{
"confidence": "confirmed",
"description": "text",
"id": "text",
"name": "text",
"ownedPaths": [
"text"
],
"reasoning": "text"
}
],
"cacheKey": "text",
"callEdges": [
{
"callSiteFilePath": "text",
"callSiteLine": 1,
"calleeQualifiedName": "text",
"calleeSymbolId": "text",
"callerQualifiedName": "text",
"callerSymbolId": "text",
"confidence": "confirmed",
"detector": "text",
"id": "text",
"isExternal": true,
"kind": "callback",
"language": "Apex",
"projectId": "text"
}
],
"cicdPipelineSummary": {
"prWorkflowCount": 1,
"summary": "text",
"workflows": [
{
"jobs": [
{
"name": "text",
"steps": [
{
"command": "text",
"name": "text",
"uses": "text"
}
]
}
],
"name": "text",
"path": "text",
"platform": "text",
"runsOnPr": true
}
]
},
"cloudAccounts": [
{
"accountId": "text",
"accountType": "development",
"capabilities": {
"hasApiGateway": true,
"hasCdn": true,
"hasContainerServices": true,
"hasCrossAccountReferences": true,
"hasDatabases": true,
"hasDns": true,
"hasKubernetes": true,
"hasLoadBalancers": true,
"hasServerlessFunctions": true,
"hasTransitGateway": true
},
"computeServices": [
{
"computeType": "container_service",
"internetFacing": true,
"name": "text",
"region": "text",
"trafficFlow": "text"
}
],
"internetFacingServiceCount": 1,
"narrative": "text",
"regions": [
"text"
],
"totalComputeServices": 1
}
],
"codeConventions": [
{
"category": "API_DESIGN",
"description": "text",
"evidencePaths": [
"text"
],
"scope": "text"
}
],
"commitPatterns": {
"exampleMessages": [
"text"
],
"lastUpdated": "2026-01-01T00:00:00.000Z",
"learnedFromCommits": 1,
"messageFormat": "conventional",
"prefixPatterns": [
"text"
]
},
"complianceFrameworks": [
"APRA-CPS-234"
],
"contextSummary": {
"complianceDrivers": [
"text"
],
"confidence": "confirmed",
"executiveSummary": "text",
"reasoning": "text",
"recommendedFollowups": [
"text"
],
"technicalSummary": "text",
"topRisks": [
"text"
]
},
"dataDomains": [
{
"availabilityRequirement": "CRITICAL",
"complianceFrameworks": [
"APRA-CPS-234"
],
"confidence": "confirmed",
"description": "text",
"evidence": [
{
"line": 1,
"nodeId": "text",
"path": "text",
"quote": "text"
}
],
"examplePaths": [
"text"
],
"id": "text",
"integrityRequirement": "CRITICAL",
"name": "text",
"piiCategories": [
"CREDENTIALS"
],
"reasoning": "text",
"sensitivity": "CRITICAL"
}
],
"dataFlows": [
{
"accessPattern": "DELETE",
"cloudReconDataFlowId": "text",
"codeHops": [
{
"boundaryId": "text",
"boundaryName": "text",
"callEdgeId": "text",
"filePath": "text",
"index": 1,
"line": 1,
"notes": "text",
"qualifiedName": "text",
"role": "dispatcher",
"symbol": "text",
"symbolId": "text"
}
],
"confidence": "confirmed",
"crossedBoundaryIds": [
"text"
],
"dataClassification": "confidential",
"dataDomainIds": [
"text"
],
"description": "text",
"entrypointId": "text",
"evidencePaths": [
"text"
],
"exposure": "internal",
"id": "text",
"infraConnections": {
"fullPath": "text",
"internalPath": {
"description": "text",
"exposure": "internal",
"nodes": [
{
"name": "text",
"nodeId": "text",
"type": "text"
}
]
},
"internetPath": {
"description": "text",
"exposure": "internal",
"nodes": [
{
"name": "text",
"nodeId": "text",
"type": "text"
}
]
},
"sinkPath": {
"description": "text",
"exposure": "internal",
"nodes": [
{
"name": "text",
"nodeId": "text",
"type": "text"
}
]
}
},
"name": "text",
"pathEdgeTypes": [
"ABOUT"
],
"pathNodeIds": [
"text"
],
"projectId": "text",
"protections": [
"ACCESS_CONTROLLED"
],
"sink": {
"description": "text",
"identifier": "text",
"isExternal": true,
"kind": "cache",
"nodeId": "text",
"trustedServiceId": "text"
},
"source": {
"description": "text",
"entrypointId": "text",
"identifier": "text",
"isExternal": true,
"kind": "cache_read",
"nodeId": "text",
"trustedServiceId": "text"
},
"sourceSinkIds": [
"text"
],
"validationApplied": "full"
}
],
"databases": [
{
"confidence": "confirmed",
"databaseType": "CASSANDRA",
"evidence": [
{
"line": 1,
"nodeId": "text",
"path": "text",
"quote": "text"
}
],
"name": "text",
"reasoning": "text"
}
],
"deploymentTargetDetails": [
{
"confidence": "confirmed",
"evidence": [
{
"line": 1,
"nodeId": "text",
"path": "text",
"quote": "text"
}
],
"reasoning": "text",
"source": "ci",
"target": "text"
}
],
"deploymentTargets": [
"text"
],
"description": "text",
"developmentGuidelines": {
"summary": "text",
"tools": [
{
"category": "ai_coding_assistant",
"filePath": "text",
"summary": "text",
"tool": "text"
}
]
},
"graph": {
"cveAssessments": [
{
"artifactDigest": "text",
"artifactIdentity": "text",
"confidence": "HIGH",
"cveNodeId": "text",
"evidenceNodeIds": [
"text"
],
"explanation": "text",
"findingId": "text",
"id": "text",
"inputIdentity": "text",
"investigationState": "ASSESSED",
"latestAttemptState": "text",
"packageNodeId": "text",
"path": [
{
"confidence": 1,
"explanation": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"sourceId": "text",
"targetId": "text",
"type": "ABOUT"
}
],
"reachability": "reachable",
"repositoryId": "text",
"revision": "text",
"severity": "text",
"sourceReportId": "text",
"unknowns": [
"text"
]
}
],
"edges": [
{
"confidence": 1,
"explanation": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"sourceId": "text",
"targetId": "text",
"type": "ABOUT"
}
],
"investigationStopReason": "text",
"nodes": [],
"pathAssessment": {
"explanation": "text",
"findingId": "text",
"sourceIds": [
"text"
],
"status": "BLOCKED",
"unknowns": [
"text"
]
}
},
"iacCloudLinkCoverage": {
"capped": true,
"indexFailed": true,
"inventoryUnread": true,
"reason": "text",
"unreadAccounts": [
"text"
]
},
"iacCloudLinks": [
{
"accountId": "text",
"address": "text",
"candidateCount": 1,
"cloudNodeId": "text",
"cloudSubType": "text",
"confidence": "confirmed",
"declarationId": "text",
"environments": [
"text"
],
"evidence": [
{
"line": 1,
"nodeId": "text",
"path": "text",
"quote": "text"
}
],
"file": "text",
"line": 1,
"matchMethod": "iac_identifier_exact",
"moduleDir": "text",
"reasoning": "text",
"region": "text",
"resourceType": "text",
"rootDir": "text",
"source": "cloudformation",
"status": "ambiguous",
"varFiles": [
"text"
]
}
],
"iacCoverageGaps": [
{
"accountIds": [
"text"
],
"action": "text",
"effect": "informational",
"image": "text",
"kind": "transit_gateway",
"missing": "text",
"pathNodeIds": [
"text"
],
"reason": "text",
"region": "text",
"resourceId": "text",
"resourceType": "text"
}
],
"id": "text",
"infrastructureMatches": [
{
"accountId": "text",
"accountType": "development",
"artifactName": "text",
"computeType": "container_service",
"evidence": [
{
"line": 1,
"nodeId": "text",
"path": "text",
"quote": "text"
}
],
"isInternetFacing": true,
"matchConfidence": "confirmed",
"matchDetail": "text",
"matchMethod": "affinity_hint",
"nodeId": "text",
"reasoning": "text",
"region": "text",
"serviceName": "text"
}
],
"inputValidationFrameworks": [
"text"
],
"internalDependencies": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"isInitializedOnly": true,
"isMonorepo": true,
"isOpenAPISpecAvailable": true,
"isTruncatedAnalysis": true,
"mermaidDiagram": "text",
"metadata": {
"authenticationGrounding": {
"coverage": "partial",
"heldMethods": [
"text"
],
"scope": "declared-source"
},
"generatedAt": "2026-01-01T00:00:00.000Z",
"generatorModel": "text",
"generatorPromptVersion": "text",
"warnings": [
"text"
]
},
"monitoringTooling": [
"text"
],
"name": "text",
"networkExposure": "internal",
"nonSecurityImportantPaths": [
{
"confidence": "high",
"evidence": [
"text"
],
"path": "text",
"projectIds": [
"text"
],
"reason": "docs"
}
],
"openAPISpecPath": [
"text"
],
"projects": [
{
"artifacts": [
{
"artifactType": "BROWSER_CLIENT",
"availabilityImportance": "HIGH",
"dataConfidentialityImportance": "HIGH",
"entrypointPath": "text",
"nonProduction": true,
"otherType": "text",
"systemIntegrityImportance": "HIGH"
}
],
"boundaryIds": [
"text"
],
"buildArtifacts": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"businessFunctionIds": [
{
"description": "text",
"id": "text",
"implementation": "full"
}
],
"cacheKey": "text",
"classificationConfidence": "confirmed",
"classificationReasoning": "text",
"codeSymbols": [
{
"endLine": 1,
"filePath": "text",
"id": "text",
"kind": "class",
"language": "Apex",
"name": "text",
"parentSymbolId": "text",
"qualifiedName": "text",
"signature": "text",
"startLine": 1,
"summary": "text",
"visibility": "internal"
}
],
"dataDomainIds": [
"text"
],
"dataHandled": [
"ADDRESS"
],
"dependencyManifests": [
"text"
],
"deploymentGraph": {
"cveAssessments": [
{
"artifactDigest": "text",
"artifactIdentity": "text",
"confidence": "HIGH",
"cveNodeId": "text",
"evidenceNodeIds": [
"text"
],
"explanation": "text",
"findingId": "text",
"id": "text",
"inputIdentity": "text",
"investigationState": "ASSESSED",
"latestAttemptState": "text",
"packageNodeId": "text",
"path": [
{
"confidence": 1,
"explanation": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"sourceId": "text",
"targetId": "text",
"type": "ABOUT"
}
],
"reachability": "reachable",
"repositoryId": "text",
"revision": "text",
"severity": "text",
"sourceReportId": "text",
"unknowns": [
"text"
]
}
],
"edges": [
{
"confidence": 1,
"explanation": "text",
"properties": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"sourceId": "text",
"targetId": "text",
"type": "ABOUT"
}
],
"investigationStopReason": "text",
"nodes": [],
"pathAssessment": {
"explanation": "text",
"findingId": "text",
"sourceIds": [
"text"
],
"status": "BLOCKED",
"unknowns": [
"text"
]
}
},
"deploymentSummary": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"description": "text",
"directorySummaries": [
{
"childPaths": [
"text"
],
"keyFiles": [
"text"
],
"kind": "application",
"path": "text",
"publicInterfaces": [
"text"
],
"responsibilities": [
"text"
],
"summary": "text"
}
],
"entrypoints": [
{
"affinityHints": [
"text"
],
"apiSpecs": [
{
"content": "text",
"format": "JSON",
"name": "text",
"origin": "discovered",
"path": "text",
"type": "ASYNCAPI",
"version": "text"
}
],
"applicationTypes": [
"BROWSER_CLIENT"
],
"artifacts": [
{
"artifactName": "text",
"buildEvidencePaths": [
"text"
],
"deploymentContext": {
"isDeployed": true
},
"description": "text",
"id": "text",
"name": "text",
"nonProduction": true,
"otherArtifactType": "text",
"registries": [
{
"baseUrl": "text",
"id": "text",
"name": "text",
"otherType": "text",
"path": "text",
"type": "ARTIFACTORY"
}
],
"story": [
{
"command": "text",
"description": "text",
"otherTool": "text",
"relatedFiles": [
"text"
],
"tool": "bazel",
"type": "COPY_OR_MOVE_FILE"
}
],
"subArtifactPath": "text",
"subArtifactType": "ARCHIVE",
"type": "ARCHIVE"
}
],
"authMethods": [
"API_KEY"
],
"boundaryIds": [
"text"
],
"buildArtifacts": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"cloudInternetFacing": true,
"cloudInternetFacingConfidence": "confirmed",
"cloudInternetFacingConfidenceReason": "text",
"confidence": 1,
"dataFlowIds": [
"text"
],
"deploymentTargets": [
"text"
],
"description": "text",
"detectionConfidence": "confirmed",
"frameworkName": "text",
"id": "text",
"kind": "CLI",
"lineNumber": 1,
"name": "text",
"nodeId": "text",
"path": "text",
"ports": [
1
],
"projectPath": "text",
"protocols": [
"GRAPHQL"
],
"routes": [
{
"authMethods": [
"API_KEY"
],
"authStatus": "authenticated",
"dataDomainIds": [
"text"
],
"dataFlowIds": [
"text"
],
"filePath": "text",
"frameworkName": "text",
"handler": "text",
"handlerSymbolId": "text",
"isAuthenticated": true,
"isInternal": true,
"language": "text",
"lineNumber": 1,
"method": "CONSUME",
"operationId": "text",
"parameters": [
{
"in": "cookie",
"name": "text",
"required": true,
"sensitive": true,
"type": "array"
}
],
"path": "text",
"pathUnresolved": true,
"projectPathPrefix": "text",
"rateLimit": true,
"registrationCondition": "text",
"requestBodyFields": [
"text"
],
"requiresPrivilegedAccess": true,
"responseStatuses": [
1
],
"summary": "text",
"validationApplied": "full"
}
],
"servedHostnames": [
{
"evidence": "text",
"hostname": "text",
"pathPrefix": "text"
}
],
"sessionMechanism": "cookie",
"symbolId": "text",
"trustedServiceIds": [
"text"
]
}
],
"fileSummaries": [
{
"id": "text",
"isGenerated": true,
"isTest": true,
"language": "Apex",
"path": "text",
"projectId": "text",
"summary": "text"
}
],
"frameworks": [
{
"name": "text",
"version": "text"
}
],
"iac": {
"backend": "text",
"confidence": "confirmed",
"consumedBy": [
"text"
],
"kind": "embedded",
"modules": [
"text"
],
"reasoning": "text",
"roots": [
"text"
],
"units": [
"text"
],
"uses": [
"text"
]
},
"iacPrograms": [
{
"path": "text",
"shippedArtifact": {
"dependenciesShipped": true,
"devDependenciesShipped": true,
"evidence": [
"text"
],
"kind": "container_image"
}
}
],
"id": "text",
"importanceReasoning": "text",
"internalDependencyIds": [
"text"
],
"isTruncatedAnalysis": true,
"languages": [
"Apex"
],
"name": "text",
"orgImportance": "high",
"orgRole": "admin_surface",
"otherDataHandled": [
"text"
],
"owners": [
{
"name": "text",
"source": "text",
"type": "individual"
}
],
"pathPrefix": "text",
"projectFiles": [
"text"
],
"repositoryReferences": [
{
"description": "text",
"name": "text",
"repositoryReferenceType": "dependency",
"url": "text",
"version": "text"
}
],
"role": "application",
"securityImportance": "HIGH",
"shippedArtifact": {
"dependenciesShipped": true,
"devDependenciesShipped": true,
"evidence": [
"text"
],
"kind": "container_image"
},
"testCoverage": {
"hasIntegrationTests": true,
"hasTests": true,
"testFileCount": 1,
"testFrameworks": [
"text"
]
},
"trustedServiceIds": [
"text"
]
}
],
"public": true,
"reachabilityPaths": [
{
"artifactLinkId": "text",
"confidence": "confirmed",
"confidenceReason": "text",
"coverageGaps": [
{
"accountIds": [
"text"
],
"action": "text",
"effect": "informational",
"image": "text",
"kind": "transit_gateway",
"missing": "text",
"pathNodeIds": [
"text"
],
"reason": "text",
"region": "text",
"resourceId": "text",
"resourceType": "text"
}
],
"entrypointIds": [
"text"
],
"exposureRoot": "cross_account",
"exposureSummary": "text",
"id": "text",
"networkControls": [
"text"
],
"pathEdgeTypes": [
"ABOUT"
],
"pathNodeIds": [
"text"
],
"privateJustification": "text",
"projectId": "text",
"publicRoutes": [
{
"entrypointId": "text",
"isAuthenticated": true,
"method": "text",
"path": "text"
}
],
"workloadKind": "AWS_APP_RUNNER",
"workloadNodeId": "text"
}
],
"repositoryClassification": "application",
"repositoryReferences": [
{
"description": "text",
"isCloudToCodeConnected": true,
"name": "text",
"repositoryReferenceType": "dependency",
"url": "text"
}
],
"rootDirectorySummary": {
"childPaths": [
"text"
],
"keyFiles": [
"text"
],
"kind": "application",
"path": "text",
"publicInterfaces": [
"text"
],
"responsibilities": [
"text"
],
"summary": "text"
},
"secretsSurface": [
{
"cloudNodeId": "text",
"confidence": "confirmed",
"consumerQualifiedNames": [
"text"
],
"id": "text",
"name": "text",
"projectId": "text",
"purpose": "text",
"readEvidence": [
{
"filePath": "text",
"line": 1,
"qualifiedName": "text",
"symbol": "text"
}
],
"rotationEvidence": "automatic",
"sensitivity": "confidential",
"source": "aws_secrets_manager",
"trustedServiceId": "text"
}
],
"securityBoundaries": [
{
"cloudReconBoundaryId": "text",
"confidence": "confirmed",
"description": "text",
"evidencePaths": [
"text"
],
"exposure": "internal",
"id": "text",
"mechanismTypes": [
"AUTHENTICATION"
],
"name": "text",
"nodeIds": [
"text"
],
"reasoning": "text",
"relatedDataDomainIds": [
"text"
],
"relatedEntrypointIds": [
"text"
],
"relatedProjectIds": [
"text"
],
"trustedServiceIds": [
"text"
],
"type": "account"
}
],
"securityPosture": {
"authCoverage": "FULL",
"hasDependencyScanning": true,
"hasInputValidation": true,
"hasSecretScanning": true,
"hasStaticAnalysis": true,
"mitigatingFactors": [
"text"
],
"riskFactors": [
"text"
]
},
"securityTooling": [
{
"category": "CONTAINER_SECURITY",
"name": "text"
}
],
"sourceSinks": [
{
"argumentDigest": "text",
"category": "cache_read",
"confidence": "confirmed",
"dataClassHint": "confidential",
"dataDomainHint": "text",
"detector": "text",
"endLine": 1,
"filePath": "text",
"framework": "text",
"id": "text",
"isExternal": true,
"kind": "sanitizer",
"language": "Apex",
"projectId": "text",
"qualifiedName": "text",
"resolvedUrls": [
{
"configKey": "text",
"filePath": "text",
"line": 1,
"url": "text"
}
],
"startLine": 1,
"symbol": "text",
"symbolId": "text"
}
],
"submodules": [
{
"branch": "text",
"name": "text",
"path": "text",
"url": "text"
}
],
"technologyStack": [
{
"category": "CACHE",
"name": "text"
}
],
"toxicCombinations": [
{
"componentFindings": {
"artifactLinkIds": [
"text"
],
"dataFlowIds": [
"text"
],
"entrypointIds": [
"text"
],
"reachabilityPathIds": [
"text"
],
"routeReferences": [
{
"entrypointId": "text",
"method": "text",
"path": "text"
}
],
"secretUsageIds": [
"text"
],
"securityBoundaryIds": [
"text"
],
"trustedServiceIds": [
"text"
]
},
"confidence": "confirmed",
"description": "text",
"evidencePaths": [
"text"
],
"id": "text",
"name": "text",
"pattern": "cross_boundary_flow_without_sanitizer",
"recommendedRemediation": "text",
"severity": "CRITICAL"
}
],
"trustedServices": [
{
"accessPatterns": [
"DECRYPT"
],
"boundaryIds": [
"text"
],
"category": "CACHE",
"cloudReconServiceId": "text",
"confidence": "confirmed",
"description": "text",
"evidencePaths": [
"text"
],
"id": "text",
"name": "text",
"nodeIds": [
"text"
],
"reasoning": "text",
"relatedDataDomainIds": [
"text"
],
"relatedEntrypointIds": [
"text"
],
"relatedProjectIds": [
"text"
],
"secretsAccessPattern": "config_file",
"serviceType": "AWS_DYNAMODB"
}
]
},
"url": "text",
"version": "text"
}PATCH updates the repository record; the only field it applies is name. It returns an empty body on success and 404 for an unknown id.
Updates the classification of a repository
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
Internal Server Error
PATCH /context/repositories/{repositoryId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}No content
DELETE permanently removes the repository's stored context record for your tenant (a hard delete, not a tombstone). It does not touch the repository in your git provider, and a later repo-context run can create the record again. Unknown ids return 404.
Deletes a repository permanently
ID of the repository 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
OK
Bad Request
Forbidden
Not Found
Internal Server Error
DELETE /context/repositories/{repositoryId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"message": "text",
"success": true,
"version": "text"
}Trigger repository context
Starts a repo-context run for one repository against the head of branch (the default branch when omitted) and returns a runId with the resolved commitSha. This starts a job; poll Get a repo context scan with the runId as scanId. Optional body fields: force regenerates context even if the stored one is current; pathPrefixes and subagents restrict the run, are only valid on the default branch, and require a stored full context first (otherwise 400). A full run needs your organization context to exist, otherwise the call fails with 412. An unresolvable branch head also fails with 412, and 404 means the repository is not visible to your installation. A 503 means the run could not be started on your deployment.
Starts a repo-context run against the repository's current head and returns its run id. Read its state from GET /context/repo-scans/{scanId}.
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
POST /context/repositories/{repositoryId}/repo-context/trigger HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"branch": "text",
"force": true,
"pathPrefixes": [
"text"
],
"subagents": [
"text"
]
}{
"branch": "text",
"commitSha": "text",
"executionArn": "text",
"repositoryId": "text",
"runId": "text",
"version": "text"
}Projects
A project is a buildable unit inside a repository, such as a service or package. Project routes live under a repository id.
List projects
Lists the projects of one repository, with limit, nextToken, and includeDeleted=true to include soft-deleted projects.
Lists all projects in a repository with optional pagination and filtering
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
Internal Server Error
GET /context/repositories/{repositoryId}/projects HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"nextToken": "text",
"projects": [
{
"description": "text",
"id": "text",
"isDeleted": true,
"name": "text",
"path": "text",
"pathPrefix": "text",
"repositoryId": "text"
}
],
"version": "text"
}Get, update, and delete a project
GET returns one project, or 404.
Retrieves a single project by 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
OK
Not Found
Internal Server Error
GET /context/repositories/{repositoryId}/projects/{projectId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"project": {
"createdAt": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"description": "text",
"id": "text",
"isDeleted": true,
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"name": "text",
"path": "text",
"repositoryId": "text",
"tags": [
"text"
],
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"version": "text"
}PATCH updates a project's description, tags, metadata, and the isDeleted/deletedAt markers. Invalid description, tags, or metadata return 400; an unknown project returns 404.
Updates a project's metadata and properties
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
Not Found
Internal Server Error
PATCH /context/repositories/{repositoryId}/projects/{projectId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 144
{
"deletedAt": "2026-01-01T00:00:00.000Z",
"description": "text",
"isDeleted": true,
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"tags": [
"text"
]
}{
"success": true,
"version": "text"
}DELETE soft-deletes the project and returns 404 for an unknown project.
Soft-delete a project
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
DELETE /context/repositories/{repositoryId}/projects/{projectId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"message": "text",
"success": true
}Project schemas
A project schema is the API description (OpenAPI, Proto, or GraphQL) Nullify extracted for a project, or one you uploaded.
List schemas
Lists the stored schemas for every project in your tenant, with type, format, size, and a presigned downloadUrl for each. There is no paging or filtering, the listing covers at most 10,000 non-deleted projects, and projects without a stored schema are omitted.
Lists all project schemas across all repositories
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
Internal Server Error
GET /context/schemas HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"schemas": [
{
"downloadUrl": "text",
"projectId": "text",
"projectName": "text",
"provenance": {
"executionMode": "text",
"methodUnknownOperations": 1,
"partial": true,
"unconfirmed": true,
"unverifiedOperations": 1,
"verifiedAgainstCode": true
},
"repositoryId": "text",
"schemaFormat": "JSON",
"schemaType": "GRAPHQL",
"size": 1
}
],
"version": "text"
}Get a project schema
Returns the schema body for one project with its type and format, or 404 when none has been stored yet.
Returns the API schema a project serves, with the provenance context recorded for it. apiName or origin picks one of the project's per-API specs; an origin that matches several is refused with multiple_origin_specs, and a project with only unbound per-API specs with not_bound.
Serve this named API of the project; wins over origin
Serve the project's API whose canonical host equals this origin
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
Not Found
Precondition Failed
Internal Server Error
GET /context/repositories/{repositoryId}/projects/{projectId}/schema HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"format": "JSON",
"schema": "text",
"specProvenance": {
"actorKind": "text",
"apiName": "text",
"apiOrigin": "text",
"artifactId": "text",
"basis": "text",
"digest": "text",
"operations": {
"ANY_ADDITIONAL_PROPERTY": {
"asserted": true,
"citation": "text",
"source": "text"
}
},
"origin": "text",
"pipeline": "text",
"refresh": "text",
"sourceCommit": "text",
"validation": "text"
},
"type": "GRAPHQL",
"version": "text"
}Upload a project schema
Stores a schema under the repository and project ids, replacing any existing one. The body requires type, format, and content (the schema text). Use ids from the list operations: upload does not verify that the project exists.
Uploads a supplied API schema for a project. It is served ahead of any reversed schema until it is retired or handed back. An OpenAPI spec must validate and is stored as canonical JSON.
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
What the uploader states about the spec: customer-own (the customer's own spec of the API) or derived (default)
OK
Bad Request
Forbidden
Not Found
Conflict
Internal Server Error
POST /context/repositories/{repositoryId}/projects/{projectId}/schema HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"basis": "customer-own",
"content": "text",
"format": "JSON",
"type": "GRAPHQL"
}{
"message": "text",
"version": "text"
}Get project schema metadata
Returns the schema's type, format, size in bytes, provenance, and a presigned downloadUrl without the body. numEndpoints is the number of operations the document declares: OpenAPI and Swagger operations, GraphQL SDL root fields, or gRPC methods. It is 0 for other schema types and for a document that cannot be counted; provenance says whether code confirmed them. Returns 404 when no schema is stored.
Returns the metadata for a given project schema, including who produced it (source, actor), its lifecycle and its digest
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
Who published the served schema: a user id, or a service label such as service#operator-cli
Hex SHA-256 of the served schema
active; retired (served until a reversal replaces or clears it); handed_back (a later reversal replaces it)
Hex SHA-256 of the schema the served one replaced
When the served schema was published; absent on a schema stored before it was recorded
Who produced the served schema: reversed (the schema-reversing agent) or supplied (an upload)
Not Found
Internal Server Error
GET /context/repositories/{repositoryId}/projects/{projectId}/schema/metadata HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"actor": "text",
"digest": "text",
"downloadUrl": "text",
"format": "JSON",
"lifecycle": "active",
"numEndpoints": 1,
"previousDigest": "text",
"provenance": {
"executionMode": "text",
"methodUnknownOperations": 1,
"partial": true,
"unconfirmed": true,
"unverifiedOperations": 1,
"verifiedAgainstCode": true
},
"publishedAt": "2026-01-01T00:00:00.000Z",
"size": 1,
"source": "reversed",
"type": "GRAPHQL",
"version": "text"
}Get the raw project schema file
Returns a presigned downloadUrl, contentType, and suggested fileName for the original spec file, ready to import into a viewer. Returns 404 when no schema is stored.
Returns a presigned download URL for the raw API spec file (OpenAPI JSON/YAML, Proto, or GraphQL SDL) that can be rendered or imported directly: the served spec, or with digest an earlier published one
Hex SHA-256 of an earlier published schema of the project; the served schema when empty
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
MIME type of the file, e.g. application/json, application/yaml, text/plain
Presigned URL for the raw spec file (OpenAPI JSON/YAML, Proto, GraphQL SDL)
Suggested filename, e.g. schema.openapi.json, schema.proto
Bad Request
Not Found
Internal Server Error
GET /context/repositories/{repositoryId}/projects/{projectId}/schema/raw HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"contentType": "text",
"downloadUrl": "text",
"fileName": "text"
}Trigger project schema reversing
Starts a schema-reversing run for one project against the repository's stored repo context and returns a runId, commitSha, and branch (optional body field, default branch when omitted). It starts a job; poll Get a repo context scan with the runId. The call has the same 404, 412 (head unresolved) and 503 outcomes as repo-context trigger, and 404 if the project is not in that repository.
Starts a schema-reversing run for one project against the repository's stored repo context and returns its run id. Read its state from GET /context/repo-scans/{scanId}.
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
Start a fresh attempt instead of joining one running at the same commit. Operator CLI only; needs reason.
Audit reason for a forced run; required with force.
Fail the attempt when it commits no usable spec. Operator CLI only; default branch with spec discovery on.
OK
Bad Request
Forbidden
Not Found
Precondition Failed
Internal Server Error
Service Unavailable
POST /context/repositories/{repositoryId}/projects/{projectId}/schema/trigger HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"branch": "text",
"force": true,
"reason": "text",
"requireSchema": true
}{
"attemptId": "text",
"branch": "text",
"commitSha": "text",
"decision": "text",
"executionArn": "text",
"projectId": "text",
"reason": "text",
"repositoryId": "text",
"requestId": "text",
"runId": "text",
"version": "text"
}Execution recipes
An execution recipe is a set of setup, build, test, and run commands that Nullify proved inside a sandbox with no credentials. Recipes are only ever safe to run in a sandbox. Reading a recipe is always available; starting discovery depends on the feature being enabled for your tenant.
Start repository execution recipe discovery
Queues a validation run for each project of the repository (limit it with projectIds) and starts the sandbox pipeline at the head commit of branch (default branch when omitted). The response gives runId, commitSha, mode, queued targets, and refused targets with reasons. Asking again for the same projects at the same commit attaches to the run already in progress (alreadyStarted: true). 503 is returned when execution recipes are not enabled for your tenant or the pipeline is unavailable, and 412 when the branch head cannot be resolved.
Queues a validation run for each of a repository's projects and starts the sandbox pipeline that works out how to build, test and run them at the head of a branch. Asking twice for the same projects of the same commit attaches to the run that is already going.
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
The branch whose head commit the run proves, defaulting to the repository's default branch
The projects to prove, defaulting to every project of the repository
OK
Bad Request
Forbidden
Not Found
Precondition Failed
Internal Server Error
Service Unavailable
POST /context/repositories/{repositoryId}/execution-recipes/discover HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"branch": "text",
"projectIds": [
"text"
]
}{
"alreadyStarted": true,
"branch": "text",
"commitSha": "text",
"executionArn": "text",
"executionName": "text",
"mode": "discover",
"queued": [
{
"applicationId": "text",
"attemptCount": 1,
"authorityRevision": 1,
"completedAt": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"dueAt": "2026-01-01T00:00:00.000Z",
"durationMs": 1,
"executionArn": "text",
"failureCode": "text",
"id": "text",
"inputHash": "text",
"kind": "project",
"lastError": "text",
"projectId": "text",
"repositoryId": "text",
"sourceCommit": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "pending",
"trigger": "discovery"
}
],
"refused": [
{
"applicationId": "text",
"kind": "project",
"projectId": "text",
"reason": "text",
"repositoryId": "text"
}
],
"runId": "text"
}Get a project execution recipe
Resolves what to run to stand a project up at a commit, or why nothing can be served. Pass commitSha, or an inputHash of your own checkout when Nullify has never seen the commit. Describe your sandbox with docker=true and capabilities (comma separated, for example docker_compose,network,service_postgres), and set allowEdits=false if you will not apply file edits a recipe carries (it then returns incompatible instead of such a recipe). The resolution.status is one of valid, stale_with_last_known_good, incompatible, or unavailable; an unknown capability name returns 400.
Returns the proven setup, build, test and run commands for a project at a commit, or why none can be served. Every recipe is proved in a sandbox holding no credentials and is only ever safe to run in one.
The commit the caller wants to stand the target up at
The build input hash the caller computed from its own checkout, used when Context has never observed the commit
Whether the caller's sandbox provides a Docker daemon
Comma separated sandbox capabilities beyond docker, from docker_compose, network, nested_virtualization, gpu, service_postgres, service_mysql, service_redis, service_mongo, service_elasticsearch, service_kafka
Whether the caller will apply the file edits a recipe carries. Defaults to true; false returns incompatible rather than a recipe the caller would refuse
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
GET /context/repositories/{repositoryId}/projects/{projectId}/execution-recipe HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"resolution": {
"commitSha": "text",
"compatibility": "exact_commit",
"observedInputHash": "text",
"reason": "text",
"recipe": {
"applicationId": "text",
"capabilities": {
"ANY_ADDITIONAL_PROPERTY": {
"reason": "text",
"status": "supported",
"testOutcome": "passed"
}
},
"components": [
{
"componentRecipeId": "text",
"projectId": "text",
"proof": "text",
"repositoryId": "text",
"serviceName": "text",
"status": "text",
"version": 1
}
],
"composePath": "text",
"confidence": 1,
"cpuMillicores": 1,
"discoveredAt": "2026-01-01T00:00:00.000Z",
"diskMib": 1,
"dotnetSetup": {
"command": "text",
"configuration": "text",
"configurationInputs": [
"text"
],
"framework": "text",
"invocation": "text",
"permittedTestPath": "text",
"platform": "text",
"productionProject": "text",
"projectSdk": "text",
"requestedSdk": "text",
"sdkAllowPrerelease": "text",
"sdkRollForward": "text",
"targetFrameworks": [
"text"
],
"testPlatform": "text",
"testProject": "text",
"workingDir": "text"
},
"ecosystem": "text",
"edits": [
{
"content": "text",
"operation": "write",
"ordinal": 1,
"originalSha256": "text",
"path": "text",
"phase": "text",
"reviewReason": "text",
"reviewVerdict": "setup"
}
],
"envNames": [
"text"
],
"failureCode": "text",
"id": "text",
"inputHash": "text",
"kind": "project",
"memoryMib": 1,
"packageManager": "text",
"projectId": "text",
"projectPath": "text",
"proof": "replayed",
"readiness": {
"path": "text",
"port": 1,
"timeoutSeconds": 1
},
"repositoryId": "text",
"requirements": [
"text"
],
"runOutcome": "started",
"sandboxImage": "text",
"sandboxImageVersion": "text",
"sourceCommit": "text",
"staleAt": "2026-01-01T00:00:00.000Z",
"staleReason": "text",
"status": "valid",
"steps": [
{
"background": true,
"command": "text",
"envNames": [
"text"
],
"expectedExitCode": 1,
"id": "text",
"ordinal": 1,
"phase": "bootstrap",
"readinessProven": true,
"requirements": [
"text"
],
"timeoutSeconds": 1,
"workingDir": "text"
}
],
"testOutcome": "passed",
"toolchainImageDigest": "text",
"validatedAt": "2026-01-01T00:00:00.000Z",
"validationId": "text",
"version": 1
},
"status": "valid",
"trust": "sandbox_only",
"unmetRequirements": [
"text"
]
}
}List project execution recipe versions
Lists a project's recipe versions, newest first, without their commands. Page with limit (default 50, maximum 200) and offset. To read the commands of a version, use the resolve call above.
Returns a project's recipe versions newest first, without their commands. Read one version's commands through the resolve endpoint.
Versions per page, default 50, max 200
Versions to skip before the page
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
GET /context/repositories/{repositoryId}/projects/{projectId}/execution-recipe/versions HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"limit": 1,
"offset": 1,
"versions": [
{
"applicationId": "text",
"capabilities": {
"ANY_ADDITIONAL_PROPERTY": {
"reason": "text",
"status": "supported",
"testOutcome": "passed"
}
},
"components": [
{
"componentRecipeId": "text",
"projectId": "text",
"proof": "text",
"repositoryId": "text",
"serviceName": "text",
"status": "text",
"version": 1
}
],
"composePath": "text",
"confidence": 1,
"cpuMillicores": 1,
"discoveredAt": "2026-01-01T00:00:00.000Z",
"diskMib": 1,
"dotnetSetup": {
"command": "text",
"configuration": "text",
"configurationInputs": [
"text"
],
"framework": "text",
"invocation": "text",
"permittedTestPath": "text",
"platform": "text",
"productionProject": "text",
"projectSdk": "text",
"requestedSdk": "text",
"sdkAllowPrerelease": "text",
"sdkRollForward": "text",
"targetFrameworks": [
"text"
],
"testPlatform": "text",
"testProject": "text",
"workingDir": "text"
},
"ecosystem": "text",
"edits": [
{
"content": "text",
"operation": "write",
"ordinal": 1,
"originalSha256": "text",
"path": "text",
"phase": "text",
"reviewReason": "text",
"reviewVerdict": "setup"
}
],
"envNames": [
"text"
],
"failureCode": "text",
"id": "text",
"inputHash": "text",
"kind": "project",
"memoryMib": 1,
"packageManager": "text",
"projectId": "text",
"projectPath": "text",
"proof": "replayed",
"readiness": {
"path": "text",
"port": 1,
"timeoutSeconds": 1
},
"repositoryId": "text",
"requirements": [
"text"
],
"runOutcome": "started",
"sandboxImage": "text",
"sandboxImageVersion": "text",
"sourceCommit": "text",
"staleAt": "2026-01-01T00:00:00.000Z",
"staleReason": "text",
"status": "valid",
"steps": [
{
"background": true,
"command": "text",
"envNames": [
"text"
],
"expectedExitCode": 1,
"id": "text",
"ordinal": 1,
"phase": "bootstrap",
"readinessProven": true,
"requirements": [
"text"
],
"timeoutSeconds": 1,
"workingDir": "text"
}
],
"testOutcome": "passed",
"toolchainImageDigest": "text",
"validatedAt": "2026-01-01T00:00:00.000Z",
"validationId": "text",
"version": 1
}
]
}List project execution recipe validations
Lists the discovery and revalidation runs for a project's recipe, newest first, including their cost and failure reasons. Page with limit (default 50, maximum 200) and offset.
Returns the discovery and revalidation runs of a project's recipe, newest first, with what each run cost and why it failed.
Runs per page, default 50, max 200
Runs to skip before the page
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
GET /context/repositories/{repositoryId}/projects/{projectId}/execution-recipe/validations HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"limit": 1,
"offset": 1,
"validations": [
{
"applicationId": "text",
"attemptCount": 1,
"authorityRevision": 1,
"completedAt": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"dueAt": "2026-01-01T00:00:00.000Z",
"durationMs": 1,
"executionArn": "text",
"failureCode": "text",
"id": "text",
"inputHash": "text",
"kind": "project",
"lastError": "text",
"projectId": "text",
"repositoryId": "text",
"sourceCommit": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "pending",
"trigger": "discovery"
}
]
}Get an application execution recipe
Resolves a recipe for a whole application, with the same query parameters and response as the project call. An application whose components span more than one repository has no single recipe target and returns 400.
Returns the proven commands that stand a whole application up at a commit, or why none can be served. An application whose components span more than one repository has no single recipe target and is rejected.
The commit the caller wants to stand the target up at
The build input hash the caller computed from its own checkout, used when Context has never observed the commit
Whether the caller's sandbox provides a Docker daemon
Comma separated sandbox capabilities beyond docker, from docker_compose, network, nested_virtualization, gpu, service_postgres, service_mysql, service_redis, service_mongo, service_elasticsearch, service_kafka
Whether the caller will apply the file edits a recipe carries. Defaults to true; false returns incompatible rather than a recipe the caller would refuse
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
GET /context/applications/{applicationId}/execution-recipe HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"resolution": {
"commitSha": "text",
"compatibility": "exact_commit",
"observedInputHash": "text",
"reason": "text",
"recipe": {
"applicationId": "text",
"capabilities": {
"ANY_ADDITIONAL_PROPERTY": {
"reason": "text",
"status": "supported",
"testOutcome": "passed"
}
},
"components": [
{
"componentRecipeId": "text",
"projectId": "text",
"proof": "text",
"repositoryId": "text",
"serviceName": "text",
"status": "text",
"version": 1
}
],
"composePath": "text",
"confidence": 1,
"cpuMillicores": 1,
"discoveredAt": "2026-01-01T00:00:00.000Z",
"diskMib": 1,
"dotnetSetup": {
"command": "text",
"configuration": "text",
"configurationInputs": [
"text"
],
"framework": "text",
"invocation": "text",
"permittedTestPath": "text",
"platform": "text",
"productionProject": "text",
"projectSdk": "text",
"requestedSdk": "text",
"sdkAllowPrerelease": "text",
"sdkRollForward": "text",
"targetFrameworks": [
"text"
],
"testPlatform": "text",
"testProject": "text",
"workingDir": "text"
},
"ecosystem": "text",
"edits": [
{
"content": "text",
"operation": "write",
"ordinal": 1,
"originalSha256": "text",
"path": "text",
"phase": "text",
"reviewReason": "text",
"reviewVerdict": "setup"
}
],
"envNames": [
"text"
],
"failureCode": "text",
"id": "text",
"inputHash": "text",
"kind": "project",
"memoryMib": 1,
"packageManager": "text",
"projectId": "text",
"projectPath": "text",
"proof": "replayed",
"readiness": {
"path": "text",
"port": 1,
"timeoutSeconds": 1
},
"repositoryId": "text",
"requirements": [
"text"
],
"runOutcome": "started",
"sandboxImage": "text",
"sandboxImageVersion": "text",
"sourceCommit": "text",
"staleAt": "2026-01-01T00:00:00.000Z",
"staleReason": "text",
"status": "valid",
"steps": [
{
"background": true,
"command": "text",
"envNames": [
"text"
],
"expectedExitCode": 1,
"id": "text",
"ordinal": 1,
"phase": "bootstrap",
"readinessProven": true,
"requirements": [
"text"
],
"timeoutSeconds": 1,
"workingDir": "text"
}
],
"testOutcome": "passed",
"toolchainImageDigest": "text",
"validatedAt": "2026-01-01T00:00:00.000Z",
"validationId": "text",
"version": 1
},
"status": "valid",
"trust": "sandbox_only",
"unmetRequirements": [
"text"
]
}
}Repo context scans
A repo context scan records one context run against a repository at a commit. The platform writes these when you trigger a run; the create and update calls let a client that runs the analysis itself record the same lifecycle.
List repo context scans
Lists scans, newest first, with page and pageSize. Filter by repositoryId, commitSha (requires repositoryId; returns that commit's latest scan only), and status (not combinable with commitSha). versionsOnly=true (requires repositoryId, no status or page) returns the repository's context version history, capped by pageSize. Invalid combinations return 400.
Lists repo-context scans for the calling tenant. Filter by repositoryId, commitSha, status, or versionsOnly (repositoryId required, newest-first version history). Returns newest first.
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/repo-scans HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"page": 1,
"pageSize": 1,
"scans": [
{
"baseContextVersion": "text",
"branch": "text",
"commitSha": "text",
"completedAt": "2026-01-01T00:00:00.000Z",
"contextVersion": "text",
"errorMessage": "text",
"executionArn": "text",
"id": "text",
"projectsTouched": [
{
"path": "text",
"projectId": "text"
}
],
"publishedAsLatest": true,
"repositoryId": "text",
"sbomsGenerated": [
{
"ecosystem": "text",
"projectId": "text",
"s3Key": "text"
}
],
"scopePathPrefixes": [
"text"
],
"source": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "text",
"subagentAllowlist": [
"text"
],
"subagentsRun": {
"ANY_ADDITIONAL_PROPERTY": {
"completedAt": "2026-01-01T00:00:00.000Z",
"durationMs": 1,
"error": "text",
"ran": true,
"reused": true,
"skipReason": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "text"
}
},
"updatedAt": "2026-01-01T00:00:00.000Z"
}
],
"total": 1,
"version": "text"
}Create a repo context scan
Records the start of a run: repositoryId and commitSha are required, and branch, status, subagentsRun, projectsTouched, and sbomsGenerated are optional. It creates a record only; it does not start analysis (use the trigger calls to start one). The persisted scan, with its generated id, is returned.
Records the start of a context-service run against a repository. Returns the persisted scan with a generated 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
OK
Bad Request
Forbidden
Internal Server Error
POST /context/repo-scans HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 419
{
"branch": "text",
"commitSha": "text",
"projectsTouched": [
{
"path": "text",
"projectId": "text"
}
],
"repositoryId": "text",
"sbomsGenerated": [
{
"ecosystem": "text",
"projectId": "text",
"s3Key": "text"
}
],
"status": "text",
"subagentsRun": {
"ANY_ADDITIONAL_PROPERTY": {
"completedAt": "2026-01-01T00:00:00.000Z",
"durationMs": 1,
"error": "text",
"ran": true,
"reused": true,
"skipReason": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "text"
}
}
}{
"scan": {
"baseContextVersion": "text",
"branch": "text",
"commitSha": "text",
"completedAt": "2026-01-01T00:00:00.000Z",
"contextVersion": "text",
"errorMessage": "text",
"executionArn": "text",
"id": "text",
"projectsTouched": [
{
"path": "text",
"projectId": "text"
}
],
"publishedAsLatest": true,
"repositoryId": "text",
"sbomsGenerated": [
{
"ecosystem": "text",
"projectId": "text",
"s3Key": "text"
}
],
"scopePathPrefixes": [
"text"
],
"source": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "text",
"subagentAllowlist": [
"text"
],
"subagentsRun": {
"ANY_ADDITIONAL_PROPERTY": {
"completedAt": "2026-01-01T00:00:00.000Z",
"durationMs": 1,
"error": "text",
"ran": true,
"reused": true,
"skipReason": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "text"
}
},
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"version": "text"
}Get and update a repo context scan
GET returns the scan and its lifecycle as a run (run.state, run.terminal), so it is the call to poll after a trigger. A triggered run whose execution ended without recording an outcome is reported as failed. Returns 404 for an unknown id.
Returns a single repo-context scan by id, with its lifecycle as a run. A triggered scan whose execution ended without recording an outcome is marked failed.
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/repo-scans/{scanId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"run": {
"completedAt": "text",
"error": "text",
"runId": "text",
"startedAt": "text",
"state": "PENDING",
"terminal": true
},
"scan": {
"baseContextVersion": "text",
"branch": "text",
"commitSha": "text",
"completedAt": "2026-01-01T00:00:00.000Z",
"contextVersion": "text",
"errorMessage": "text",
"executionArn": "text",
"id": "text",
"projectsTouched": [
{
"path": "text",
"projectId": "text"
}
],
"publishedAsLatest": true,
"repositoryId": "text",
"sbomsGenerated": [
{
"ecosystem": "text",
"projectId": "text",
"s3Key": "text"
}
],
"scopePathPrefixes": [
"text"
],
"source": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "text",
"subagentAllowlist": [
"text"
],
"subagentsRun": {
"ANY_ADDITIONAL_PROPERTY": {
"completedAt": "2026-01-01T00:00:00.000Z",
"durationMs": 1,
"error": "text",
"ran": true,
"reused": true,
"skipReason": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "text"
}
},
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"specAttempts": [
{
"artifactIds": [
"text"
],
"disposition": "text",
"executionName": "text",
"id": "text",
"mode": "off",
"projectId": "text",
"reason": "text",
"reasonCode": "text",
"repositoryId": "text",
"requestedCommit": "text",
"requests": [
{
"actor": "text",
"decision": "text",
"id": "text",
"requireSchema": true,
"trigger": "text",
"triggerRef": "text"
}
],
"requireSchema": true,
"status": "queued"
}
],
"version": "text"
}PATCH updates status, completedAt, subagentsRun, projectsTouched, sbomsGenerated, and errorMessage on an existing scan; an invalid status returns 400, long error messages are truncated, and an unknown id returns 404.
Patches status, subagent execution metadata, projects touched, SBOMs generated, or error message on an existing repo-context scan.
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
Conflict
Internal Server Error
PATCH /context/repo-scans/{scanId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 425
{
"completedAt": "2026-01-01T00:00:00.000Z",
"errorMessage": "text",
"projectsTouched": [
{
"path": "text",
"projectId": "text"
}
],
"sbomsGenerated": [
{
"ecosystem": "text",
"projectId": "text",
"s3Key": "text"
}
],
"status": "text",
"subagentsRun": {
"ANY_ADDITIONAL_PROPERTY": {
"completedAt": "2026-01-01T00:00:00.000Z",
"durationMs": 1,
"error": "text",
"ran": true,
"reused": true,
"skipReason": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "text"
}
}
}{
"scan": {
"baseContextVersion": "text",
"branch": "text",
"commitSha": "text",
"completedAt": "2026-01-01T00:00:00.000Z",
"contextVersion": "text",
"errorMessage": "text",
"executionArn": "text",
"id": "text",
"projectsTouched": [
{
"path": "text",
"projectId": "text"
}
],
"publishedAsLatest": true,
"repositoryId": "text",
"sbomsGenerated": [
{
"ecosystem": "text",
"projectId": "text",
"s3Key": "text"
}
],
"scopePathPrefixes": [
"text"
],
"source": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "text",
"subagentAllowlist": [
"text"
],
"subagentsRun": {
"ANY_ADDITIONAL_PROPERTY": {
"completedAt": "2026-01-01T00:00:00.000Z",
"durationMs": 1,
"error": "text",
"ran": true,
"reused": true,
"skipReason": "text",
"startedAt": "2026-01-01T00:00:00.000Z",
"status": "text"
}
},
"updatedAt": "2026-01-01T00:00:00.000Z"
},
"version": "text"
}Repo-scope scans
A repo-scope scan classifies the repositories your integration has granted for scan scope and recommends which to include. It is advisory: it changes no enrollment, and the result is for a person to confirm.
Start a repo-scope scan
Starts an asynchronous scan and returns scanId, executionArn, and statusCode: 202 right away. Set includeArchived=true to include archived repositories (default is active only). Keep both scanId and executionArn for polling.
Starts an async repo-scope Step Function that classifies the calling tenant's repositories for scan-scope (produce-only).
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
Unauthorized
Internal Server Error
POST /context/repo-scope/scans HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"includeArchived": true
}{
"executionArn": "text",
"scanId": "text",
"statusCode": 1
}Get a repo-scope scan
Reports a scan by scanId. Pass the executionArn from the start call as a query parameter so a failed execution is reported as FAILED rather than staying RUNNING; an executionArn that does not belong to this scan returns 400. Once its recommendations are current, the response adds recommendedCount, uncovered, and generatedAt. supersededBy names the later scan that replaced this one's recommendations.
Reports a repo-scope scan started by POST /context/repo-scope/scans and, once its recommendations are current, what it recommended.
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
GET /context/repo-scope/scans/{scanId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"generatedAt": "text",
"recommendedCount": 1,
"run": {
"completedAt": "text",
"error": "text",
"runId": "text",
"startedAt": "text",
"state": "PENDING",
"terminal": true
},
"supersededBy": "text",
"uncovered": [
"text"
],
"version": "text"
}Last updated