GET
/vector_stores/{vector_store_id}/files/{file_id}
curl \
--request GET 'https://api.openai.com/v1/vector_stores/vs_abc123/files/file-abc123' \
--header "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": "server_error",
"message": "string"
},
"chunking_strategy": {
"type": "static",
"static": {
"max_chunk_size_tokens": 42,
"chunk_overlap_tokens": 42
}
},
"attributes": {}
}