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

# Users

> API endpoints for user management.

# Users Endpoints

Endpoints for managing users within your workspace.

## List Users

Retrieve all users in the workspace.

```bash theme={null}
GET /api/v1/users
```

<ParamField header="X-Api-Key" type="string" required>
  Your API key
</ParamField>

### Response

```json theme={null}
{
  "data": [
    {
      "id": "usr_123",
      "email": "user@example.com",
      "role": "admin",
      "created_at": "2025-01-01T00:00:00Z"
    }
  ]
}
```

## Get Current User

Retrieve the authenticated user's profile.

```bash theme={null}
GET /api/v1/users/me
```

### Response

```json theme={null}
{
  "id": "usr_123",
  "email": "user@example.com",
  "role": "admin"
}
```
