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

# Get Agent

> Fetch one assistant by its slug

## Overview

Returns one assistant's configuration, its owner record and its template standing.

Operation name: `agent.get`.

## Authorization

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

Your Composer API key

## Headers

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

Must be set to application/json

## Body

**slug** `string` *required*

The assistant's slug, from List Agents.

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

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

***

## Response

**id** `string`

The assistant's id.

**slug** `string`

The assistant's slug.

**display\_name** `string`

The assistant's name.

**config** `object`

The assistant's configuration.

**created\_at** `string`

When it was created (RFC 3339).

**owner** `object | null`

`{ identity_id, display_name, basis, email }`. `basis` is `human_confirmed` (a connected account), `operator_asserted` (set by an admin) or `self_reported`.

**template** `object | null`

`{ name, version, current_version, behind, onboarding }`.

```json Example Success Response theme={null}
{
  "id": "0b6f6f0e-2c1a-4c55-9d2a-6b8f1d1f2a10",
  "slug": "my-assistant",
  "display_name": "Iris",
  "config": {},
  "created_at": "2026-11-20T15:04:05Z",
  "owner": {
    "identity_id": "5d1c3a52-8f1e-4b7e-9c0a-2a4f8e6b9d31",
    "display_name": "Alex Rivera",
    "basis": "human_confirmed",
    "email": "alex@example.com"
  },
  "template": {
    "name": "Core Assistant",
    "version": 12,
    "current_version": 12,
    "behind": false,
    "onboarding": null
  }
}
```

***

## Example cURL

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