Retrieve vector store file content
$ openai vector-stores:files content
GET/vector_stores/{vector_store_id}/files/{file_id}/content
Retrieve the parsed contents of a vector store file.
Retrieve vector store file content
openai vector-stores:files content \
--api-key 'My API Key' \
--vector-store-id vs_abc123 \
--file-id file-abc123{
"file_id": "file-abc123",
"filename": "example.txt",
"attributes": {"key": "value"},
"content": [
{"type": "text", "text": "..."},
...
]
}
Returns Examples
{
"file_id": "file-abc123",
"filename": "example.txt",
"attributes": {"key": "value"},
"content": [
{"type": "text", "text": "..."},
...
]
}