> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myustadia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API Reference

> Endpoint reference auto-rendered from openapi.yaml

This section is auto-generated from `openapi.yaml`. Every page exposes the request shape, response shape, and a try-it-now playground (use your `sk_test_` key).

## Source of truth

The OpenAPI spec in this repo is **regenerated from the live FastAPI app**. Do NOT hand-edit `openapi.yaml`. Run the refresh script after each backend release:

```bash theme={null}
python scripts/refresh-openapi.py
```

If a doc page disagrees with `openapi.yaml`, the spec is the source of truth. Fix the backend or fix the spec, then regenerate the docs.

## Categories

<CardGroup cols={2}>
  <Card title="Account" icon="user-gear" href="/api-reference/account/get-review-settings">
    Account-level settings, review defaults, all-auto toggle.
  </Card>

  <Card title="Presets" icon="layer-group" href="/api-reference/presets/list-presets">
    Per-company brand, voice style, and sales profile objects.
  </Card>

  <Card title="Courses" icon="graduation-cap" href="/api-reference/courses/create-no-preset">
    Course creation, brief, launch, status, listing, cancellation.
  </Card>

  <Card title="Delivery" icon="film" href="/api-reference/delivery/get-video">
    Video downloads, slide PDFs, study notes, signed asset URLs, ZIP bundles.
  </Card>

  <Card title="Quiz" icon="clipboard-question" href="/api-reference/quiz/get-module-quiz">
    Module quiz questions, final exam, grading endpoints.
  </Card>

  <Card title="Billing" icon="receipt" href="/api-reference/billing/monthly-report">
    Monthly billing report for the account.
  </Card>
</CardGroup>

## Authentication

All endpoints require `Authorization: Bearer sk_test_...` or `sk_live_...`. See [Authentication](/authentication) for details.

## Base URL

```
https://api.myustadia.com
```

All paths shown in this reference are relative to this base URL.
