# List all stores Retrieve a paginated list of all vector stores in an organization. Returns all vector stores belonging to the specified organization, regardless of which knowledge slice they are associated with. #### Path Parameters **`organization_id`** string required The unique identifier of the organization (format: `org_*`). #### Query Parameters **`skip`** integer optional · Defaults to `0` Number of items to skip for pagination. **`limit`** integer optional · Defaults to `20` Maximum number of items to return (1-100). ## Returns A paginated list of vector store objects with `items`, `total`, `skip`, `limit`, and `has_more` fields. Request ```bash cURL curl "https://api.aitronos.com/v1/organizations/org_xyz789/knowledge/stores?limit=10" \ -H "Authorization: Bearer $ACCESS_TOKEN" ``` ```python Python SDK from aitronos import Aitronos client = Aitronos(api_key="your-api-key") result = client.knowledge.list_stores( organization_id="org_xyz789", limit=10, ) print(result) ``` ```python Python import requests org_id = "org_xyz789" url = f"https://api.aitronos.com/v1/organizations/{org_id}/knowledge/stores" headers = {"Authorization": "Bearer YOUR_ACCESS_TOKEN"} params = {"limit": 10} response = requests.get(url, headers=headers, params=params) print(response.json()) ``` ```javascript JavaScript const orgId = "org_xyz789"; const response = await fetch( `https://api.aitronos.com/v1/organizations/${orgId}/knowledge/stores?limit=10`, { headers: { "Authorization": `Bearer ${accessToken}` }, } ); const data = await response.json(); console.log(data); ``` Response ```json 200 OK { "items": [ { "id": "vs_store123", "name": "API Documentation Store", "description": "Vector store for API docs", "slice_id": "kslice_abc123", "organization_id": "org_xyz789", "created_by": "usr_owner1", "is_active": true, "access_mode": "organization", "file_count": 15, "data_size": 1048576, "created_at": "2025-06-15T10:00:00Z", "updated_at": "2025-06-15T10:00:00Z" }, { "id": "vs_store456", "name": "Internal Wiki Store", "description": null, "slice_id": "kslice_def456", "organization_id": "org_xyz789", "created_by": "usr_owner1", "is_active": true, "access_mode": "department", "file_count": 8, "data_size": 524288, "created_at": "2025-06-16T14:30:00Z", "updated_at": "2025-06-16T14:30:00Z" } ], "total": 2, "skip": 0, "limit": 10, "has_more": false } ``` ```json 401 Error { "success": false, "error": { "code": "AUTHENTICATION_REQUIRED", "message": "Authentication is required to access this resource.", "system_message": "Missing or invalid authentication", "type": "client_error", "status": 401, "details": {}, "trace_id": "abc-123-def", "timestamp": "2025-11-02T08:21:45Z" } } ``` ## Related Resources - [List Stores by Slice](/docs/api-reference/knowledge/list-stores-by-slice) - [Get Store](/docs/api-reference/knowledge/get-store) - [Create Store in Slice](/docs/api-reference/knowledge/create-store) - [Update Store](/docs/api-reference/knowledge/update-store) - [Delete Store](/docs/api-reference/knowledge/delete-store)