curl --request GET \
--url https://api.openai.com/v1/vector_stores/{vector_store_id}/files/{file_id}/content \
--header 'Authorization: Bearer <token>'
{
"object": "vector_store.file_content.page",
"data": [
{
"type": "<string>",
"text": "<string>"
}
],
"has_more": true,
"next_page": "<string>"
}
Retrieve the parsed contents of a vector store file.
curl --request GET \
--url https://api.openai.com/v1/vector_stores/{vector_store_id}/files/{file_id}/content \
--header 'Authorization: Bearer <token>'
{
"object": "vector_store.file_content.page",
"data": [
{
"type": "<string>",
"text": "<string>"
}
],
"has_more": true,
"next_page": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the vector store.
"vs_abc123"
The ID of the file within the vector store.
"file-abc123"
OK
Represents the parsed content of a vector store file.
Was this page helpful?