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

The `listScorers()` method returns all scorers that have been registered with the Mastra instance. Scorers are used for evaluating AI outputs and can override default scorers during agent generation or workflow execution.

## Usage Example

```typescript
import { mastra } from "./mastra";

// Get all registered scorers
const allScorers = mastra.listScorers();

// Access a specific scorer
const myScorer = allScorers.relevancyScorer;
```

## Parameters

This method takes no parameters.

## Returns

<PropertiesTable
  content={[
    {
      name: "scorers",
      type: "Record<string, MastraScorer> | undefined",
      description:
        "An object containing all registered scorers, where keys are scorer names and values are MastraScorer instances. Returns undefined if no scorers are registered.",
    },
  ]}
/>

## Related

- [getScorer()](../../reference/core/getScorer) - Get a specific scorer by key
- [getScorerByName()](../../reference/core/getScorerByName) - Get a scorer by its name property
- [Scorers Overview](../../docs/scorers/overview) - Learn about creating and using scorers


---
title: "Reference: Mastra.getWorkflows() | Core"
description: "Documentation for the `Mastra.getWorkflows()` method in Mastra, which retrieves all configured workflows."
---