Collections support arbitrary key-value metadata. Updates use deep merge — nested dictionaries are merged recursively, preserving existing keys. See Metadata for more on how metadata works in Docent.Documentation Index
Fetch the complete documentation index at: https://docs.transluce.org/llms.txt
Use this file to discover all available pages before exploring further.
Get Metadata
Parameters
ID of the collection.
Returns
The collection’s metadata dictionary.
Update Metadata
Updates are deep-merged into existing metadata. Existing keys not in the update are preserved.Parameters
ID of the collection.
Metadata to merge into the existing metadata.
Returns
The full merged metadata dictionary after the update.
Delete Metadata Keys
Remove specific keys from metadata. Supports dot-delimited paths for nested deletion.Parameters
ID of the collection.
Keys to remove. Use dot notation for nested keys (e.g.,
"config.model").Returns
Returns a tuple of two values:The metadata dictionary after deletion.
Keys that were not found in the metadata.

