GET
/
vector_stores
/
{vector_store_id}
/
files
/
{file_id}
/
content
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

vector_store_id
string
required

The ID of the vector store.

Example:

"vs_abc123"

file_id
string
required

The ID of the file within the vector store.

Example:

"file-abc123"

Response

200 - application/json

OK

Represents the parsed content of a vector store file.