Get filtered metadata based on conditions. Supports shared connections.
| Field | Type | Description |
|---|---|---|
data_connector_name | str | Name of the data connector (vector database profile). |
dataslice_id | Optional[str] | ID of the dataslice to get files from. |
tag_names | Optional[List[str]] | List of tag names to include in the metadata. |
include_chunk_level | Optional[bool] | Whether to include chunk-level metadata. Default: true |
file_names | Optional[List[str]] | List of specific file names to include in the metadata. |
chunk_ids | Optional[List[str]] | List of specific chunk IDs to include in the metadata. |
chunk_ids: Returns metadata grouped by filename, tag, and level{filename: {tag_id: {chunk_level: {chunk_id: metadata}, file_level: metadata}}}chunk_ids: Returns metadata by chunk ID{chunk_id: {metadata}}{
"data_connector_name": "my-connector",
"dataslice_id": "abc123",
"tag_names": ["category", "date"],
"include_chunk_level": true,
"file_names": ["document1.pdf", "document2.pdf"]
}