> ## 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.

# List Facts

> List what an assistant knows about people

## Overview

Lists facts in memory, such as a person's time zone or preferences. Memory is private to each assistant, so pass `agent` to see what one assistant knows.

Operation name: `facts.list`.

## Authorization

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

Your Composer API key

## Headers

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

Must be set to application/json

## Body

**agent** `string`

Only facts this assistant knows.

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

**subject** `string`

Only facts about this person (their id).

**kind** `string`

`general`, `availability`, `preference` or `identity`.

**scope** `string`

`user` (default, your own memory) or `org` (shared across the workspace).

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

***

## Response

**\[]** `array`

The facts. Each has `id`, `kind`, `key`, `value`, `confidence`, `subject_id`, `data`, `updated_at` and `expires_at`. Expired facts are left out.

```json Example Success Response theme={null}
[
  {
    "id": "e2d1c0b9-a8f7-4e6d-5c4b-3a2f1e0d9c8b",
    "kind": "identity",
    "key": "timezone",
    "value": "America/New_York",
    "confidence": 1.0,
    "subject_id": "5d1c3a52-8f1e-4b7e-9c0a-2a4f8e6b9d31",
    "data": {},
    "updated_at": "2026-11-21T08:00:00Z",
    "expires_at": null
  }
]
```

***

## Example cURL

```bash cURL theme={null}
curl --request POST 'https://composer.personal.ai/lab/api/v1/op/facts.list' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <your-api-key>' \
--data '{"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.