# Get user account

`user_accounts.get`

Read one existing user account and its direct resource membership counts without changing the account. First call user_accounts.list and pass an exact returned user_ref.

[Accounts guide](https://docs.levr.ai/mcp/resources/user_accounts.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: read. Required OAuth scopes: mcp.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "user_ref": {
      "maxLength": 512,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "user_ref"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "user_account": {
          "additionalProperties": false,
          "properties": {
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "email": {
              "format": "email",
              "type": "string"
            },
            "full_name": {
              "type": "string"
            },
            "is_active": {
              "type": "boolean"
            },
            "is_staff": {
              "type": "boolean"
            },
            "is_verified": {
              "type": "boolean"
            },
            "job_title": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "last_login": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "membership_counts": {
              "additionalProperties": false,
              "properties": {
                "businesses": {
                  "minimum": 0,
                  "type": "integer"
                },
                "management_groups": {
                  "minimum": 0,
                  "type": "integer"
                },
                "providers": {
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "businesses",
                "providers",
                "management_groups"
              ],
              "type": "object"
            },
            "phone": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "user_ref": {
              "description": "Opaque stable account reference for subsequent Support reads.",
              "maxLength": 512,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "user_ref",
            "email",
            "full_name",
            "job_title",
            "phone",
            "is_active",
            "is_staff",
            "is_verified",
            "created_at",
            "last_login",
            "membership_counts"
          ],
          "type": "object"
        }
      },
      "required": [
        "user_account"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```
