> ## Documentation Index
> Fetch the complete documentation index at: https://docs.personal.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Preview Recall

> See what an assistant would recall for a question

## Overview

Shows what an assistant would bring to mind about the people and things a question mentions, before it answers. Use it to check why an assistant does or doesn't know something.

Operation name: `graph.recall`.

## Authorization

**x-api-key** `string` *required*

Your Composer API key

## Headers

**Content-Type** `string` *required*

Must be set to application/json

## Body

**query** `string` *required*

The question to preview.

```json Example theme={null}
"query": "Who does Priya report to?"
```

**agent** `string`

Preview through this assistant's memory. Omit to see everything.

```json Example theme={null}
"agent": "my-assistant"
```

**include\_extracted** `boolean`

Also include facts extracted from documents, which are marked unverified. Default false.

```json Example Request theme={null}
{
  "query": "Who does Priya report to?",
  "agent": "my-assistant"
}
```

***

## Response

**seeds** `array`

The people and things the question names: `{ type, key, label }`.

**fused** `string | null`

What the assistant would recall about them, as markdown.

```json Example Success Response theme={null}
{
  "seeds": [
    {
      "type": "person",
      "key": "priya",
      "label": "Priya"
    }
  ],
  "fused": "- Priya reports to Tomas (Brightwell)"
}
```

***

## Example cURL

```bash cURL theme={null}
curl --request POST 'https://composer.personal.ai/lab/api/v1/op/graph.recall' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <your-api-key>' \
--data '{"query": "Who does Priya report to?", "agent": "my-assistant"}'
```

***

## Error Codes

| Code | Description |
| - | - |
| 400 | The body doesn't match the fields above, or the operation failed. The response body says why. |
| 401 | Missing or invalid API key |
| 403 | This key isn't allowed to call this operation |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.