Workspace retention
There are no configurable source, derived or job retention periods. Existing expiry stamps on retained content are cleared during migration. Content already erased cannot be recovered by removing its former expiry policy.Jobs and artifacts
DELETE /v1/jobs/{id} removes the job from GET /v1/jobs and queues removal of
its content. GET /v1/jobs/{id} still answers 200, with deleted_at set, a null
result and result_state expired when its result was retained. A zero-retention
job keeps not_retained. A running job is cancelled first. Cleanup retries
failures, so completion is asynchronous.
Artifacts another retained job still needs stay until that dependent job is deleted.
Job metadata, usage and credits remain under the deletion record policy below.
A job’s payload_expires_at is normally null. An explicit deletion can set it to
queue cleanup. Zero retention uses its own delivery and cleanup rules.
Customer workspace storage
Customer cloud lifecycle and versioning rules remain under the customer’s control. Explicit file and workspace deletion still removes NDI-owned content using the storage binding. Revoking a connection alone does not delete content.De-identified payloads
When a job’sinput and result are removed (you delete the job, zero retention clears the input, or the organization is purged), NDI
keeps a de-identified record of their structure for audit and billing. The same applies to legacy /api/v1 content when its organization is purged. The record is never returned by the API. It keeps:
- the names of fields NDI defines, such as
result_type,page_countorsource, and the nesting and list lengths of the payload (a long list keeps its first items and a count of the rest); - counts and measures: pages, units, sizes, token counts and durations;
true,falseandnullin fields NDI defines;- fixed values of fields NDI defines, such as the operation, mode, status, type and error code, and identifiers in UUID form.
[redacted]: document text and markdown, file
names, paths, URLs, prompts and questions, names you chose, every other number,
and everything inside data shaped by you, such as extraction results and the
JSON schema you sent, including its field names.
Staged uploads
APOST /v1/uploads handle is a workspace-free upload for a job. Ordinary
uploads have no automatic expiry, whether used or unused. Deleting the consuming
job or tenant removes their bytes; deleting a workspace does not erase standalone uploads its jobs read, so erase those with DELETE /v1/uploads/{upload_id}. An unused upload can be erased with DELETE /v1/uploads/{upload_id}. Zero-retention uploads use isolated temporary staging and are deleted automatically. See Sources and uploads.
Saved schemas and domains
The extraction schemas you create withPOST /v1/extraction-schemas (every
version of each family) and the domains you create with POST /v1/domains
(drafts and published versions) are saved definitions. Workspace lifetimes and
zero retention do not apply to them.
A schema is kept until you delete it or your organization is closed.
DELETE /v1/extraction-schemas/{schema_id} deletes every version of the
schema: its name, description and JSON Schema are removed at once, and only
its id, version numbers and timestamps stay, so jobs that used it still name
the schema_id and schema_version they ran with. See
Extraction schemas.
A domain is kept until your organization is deleted. There is no endpoint to
delete a domain: workspaces are created against a published domain version and
keep pointing at it. To have one removed sooner, ask your NDI contact.
When the organization is deleted, its schemas and domains are emptied the same
way: a schema loses its name, description and JSON Schema and keeps only its id,
version numbers and timestamps, and a domain loses its taxonomy and ontology and
is renamed to deleted-domain- followed by its id. The rows stay as empty
records marked deleted and no endpoint returns them; see
Deleting an organization or tenant. The
schemas and domains NDI provides to every account are not affected.
Zero retention
Zero retention is an account setting for supported document operations. Partners can enable it per tenant once the deployment is qualified; see Tenants. Disabling new Zero retention provisioning never downgrades an existing account’s guarantee.- Storage. Workspace files, managed or customer-bound, stay until explicit
deletion. Standalone
POST /v1/uploadsand transient upload grants use isolated temporary staging with de-identified names and are deleted automatically, including unused uploads. Job results staynot_retained. - Customer objects remain. Zero retention does not automatically delete source documents, output files or processing scratch in the customer workspace. You control those objects and their provider lifecycle. Explicit deletion remains a separate user request; revoking a connection does not delete objects.
- Document result delivery. By default, send
wait_secondsand read the result once from the inline response. Requests without a wait return422 wait_required_for_zero_retention. To poll a job and download its result from your connected storage, opt in to workspace delivery (Parse, Extract, Split, Classify and Ground). Both modes reportresult_state=not_retained. Inline delivery to customer workspaces still requires you to keep the inline response. - Optional 24 hour result hold. A partner can opt a Zero-retention tenant in with
zero_retention_result_hold_seconds: 86400(see Tenants). Where the deployment enables it, that tenant’s jobs need no inline wait and their results stay readable by polling for 24 hours, encrypted, then are erased. It is off by default, and a job delivered to customer storage is never held. - Nace copies are temporary. Request, result, name and free-form error content
are withheld from the job database and handled through the transient delivery
path. Service-owned scratch and caches are cleaned after the delivery window.
ZERO_RETENTION_DELIVERY_WINDOW_SECONDSis the maximum inline wait plus the download-link lifetime and a grace period. Its expiry does not delete customer storage objects. Revoked customer credentials must not block Nace-only cleanup. - Jobs are de-identified. Personal user attribution is cleared after the delivery window. Status, usage, charges and tenant/billing links remain; these records are not fully anonymous. Use opaque idempotency keys.
- Supported operations only. Content-processing operations without the Zero
retention delivery path are refused before job admission. Storage validation,
uploads into bound workspaces and explicit deletion controls remain available.
Supported document operations are Parse, Split, Classify, Categorize, Extract
and Ground. Deployments with Zero Retention workspace search enabled support
ingestion and hybrid search in workspaces with connected customer storage.
Ingestion supports text and Markdown, PDF, Office documents and presentations,
diagrams, images, HTML, email, spreadsheets, CSV, TSV, Parquet, JSON, JSON Lines,
audio, and video. The connected store holds derivatives and search indexes.
NDI can index a sample of very large or dense sources while preserving the full
derivative. Ingestion requires unfiltered access and a selection with at least
one matching source. For a folder selection above the batch limit, submit file
IDs in batches.
Knowledge graphs, ledger understanding and JE testing return
422 invalid_requestin this mode. The legacy processing API remains unavailable in this mode.
What we keep after deletion
Deleting content removes the content. NDI does not delete the records that describe it: they are kept for internal audit and billing, with the parts that could identify a person or a document removed. A record you deleted is marked deleted, so it no longer lists or grants access. A deleted job still answersGET /v1/jobs/{id} with deleted_at set and no content.
- Jobs. The job record stays after the job, its workspace or its
organization is deleted: id, kind, status, timestamps, pages, units, bytes,
credits, token counts per model, the error code, and the ids of the user,
partner user and partner account that ran it. When the job’s payload is deleted, or its organization is purged, its name is cleared, its error
is reduced to the error code, and its
inputandresultare reduced to a de-identified record. 13 months after the job was created, the user and partner user ids are cleared; retained names and errors remain until explicit deletion; the partner account id stays because usage is billed to it, and the idempotency key stays so a retry still replays (see Idempotency keys below). A zero-retention job’s personal user attribution, name and error message are cleared once its delivery window has passed (see Zero retention). - Deleted files. When a workspace file is explicitly deleted, when
its workspace is deleted or its organization purged, and when a staged upload
is removed, NDI writes a record with an anonymized name of the form
file-<id>.<ext>, a keyed one-way fingerprint of the original name (when the deployment’s fingerprint key is configured), the extension, the size and page count when known, and the reason the file was deleted. A deleted file’s entry in the workspace, and a removed staged upload’s record, stay under the same anonymized name. These records are kept, and the fingerprint with them for at least 7 years after the file was deleted. - People in a purged organization. When an organization is purged, a person
whose only organization it was is kept as an anonymized record, shown as
deleted-user-<id>, so jobs keep pointing at one anonymous id. It has no email and no login identifiers, and cannot sign in. People who also belong to another organization keep their account. 24 months after the account was closed, the person’s console keys are revoked and renameddeleted-key-<prefix>, the invitation they accepted showsdeleted-user-<id>instead of their email, and a CLI login they approved no longer holds a key. The records themselves are kept. A purged person’s console sessions, password record and reset links stay as revoked or used rows whose secrets are replaced, so none of them can sign anyone in. - Workspaces and API keys of a purged organization. They stay as rows
renamed
deleted-workspace-<id>anddeleted-key-<prefix>, with their settings and descriptions cleared. Each key is revoked and its hash replaced, so it can never authenticate. 24 months after the purge, they also lose the person or partner account that created or owned them; the rows stay because jobs point at them. A workspace you delete yourself stays as a deleted record under its id and name; its key grants and member shares stay as deleted records that grant nothing. - Other records of a purged organization. Memberships, invitations, chunked upload sessions, CLI logins, webhook endpoints, webhook events and their delivery records, limit settings and access labels stay as rows marked deleted, revoked, expired or disabled. Email addresses, paths, URLs, secrets, key material, descriptions and payloads are removed from them.
- Idempotency keys. The
Idempotency-Keyof a job, a legacy request, a workspace creation or a chunked upload session stays on its record for as long as the record is kept, also after the payload expires, usage is de-identified or the organization is purged, so a retry with the same key still returns the original record instead of starting new work. A workspace creation whose workspace has been deleted, or whose attempt was abandoned and cleaned up, instead returns409 storage_conflict. NDI never clears the key. Do not put personal data, file names or other confidential text in an idempotency key; use an opaque value such as a UUID. - Webhook events. After the webhook retention period an event keeps its id, type, job and time, and the record of each delivery; its payload is removed and it can no longer be re-sent.
- Usage after 13 months. Usage records are never deleted: they are de-identified. After 13 months a job keeps its kind, status, timestamps, pages, units, bytes, credits and token counts. NDI removes personal actor attribution and keeps the partner’s account-owned service UUID for job authorization and replay. Retained job names, errors, inputs and results stay until deletion, as do legacy request output locations and errors. Usage and billing totals do not change.
- Chunked-upload sessions. Once a session is completed or aborted and past its expiry, it loses its file path, labels and partner user. Its status, sizes, timestamps, service UUID, idempotency key and completing job stay.
The fingerprint and the stable anonymous user id are pseudonymous data, not
fully anonymous: someone who holds NDI’s secret key and a guess of the name can
check that guess. NDI keeps the key secret and uses it only for that lookup.
Processing by other systems
Content is processed transiently by systems NDI depends on while a job runs:- Model providers. Parsing, classification, extraction and grounding send document content to the model providers that serve the selected lane, which they receive in order to produce the response. Provider-side retention is governed by each provider’s own terms.
- Workflow engine. NDI runs jobs on a workflow engine. Payloads it passes between steps are held in the engine’s history and, for large payloads, in an offload bucket, each under its own retention period. Where payload encryption is configured for a deployment, those payloads are encrypted with keys NDI manages before they leave NDI’s workers.
Deleting an organization or tenant
A partner can permanently delete a tenant’s data withDELETE /v1/tenants/{external_ref}?purge=true; see
Purging a tenant. Inactivity does
not delete an organization or its content.