v5
latestOpenAPI 3.1.02026-08-04166362486.5 KBstores
Update store file metadata
Update metadata on a file within a store.
Args: store_identifier: The ID or name of the store. file_identifier: The ID or name of the file to update. update_params: Metadata update payload.
Returns: StoreFile: The updated file details.
patch/v1/stores/{store_identifier}/files/{file_identifier}
Path parameters
The ID or name of the store
The ID or name of the file to update
Request body
Response
The updated store file details
Example response
{
"version": 1,
"usage_bytes": 51200,
"usage_tokens": 51200,
"chunks": [
{
"mime_type": "text/plain",
"model": "text-embedding-ada-002",
"context": "This chunk is from an SEC filing on ACME corp's Q2 2023 performance.",
"summary": "A short overview of ACME's Q2 2023 performance."
}
]
}