---
title: "Load only the data that gates the authenticated shell"
method: GET
path: "/api/v1/bootstrap/critical"
tags: ["bootstrap"]
---

# Load only the data that gates the authenticated shell

`GET /api/v1/bootstrap/critical`

## Request

- Base URL: `https://api.cadencz.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cadencz.com/api/v1/bootstrap/critical`
- Auth: HTTP bearer

## Response `200`

Successful Response

- CriticalBootstrapResponse: The two reads that decide whether the authenticated shell may render.
  - `me` CurrentUserResponse, required
    - `user` CurrentUserProfile, required
      - `id` string, required
      - `email` string, required
      - `name` string, required
      - `avatarUrl` string, nullable, required
      - `timezone` string, required
      - `isAdmin` boolean
      - `createdAt` string, nullable
    - `workspace` CurrentWorkspaceProfile, required
      - `id` string, required
      - `ownerId` string, required
      - `name` string, required
      - `handle` string, required
      - `avatarUrl` string, nullable, required
    - `workspaces` CurrentWorkspaceProfile[], required
      - `id` string, required
      - `ownerId` string, required
      - `name` string, required
      - `handle` string, required
      - `avatarUrl` string, nullable, required
    - `role` string
    - `accountId` string
    - `permissions` string[]
    - `workspaceCap` integer
    - `setupComplete` boolean
  - `subscription` SubscriptionRead
    - `id` string, required
    - `workspace_id` string, required
    - `tier` string, required
    - `plan_state` string, required
    - `plan_label` string, required
    - `status` string, required
    - `renews_at` string, nullable, required
    - `cancel_at_period_end` boolean, required
    - `billing_period` 'monthly' | 'yearly', nullable, required
    - `has_provider_subscription` boolean
    - `trial_eligible` boolean, required
    - `included_credits` integer, required
    - `channel_cap` integer, required
  - `failed` string[]

## Other responses

- `401`: Missing or invalid Supabase bearer token.
- `503`: Required infrastructure or provider config is unavailable.

---

[API](https://skmtc.dev/cadencz/apis/cadencz-api.md) · [All operations](https://skmtc.dev/cadencz/apis/cadencz-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cadencz/apis/cadencz-api/revisions/3392fe5e93db?raw)
