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

# Get Config by ID

> GET /api/configs/:id

## Request

```bash theme={null}
GET /api/configs/:id
```

Returns a specific config by its ID, including decrypted data.

### Path parameters

| Parameter | Type     | Description |
| --------- | -------- | ----------- |
| `id`      | `string` | Config UUID |

### Example

```bash theme={null}
curl https://lazyraccoon.dev/api/configs/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer lr_your_key"
```

## Response

```json theme={null}
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "userId": "user-uuid",
  "teamId": null,
  "name": "default",
  "tool": "claude",
  "version": 3,
  "hash": "abc123...",
  "currentVersionId": "version-uuid",
  "data": { "CLAUDE.md": "My instructions" },
  "createdAt": "2026-03-01T12:00:00.000Z",
  "updatedAt": "2026-03-13T12:00:00.000Z"
}
```

Returns `404` if the config doesn't exist or doesn't belong to you. For team configs, requires team membership.
