# List files in vector store div strong 🔨 In Development — This section is still being developed and may change. Get a list of all files attached to a vector store. 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. **`pageSize`** integer optional · Defaults to `20` Number of items per page. ## Returns A paginated list of files in the vector store. Request ```bash curl "https://api.freddy.aitronos.com/v1/organizations/org_abc123/vector-stores/vs_abc123/files" \ -H "X-API-Key: $FREDDY_API_KEY" ``` ```python from freddy import FreddyClient with FreddyClient(api_key="your-api-key") as client: files = client.vector_stores.list_files( organization_id="org_abc123", vector_store_id="vs_abc123" ) for file in files.data: print(f"- {file.name} ({file.status})") ``` ```python import requests response = requests.get( "https://api.freddy.aitronos.com/v1/organizations/org_abc123/vector-stores/vs_abc123/files", headers={"X-API-Key": api_key} ) files = response.json() ``` ## Response 200 OK ```json { "data": [ { "id": "file_abc123", "name": "product_manual.pdf", "size": 2457600, "mimeType": "application/pdf", "status": "completed", "addedAt": "2025-01-20T10:00:00Z" }, { "id": "file_def456", "name": "api_docs.md", "size": 524288, "mimeType": "text/markdown", "status": "processing", "addedAt": "2025-01-20T15:30:00Z" } ], "total": 42, "page": 1, "pageSize": 20 } ``` Errors **404 Not Found** ```json { "error": { "message": "Vector store not found", "type": "not_found_error", "code": "vector_store_not_found" } } ``` ## Related Resources - [Add File to Vector Store](/docs/api-reference/vector-stores/add-file) - [Remove File from Vector Store](/docs/api-reference/vector-stores/delete-file) - [Retrieve Vector Store](/docs/api-reference/vector-stores/retrieve)