---
title: "GET /vector_stores"
method: GET
path: "/vector_stores"
---

# GET /vector_stores

`GET /vector_stores`

Returns a list of vector stores.

## Query parameters

- `api-version` string, required
- `limit` integer
- `order` 'asc' | 'desc'
- `after` string
- `before` string

## Response `200`

The request has succeeded.

- object — The response data for a requested list of items.
  - `data` VectorStore[], required — The requested list of items.
    - `id` string, required — The identifier, which can be referenced in API endpoints.
    - `object` 'vector_store', required — The object type, which is always `vector_store`
    - `created_at` integer, required — The Unix timestamp (in seconds) for when the vector store was created.
    - `name` string, required — The name of the vector store.
    - `usage_bytes` integer, required — The total number of bytes used by the files in the vector store.
    - `file_counts` VectorStoreFileCount, required — Counts of files processed or being processed by this vector store grouped by status.
      - `in_progress` integer, required — The number of files that are currently being processed.
      - `completed` integer, required — The number of files that have been successfully processed.
      - `failed` integer, required — The number of files that have failed to process.
      - `cancelled` integer, required — The number of files that were cancelled.
      - `total` integer, required — The total number of files.
    - `status` 'expired' | 'in_progress' | 'completed', required — Vector store possible status
    - `expires_after` VectorStoreExpirationPolicy — The expiration policy for a vector store.
      - `anchor` 'last_active_at', required — Describes the relationship between the days and the expiration of this vector store
      - `days` integer, required — The anchor timestamp after which the expiration policy applies.
    - `expires_at` integer, nullable — The Unix timestamp (in seconds) for when the vector store will expire.
    - `last_active_at` integer, nullable, required — The Unix timestamp (in seconds) for when the vector store was last active.
    - `metadata` object, nullable, required — A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length.
  - `last_id` string — The last ID represented in this list.
  - `has_more` boolean, required — A value indicating whether there are additional values available not captured in this list.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/ai-azure-ai-agents.md) · [All operations](https://skmtc.net/azure/apis/ai-azure-ai-agents/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/ai-azure-ai-agents/versions/de4a99f09829/schema)
