Reconcile objects vs documents
Objects-vs-documents conservation for a collection. Returns the distinct source-object count, the count that produced at least one document, the document count, and their delta, plus an itemized (bounded) list of source objects that produced no document with a machine-readable reason for each.
Authorizations
Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.
Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.
Path Parameters
The ID or name of the collection to reconcile
Query Parameters
Cap on the itemized discrepancies list.
1 <= x <= 1000Response
Successful Response
Objects-vs-documents conservation for one collection.
delta is the headline conservation number (source objects that produced
no document). discrepancies is a bounded, itemized sample of those
objects; discrepancies_truncated says whether more exist beyond
limit so the caller never mistakes the sample for the whole.
Distinct source objects submitted to this collection.
Distinct source objects that produced >=1 document.
Documents this collection has produced.
source_object_count - produced_object_count: source objects that produced no document. 0 means conservation holds.
The cap applied to discrepancies.
Itemized objects that produced no document, up to limit.
True when more discrepancies exist than limit returned.

