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

# API Reference

>  comprehensive reference for the Sunbird AI API endpoints.

Welcome to the Sunbird AI API Reference. This documentation provides detailed specifications for all available endpoints.

## Base URL

All API requests should be made to:

```bash theme={null}
https://api.sunbird.ai
```

## Authentication

All endpoints require authentication using a Bearer token.

```bash theme={null}
Authorization: Bearer <YOUR_ACCESS_TOKEN>
```

<Note>
  Looking for the older endpoints? Use the **version dropdown** at the top of the sidebar to switch to **v1 · Deprecated**. See the [Changelog](/api-reference/changelog) for what changed.
</Note>

## Modules

<CardGroup cols={2}>
  <Card title="Speech to Text" icon="microphone" href="/api-reference/speech/speech-to-text">
    Transcribe audio with the unified `/tasks/audio/transcriptions` endpoint.
  </Card>

  <Card title="Text to Speech" icon="waveform-lines" href="/api-reference/speech/text-to-speech">
    Synthesize speech, batch jobs, and voice discovery.
  </Card>

  <Card title="Translation" icon="language" href="/api-reference/translation/translate">
    Translate between 32 Ugandan and East African languages.
  </Card>

  <Card title="Chat" icon="robot" href="/api-reference/ai/chat-completions">
    OpenAI-compatible chat completions with Sunflower.
  </Card>

  <Card title="Language" icon="magnifying-glass" href="/api-reference/language/language-id">
    Language identification and classification.
  </Card>

  <Card title="Authentication" icon="lock" href="/api-reference/authentication/register">
    User management and token generation.
  </Card>
</CardGroup>
