Get Document Metadata
Get details of a given document, including its name and ingestion job status.
Authorizations
Path Parameters
Response
Successful Response
Document description
Custom metadata for the document, provided by the user at ingestion time.Must be a JSON-serializable dictionary with string keys and simple primitive values (str, int, float, bool). The total size must not exceed 2 KB.The strings with date format must stay in date format or be avodied if not in date format.The 'custom_metadata.url' field is automatically included in returned attributions during query time, if provided.The default maximum metadata fields that can be used is 15, contact support if more is needed.
A dictionary mapping metadata field names to the configuration to use for each field. If a metadata field is not present in the dictionary, the default configuration will be used. If the dictionary is not provided, metadata will be added in context for rerank and generation but will not be returned back to the user in retrievals in query API. Limits:
- Maximum characters per metadata field (for prompt or rerank): 400
- Maximum number of metadata fields (for prompt or retrieval): 10 Contact support@contextual.ai to request quota increases.