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

# API Reference Overview

> Base URL, authentication scheme, request conventions, and response structure for HearDraft Transcription API v1.

The HearDraft API v1 uses standard HTTP verbs, raw binary uploads for media ingestion, and JSON responses.

## Base URL

```text theme={null}
https://heardraft.com
```

## Authentication

Pass your workspace API key in the `Authorization` header on every request:

```http theme={null}
Authorization: Bearer <HEARDRAFT_API_KEY>
```

## Available endpoints

| Method | Endpoint | Purpose |
| - | - | - |
| `POST` | `/api/v1/transcriptions` | Upload raw audio or video bytes and queue a transcription task (`202 Accepted`) |
| `GET` | `/api/v1/transcriptions/{id}` | Poll task status and retrieve full text, duration, and millisecond segments (`200 OK`) |

## Timestamp & text conventions

* All segment boundaries (`startMs`, `endMs`) are integer **milliseconds** from the start of the recording.
* `result.text` joins segment text with `\n` line breaks.
* `expiresAt` is an ISO-8601 UTC timestamp string or `null` when retained on an active paid subscription.
* All responses send `Cache-Control: no-store`.


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