Create a document by ID.
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
"Bearer YOUR_API_KEY"
"Bearer YOUR_STRIPE_API_KEY"
REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'
"ns_abc123def456"
"production"
"my-namespace"
The ID of the collection.
Request model for creating a document.
ID of the collection the document belongs to.
"collection_123"
Optional denormalized root object identifier provided during creation.
Optional denormalized bucket identifier provided during creation.
Optional immediate parent type for the document.
bucket, collection Optional parent collection identifier when sourced from a collection.
Optional parent document identifier when sourced from a collection.
Optional parent object identifier when sourced directly from a bucket.
Optional materialized lineage path to set during creation.
Processing steps from root object to this document. Recommended for decomposition trees.
Optional document schema version (v1 or v2). If not provided, uses system default.
Optional metadata dictionary for user-defined fields and custom attributes.
Features to associate with the document
Successful Response
The response is of type object.