Skip to content
Last updated

Get a list of all files attached to a vector store.

GEThttps://api.aitronos.com/v1/organizations/{organization_id}/vector-stores/{vector_store_id}/files

List all files currently indexed in a vector store with their processing status.

Path Parameters

organization_id string required

The unique identifier of the organization.

vector_store_id string required

The unique identifier of the vector store.

Query Parameters

page integer optional · Defaults to 1

Page number for pagination.

page_size integer optional · Defaults to 20

Number of items per page (1-100).

status string optional

Filter by processing status (comma-separated): pending, processing, completed, failed.


Returns

A paginated list of files in the vector store.

cURL
curl "https://api.aitronos.com/v1/organizations/{organization_id}/vector-stores/{vector_store_id}/files" \
  -H "X-API-Key: $FREDDY_API_KEY"

Response:

200 OK
{
  "success": true,
  "message": "Files retrieved successfully",
  "data": [
    {
      "id": "file_abc123",
      "filename": "product-catalog.pdf",
      "status": "completed",
      "size_bytes": 2048576,
      "created_at": "2026-01-15T10:30:00Z",
      "processed_at": "2026-01-15T10:31:45Z"
    },
    {
      "id": "file_def456",
      "filename": "user-manual.docx",
      "status": "processing",
      "size_bytes": 1024000,
      "created_at": "2026-01-16T08:15:00Z",
      "processed_at": null
    }
  ]
}