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

> ## Agent Instructions
> For help recording, editing, or exporting in the Descript app, start with the [Help Center](https://help.descript.com/index.md).
> To connect an AI assistant to Descript, follow [Descript MCP setup](https://help.descript.com/developers/mcp/overview.md) for client-specific commands and sign-in.
> To build a REST integration, start with the [API quickstart](https://help.descript.com/developers/get-started/quickstart.md) to create a token and make your first request. Use the [API reference](https://help.descript.com/developers/api-reference/overview.md) for individual endpoints.

# Descript API

> Go from raw media to a finished, shareable video without opening the Descript app.

Descript is an AI-powered video and audio editor. With the Descript API, you can import media and
tell Underlord, Descript's AI editing assistant, what to automate in plain language: remove filler
words, improve audio, add captions, or turn a long recording into short clips. Review the results in
the Descript editor or publish directly through the API.

> [card] [Quickstart](https://help.descript.com/developers/get-started/quickstart.md)
>
> Create a token, import media, and prompt Underlord for edits.

> [card] [API endpoints](https://help.descript.com/developers/api-reference/overview.md)
>
> Import media, edit projects with AI, and query jobs and projects.

> [card] [Using the CLI](https://help.descript.com/developers/guides/cli.md)
>
> Drive the same API from your terminal.

> [card] [Descript MCP](https://help.descript.com/developers/mcp/overview.md)
>
> Import, edit, and publish from Claude, Claude Code, ChatGPT, Codex, Cursor, and more.

## Make your first request

Every request goes to `https://descriptapi.com/v1` and carries a personal API token (your API key)
in the `Authorization` header. Tokens are scoped to a specific Drive and inherit your permissions on that
Drive.

Generating a client? Download the [OpenAPI spec](https://help.descript.com/developers/openapi.json).

```bash cURL theme={null}
curl https://descriptapi.com/v1/status \
  -H "Authorization: Bearer $DESCRIPT_API_TOKEN"
```

```js Node theme={null}
const res = await fetch('https://descriptapi.com/v1/status', {
    headers: { Authorization: `Bearer ${process.env.DESCRIPT_API_TOKEN}` },
});
const status = await res.json();
```

```python Python theme={null}
import os
import requests

res = requests.get(
    "https://descriptapi.com/v1/status",
    headers={"Authorization": f"Bearer {os.environ['DESCRIPT_API_TOKEN']}"},
)
status = res.json()
```

> [!NOTE]
>
> Don't have a token yet? [Create one in
> Settings](https://help.descript.com/developers/get-started/quickstart.md#create-an-api-token) — it takes three clicks.

## Import media and edit it

Import, agent edit, and publish return a `job_id` immediately and do the work in the background.

> [tab] Import from URL
>
> Pass a public or presigned URL, and Descript fetches the file itself. Try it with the demo video
> below.
>
> ```bash cURL theme={null}
> curl -X POST https://descriptapi.com/v1/jobs/import/project_media \
>   -H "Authorization: Bearer $DESCRIPT_API_TOKEN" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "project_name": "My First Video",
>     "add_media": {
>       "demo.mp4": { "url": "https://test-files.descriptapi.com/demo-video.mp4" }
>     },
>     "add_compositions": [
>       { "name": "Demo Video", "clips": [{ "media": "demo.mp4" }] }
>     ]
>   }'
> ```
>
> ```js Node theme={null}
> const res = await fetch('https://descriptapi.com/v1/jobs/import/project_media', {
>     method: 'POST',
>     headers: {
>         Authorization: `Bearer ${process.env.DESCRIPT_API_TOKEN}`,
>         'Content-Type': 'application/json',
>     },
>     body: JSON.stringify({
>         project_name: 'My First Video',
>         add_media: {
>             'demo.mp4': { url: 'https://test-files.descriptapi.com/demo-video.mp4' },
>         },
>         add_compositions: [{ name: 'Demo Video', clips: [{ media: 'demo.mp4' }] }],
>     }),
> });
> const { job_id } = await res.json();
> ```
>
> ```python Python theme={null}
> import os
> import requests
>
> res = requests.post(
>     "https://descriptapi.com/v1/jobs/import/project_media",
>     headers={"Authorization": f"Bearer {os.environ['DESCRIPT_API_TOKEN']}"},
>     json={
>         "project_name": "My First Video",
>         "add_media": {
>             "demo.mp4": {"url": "https://test-files.descriptapi.com/demo-video.mp4"}
>         },
>         "add_compositions": [
>             {"name": "Demo Video", "clips": [{"media": "demo.mp4"}]}
>         ],
>     },
> )
> job_id = res.json()["job_id"]
> ```

> [tab] Direct file upload
>
> Send a file from your own machine in two requests: ask for a signed upload URL, then PUT the bytes
> to it.
>
> **1. Request an upload URL**
>
> Describe the file with `content_type` and `file_size` instead of a `url`. The response includes a
> signed `upload_url` for each file, valid for 3 hours.
>
> ```bash cURL theme={null}
> curl -X POST https://descriptapi.com/v1/jobs/import/project_media \
>   -H "Authorization: Bearer $DESCRIPT_API_TOKEN" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "project_name": "My First Video",
>     "add_media": {
>       "recording.mp4": { "content_type": "video/mp4", "file_size": 52428800 }
>     },
>     "add_compositions": [
>       { "name": "Main", "clips": [{ "media": "recording.mp4" }] }
>     ]
>   }'
> ```
>
> ```js Node theme={null}
> import { readFile, stat } from 'node:fs/promises';
>
> const { size } = await stat('recording.mp4');
>
> const res = await fetch('https://descriptapi.com/v1/jobs/import/project_media', {
>     method: 'POST',
>     headers: {
>         Authorization: `Bearer ${process.env.DESCRIPT_API_TOKEN}`,
>         'Content-Type': 'application/json',
>     },
>     body: JSON.stringify({
>         project_name: 'My First Video',
>         add_media: {
>             'recording.mp4': { content_type: 'video/mp4', file_size: size },
>         },
>         add_compositions: [{ name: 'Main', clips: [{ media: 'recording.mp4' }] }],
>     }),
> });
> const { job_id, upload_urls } = await res.json();
> ```
>
> ```python Python theme={null}
> import os
> import requests
>
> res = requests.post(
>     "https://descriptapi.com/v1/jobs/import/project_media",
>     headers={"Authorization": f"Bearer {os.environ['DESCRIPT_API_TOKEN']}"},
>     json={
>         "project_name": "My First Video",
>         "add_media": {
>             "recording.mp4": {
>                 "content_type": "video/mp4",
>                 "file_size": os.path.getsize("recording.mp4"),
>             }
>         },
>         "add_compositions": [
>             {"name": "Main", "clips": [{"media": "recording.mp4"}]}
>         ],
>     },
> )
> job_id = res.json()["job_id"]
> upload_urls = res.json()["upload_urls"]
> ```
>
> **2. Upload the file**
>
> PUT the raw bytes to the signed URL. The import job picks up the upload and starts processing.
>
> ```bash cURL theme={null}
> curl -X PUT "$UPLOAD_URL" \
>   -H "Content-Type: application/octet-stream" \
>   --data-binary @recording.mp4
> ```
>
> ```js Node theme={null}
> await fetch(upload_urls['recording.mp4'].upload_url, {
>     method: 'PUT',
>     headers: { 'Content-Type': 'application/octet-stream' },
>     body: await readFile('recording.mp4'),
> });
> ```
>
> ```python Python theme={null}
> with open("recording.mp4", "rb") as f:
>     requests.put(
>         upload_urls["recording.mp4"]["upload_url"],
>         headers={"Content-Type": "application/octet-stream"},
>         data=f,
>     )
> ```

Either way, poll [Get job status](https://help.descript.com/developers/api-reference/jobs/get-job.md) with the `job_id`, or pass
a `callback_url` and Descript will POST the same payload when the job finishes. For mixing both in
one request, see [Direct file upload](https://help.descript.com/developers/guides/direct-upload.md).

> [card] [Partner integrations](https://help.descript.com/developers/partners/edit-in-descript.md)
>
> Edit in Descript and Export from Descript.

> [card] [Rate limits](https://help.descript.com/developers/guides/rate-limiting.md)
>
> API and MCP limits, running-job limits, and how to back off on 429.


## Related topics

- [Descript API](https://help.descript.com/api-and-mcp/api.md)
- [Track and understand your media minutes and AI credits](https://help.descript.com/billing-payments-plans/track-and-understand-your-media-minutes-and-ai-credits.md)
- [Descript MCP overview](https://help.descript.com/api-and-mcp/mcp.md)
- [App settings](https://help.descript.com/account-and-app-settings/app-settings.md)
- [Descript on Raycast](https://help.descript.com/account-and-app-settings/descript-on-raycast.md)
