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

# Reference Overview

> A lookup map for Spatius Client SDKs, Server SDKs, Session Token API pages, regions, endpoints, and error codes.

Use the Reference tab when you need exact names: classes, methods, enums, request fields, endpoint regions, and error codes. Use Guides when you need to choose an integration or follow a step-by-step setup.

## Reference sections

| Section | What it contains | Use it when |
| - | - | - |
| Client SDKs | Web, iOS, Android, Flutter, and Web RTC Adapter reference pages. | You need AvatarKit classes, methods, callbacks, enums, rendering APIs, or client lifecycle details. |
| Server SDKs | Python, Go, and JavaScript / TypeScript SDK references. | Your backend connects to Motion Server in Backend Mode or a packaged integration runtime. |
| Session Token API | Console API pages for Session Token creation and Direct Mode auth flow. | Your backend mints short-lived Session Tokens for Direct Mode clients. |
| Regions & Endpoints | Supported region names and composed Console API / Motion Server endpoints. | Any integration needs a deployment region or endpoint reference. |
| Error handling | Client and server recovery guidance. | You are debugging failed sessions, asset loading, WebSocket connection, or Server SDK errors. |

## Client SDK lookup

| Platform or package | Reference page | Main use |
| - | - | - |
| Web `@spatius/avatarkit` | [AvatarKit Web SDK Reference](/sdk-reference/web-sdk/reference) | Web AvatarKit initialization, loading, rendering, Direct Mode, Backend Mode client feed, state, enums, and errors. |
| Web toolchain | [Toolchain Setup](/sdk-reference/web-sdk/toolchain) | Configure bundlers to serve AvatarKit WebAssembly assets correctly. |
| Web RTC Adapter `@spatius/avatarkit-rtc` | [RTC Adapter](/sdk-reference/web-sdk/rtc-adapter) | Render avatar output from LiveKit or Agora RTC providers on Web. |
| iOS AvatarKit | [iOS SDK Reference](/sdk-reference/ios-sdk/api-reference) | Native iOS AvatarKit methods, enums, callbacks, and rendering controls. |
| Android AvatarKit | [Android SDK Reference](/sdk-reference/android-sdk/api-reference) | Native Android AvatarKit methods, enums, callbacks, and rendering controls. |
| Flutter `spatius_avatarkit` | [Flutter SDK Reference](/sdk-reference/flutter-sdk/api-reference) | Flutter setup, Direct Mode, Backend Mode client feed, state callbacks, and demos. |

## Server lookup

| Surface | Reference page | Main use |
| - | - | - |
| Python Server SDK | [Python SDK](/sdk-reference/python-sdk/python-sdk) | Backend Mode sessions, audio input, egress, encoded output callbacks, options, and errors. |
| Go Server SDK | [Go SDK](/sdk-reference/go-sdk/go-sdk) | Go Backend Mode sessions, audio input, egress, encoded output callbacks, options, and errors. |
| JavaScript Server SDK | [JavaScript / TypeScript SDK](/sdk-reference/javascript-sdk/javascript-sdk) | Node.js Backend Mode sessions, audio input, egress, encoded output callbacks, options, and errors. |
| Session Token API | [Session Token API](/api-reference/api-reference) | Mint Direct Mode Session Tokens from your backend. |
| Auth Flow | [Session Token Auth Flow](/api-reference/auth) | Understand how a Direct Mode client obtains and uses a Session Token. |

## Shared lookup

| Need | Page |
| - | - |
| Which SDK supports which feature | [SDK Capability Matrix](/reference/sdk-capabilities) |
| Region names and endpoint composition | [Regions](/api-reference/regions) |
| Client errors | [Client Error Handling](/resources/client-error) |
| Server SDK errors | [Server Error Handling](/resources/server-error) |
| Demo repo by integration | [Demo Matrix](/resources/demo-projects) |

## Next steps

<CardGroup cols={1}>
  <Card title="SDK Capability Matrix" icon="table" href="/reference/sdk-capabilities" />
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.