# Mastra.getVectors()
[EN] Source: https://mastra.ai/reference/core/getVectors

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

## Usage example

```typescript copy
mastra.getVectors();
```

## 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/rag/vector-databases)
- [RAG overview](/docs/rag/overview)


---
title: "Reference: Mastra.getWorkflow() | Core"
description: "Documentation for the `Mastra.getWorkflow()` method in Mastra, which retrieves a workflow by ID."
---