Skip to main content
GET
/
v1
/
collections
/
{collection_id}
/
documents
/
{document_id}
/
lineage
Get document lineage
curl --request GET \
  --url https://api.mixpeek.com/v1/collections/{collection_id}/documents/{document_id}/lineage
{}

Documentation Index

Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

authorization
string
X-Namespace
string

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'. Falls back to ?namespace= query parameter if the header is omitted.

Examples:

"ns_abc123def456"

"production"

"my-namespace"

Path Parameters

collection_id
string
required

ID of the collection containing the document

document_id
string
required

ID of the document to trace

Response

Document lineage information

The response is of type Response Get Document Lineage V1 Collections Collection Id Documents Document Id Lineage Get · object.