---
title: "Get active persona"
description: "Get the authenticated user's currently active persona."
---

> Documentation Index
> Fetch the complete documentation index at: https://truememory-docs.mvstg.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: AI Gateway API › Personas

`GET /personas/active`

Get the authenticated user's currently active persona.

## Authentication

- `HTTPBearer`, http, header `Authorization`

## Header parameters

- `X-On-Behalf-Of` (`get_active_persona.header.X-On-Behalf-Of`; any of, optional)
  - any of: `string`, `null`
- `X-External-User-Id` (`get_active_persona.header.X-External-User-Id`; any of, optional)
  - any of: `string`, `null`
- `X-App-Id` (`get_active_persona.header.X-App-Id`; any of, optional)
  - any of: `string`, `null`

## Code samples

### cURL

```bash
curl --request GET \
  --url https://truememory-api.mvstg.com/personas/active \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://truememory-api.mvstg.com/personas/active';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://truememory-api.mvstg.com/personas/active"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

Successful Response

#### Example

```json
{
  "id": "string",
  "user_id": "string",
  "name": "string",
  "description": "string",
  "system_prompt": "string",
  "is_preset": true,
  "visibility": "private",
  "is_active": true,
  "archetype": "string",
  "soul_document": {},
  "human_profile": "string",
  "avatar": "string",
  "avatar_config": {},
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z",
  "activated_at": "2019-08-24T14:15:22Z"
}
```

- `id` (`get_active_persona.response.200.id`; string, required)
- `user_id` (`get_active_persona.response.200.user_id`; any of, required) — Owner user_id, NULL for presets.
  - any of: `string`, `null`
- `name` (`get_active_persona.response.200.name`; string, required)
- `description` (`get_active_persona.response.200.description`; any of, required)
  - any of: `string`, `null`
- `system_prompt` (`get_active_persona.response.200.system_prompt`; string, required)
- `is_preset` (`get_active_persona.response.200.is_preset`; boolean, required)
- `created_at` (`get_active_persona.response.200.created_at`; string, required)
  - format `date-time`
- `updated_at` (`get_active_persona.response.200.updated_at`; string, required)
  - format `date-time`
- `activated_at` (`get_active_persona.response.200.activated_at`; string, required)
  - format `date-time`
- `visibility` (`get_active_persona.response.200.visibility`; string, optional)
  - one of `"private"`, `"public"`; default `"private"`
- `is_active` (`get_active_persona.response.200.is_active`; boolean, optional)
  - default `true`
- `archetype` (`get_active_persona.response.200.archetype`; any of, optional) — App-defined archetype identifier (e.g. SAGE, EXPLORER). Each app renders its own visual for this.
  - any of: `string`, `null`
- `soul_document` (`get_active_persona.response.200.soul_document`; any of, optional) — Structured personality document: voice style, anti-patterns, learned adaptations, boundaries, custom instructions.
  - any of: `object`, `null`
- `human_profile` (`get_active_persona.response.200.human_profile`; any of, optional) — Creator-specific profile data. Hidden from other users when the persona is public.
  - any of: `string`, `null`
- `avatar` (`get_active_persona.response.200.avatar`; any of, optional) — URL of the persona's avatar image.
  - any of: `string`, `null`
- `avatar_config` (`get_active_persona.response.200.avatar_config`; any of, optional) — App-defined dynamic avatar settings (a JSON object, 64 KB max). Truememory stores and returns it unchanged and never puts it in a prompt.
  - any of: `object`, `null`

### 422

Validation Error

#### Example

```json
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}
```

- `detail` (`get_active_persona.response.422.detail`; array<object>, optional)
  - `loc` (`get_active_persona.response.422.detail.loc`; array<any of>, required)
    - any of: `string`, `integer`
  - `msg` (`get_active_persona.response.422.detail.msg`; string, required)
  - `type` (`get_active_persona.response.422.detail.type`; string, required)
  - `input` (`get_active_persona.response.422.detail.input`; unknown, optional)
  - `ctx` (`get_active_persona.response.422.detail.ctx`; object, optional)


Source: https://truememory-docs.mvstg.com/api/personas/active/list/index.md
