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

# Quickstart

> Enable the Arc Studio API, create a project API key, and list scripts.

Base URL: `https://api.arcstudiopro.com`

## Enable the API

1. Open the [Arc Studio dashboard](https://app.arcstudiopro.com/desk).
2. Click Projects.
3. Select the project you want to access via API.
4. Click the cogwheel for project settings in the upper-right corner.
5. Click *API* in the settings sidebar.
6. Click **Enable API**.

Enabling the API creates the first project API key. The key is shown once.

## Get an API key

In project settings, open **API** and click **Create**.

Copy the key immediately. You will not be able to view this key again.

Use it as a bearer token:

```bash theme={null}
export ARC_STUDIO_API_KEY="YOUR_API_KEY"
```

## Find the project ID

The **API** settings panel shows the project ID. Copy the full value, including the `project_` prefix.

```bash theme={null}
export ARC_STUDIO_PROJECT_ID="project_..."
```

## List scripts

```bash theme={null}
curl "https://api.arcstudiopro.com/v1/projects/$ARC_STUDIO_PROJECT_ID/scripts" \
  -H "Authorization: Bearer $ARC_STUDIO_API_KEY"
```

The response includes the project, scripts, and links for traversal:

```json theme={null}
{
  "object": "list",
  "url": "/v1/projects/project_.../scripts",
  "has_more": false,
  "project": {
    "id": "project_...",
    "object": "project",
    "name": "My Project"
  },
  "data": [
    {
      "id": "script_...",
      "object": "script",
      "project_id": "project_...",
      "title": "Pilot",
      "created_at": "2026-06-24T10:00:00Z",
      "last_edited_at": "2026-06-24T12:00:00Z",
      "links": {
        "self": "/v1/projects/project_.../scripts/script_...",
        "latest_snapshot_document": "/v1/projects/project_.../scripts/script_.../latest_snapshot_document.json",
        "snapshots": "/v1/projects/project_.../scripts/script_.../snapshots"
      }
    }
  ]
}
```

See [API reference](/api-reference/overview) for endpoints and response shapes.
