---
title: "Get Account State"
method: GET
path: "/admin/billing/sandbox/accounts/{user_id}"
tags: ["admin", "billing"]
---

# Get Account State

`GET /admin/billing/sandbox/accounts/{user_id}`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/admin/billing/sandbox/accounts/{user_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `api/login`

## Path parameters

- `user_id` string, required

## Response `200`

Successful Response

- SandboxAccountState: What the account sheet of `/admin/b2c` does not say.
  - `has_limited_access` boolean, required
  - `excellence_plus_flag` boolean, required
  - `has_seen_free_offer_end` boolean, required
  - `created_at` string, date-time, nullable
  - `plan` 'school' | 'free_offer' | 'trial' | 'excellence_plus' | 'discovery'
  - `launch_segment` 'restricted' | 'free_offer' | 'full_access'
  - `launch_message` LaunchMessageRecord: What is stored per account: the segment and when it was first computed, and when the student closed the sheet.
    - `segment` 'restricted' | 'free_offer' | 'full_access', required
    - `created_at` string, date-time, required
    - `dismissed_at` string, date-time, nullable
  - `copy_reviews` integer, required

## Other responses

- `404`: Resource not found
- `422`: Validation Error

## Changes

> 106 revisions in range; 1 not diffed.

- **2026-11-12** `0af74c49ba7a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/admin/billing/sandbox/accounts/:user_id/get.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) - [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/de6afcc9656f?raw)
