---
title: "Reference: Mastra.listVectors() | Core"
description: "Documentation for the `Mastra.listVectors()` method in Mastra, which retrieves all configured vector stores."
packages:
  - "@mastra/core"
---

# Mastra.listVectors()

The `.listVectors()` method is used to retrieve all vector stores that have been configured in the Mastra instance.

## Usage example

```typescript
mastra.listVectors();
```

## Parameters

This method does not accept any parameters.

## Returns

<PropertiesTable
  content={[
    {
      name: "vectors",
      type: "TVectors",
      description:
        "A record of all configured vector stores, where keys are vector store names and values are vector store instances.",
    },
  ]}
/>

## Related

- [Vector stores overview](/docs/v1/rag/vector-databases)
- [RAG overview](/docs/v1/rag/overview)
