Retrieve vector store file
Retrieves a vector store file.
Path parameters
-
The ID of the vector store that the file belongs to.
-
The ID of the file being retrieved.
GET
/vector_stores/{vector_store_id}/files/{file_id}
curl \
-X GET https://api.openai.com/v1/vector_stores/vs_abc123/files/file-abc123 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"object": "vector_store.file",
"usage_bytes": 42,
"created_at": 42,
"vector_store_id": "string",
"status": "in_progress",
"last_error": {
"code": "internal_error",
"message": "string"
},
"chunking_strategy": {
"type": "static",
"static": {
"max_chunk_size_tokens": 42,
"chunk_overlap_tokens": 42
}
}
}