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.
The object type, which is always vector_store.file_content.page
vector_store.file_content.page Parsed content of the file.
Show child attributes
Indicates if there are more content pages to fetch.
The token for the next page, if any.
Was this page helpful?