Output
| Field | Type | Description |
|---|---|---|
user.id | string | Clay user id of the API key owner. |
user.name | string | null | Display name of the user, or null if not set. |
workspace.id | string | Workspace the API key is scoped to. |
Errors
| Code | Exit | Notes |
|---|---|---|
auth_missing_api_key | 3 | No API key configured. Run clay login to set one. Universal code, listed here because whoami is the first auth check. |
auth_invalid | 3 | The configured API key was rejected by Clay. whoami is the canonical check. |

