claude_code_users
Users from Claude Code AI coding assistant
| Column | Type | Description |
|---|---|---|
|
id
Primary key
|
number | Unique identifier for the user. |
|
email
|
string | Email address of the user. |
|
source_id
|
string | Source ID of the user (user.account_id or user.id from claude otel payload). |
|
name
|
string | Display name of the user. |
|
added_at
|
date | When the user was added to the Anthropic organization, from the Admin users API. Populated by the Console and Enterprise connectors; NULL for users only ever seen through OTEL. |
|
api_accessible
DX internal
|
boolean | Indicates if the user is accessible via the Claude Code API. |
|
allowlisted
DX internal
|
boolean | Whether the AI user filter includes this user. Usage is only imported for included users; null until the user is first evaluated. |
|
allowlist_override
DX internal
|
string | Manual AI user filter choice for this user (included or excluded); null when the user follows the filter's defaults. |
|
allowlist_changed_at
DX internal
|
date | When DX last changed the import filter decision. |
|
needs_history_reset
DX internal
|
boolean | Whether DX must reset sync history after an import filter change. |
|
needs_purge
DX internal
|
boolean | Whether DX must purge imported data for this filtered user. |
|
row_created_at
DX internal
|
date | When DX created this database row. |
|
row_updated_at
DX internal
|
date | When DX last updated this database row. |