> For the complete documentation index, see [llms.txt](https://docs.orkestra.online/orkestra-online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api.md).

# Orkestra Public API

## Orkestra Public API

The Orkestra Public API gives programmatic access to your **analytics**, **content**, **package publishing**, and **Hosting Spaces** using an **API key**.

Use it for server-to-server integrations, dashboards, exports, and automations.

* **Base URL:** `https://api.orkestra.online/prod`
* **Authentication:** API key in the `X-Api-Key` header
* **Format:** JSON
* **Versioning:** version in the path, such as `/public/v1/...`

{% hint style="info" %}
The API is available to team and organization accounts. See [Scopes and access](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/scopes-and-access.md).
{% endhint %}

### Quickstart

{% stepper %}
{% step %}

### Create an API key

Create a key in **API Keys** in the Orkestra web app.

For setup details, see [Authentication](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/authentication.md).
{% endstep %}

{% step %}

### Copy your key

Copy the full key from **API Keys**.

Replace `YOUR_API_KEY` in the examples below.
{% endstep %}

{% step %}

### Call your first endpoint

```bash
curl -s -H "X-Api-Key: YOUR_API_KEY" \
  "https://api.orkestra.online/prod/public/v1/content/hubs"
```

See [Hubs](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/content/hubs.md) for the full reference.
{% endstep %}
{% endstepper %}

### Browse the reference

#### Shared docs

* [Authentication](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/authentication.md)
* [Scopes and access](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/scopes-and-access.md)
* [Errors](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/errors.md)

#### Endpoint groups

* [Analytics](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/analytics.md)
* [Content](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/content.md)
* [Packages](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/packages.md)
* [Hosting](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/hosting.md)

### Response format

Most endpoints return the standard response envelope:

```json
{
  "statusCode": 200,
  "message": "Success",
  "content": { }
}
```

* `statusCode`: mirrors the HTTP status
* `message`: human-readable status
* `content`: payload object or array, or `null` on error

Exceptions: [Usage export](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/analytics/usage-export.md) returns a `302` redirect to a gzipped JSON file, and Hosting file transfers use presigned URLs, so the bytes never pass through the JSON API.

#### Dates & times

* Timestamps are **UTC, ISO 8601** (e.g. `2026-06-01T14:32:10Z`).
* Date filters (`startDate`, `endDate`) accept a date (`2026-01-01`) or a full ISO 8601 timestamp. Omit them for all-time.

### Quick reference

| Method | Endpoint                                                                                                                    | Scope            | Use it for                      |
| ------ | --------------------------------------------------------------------------------------------------------------------------- | ---------------- | ------------------------------- |
| `GET`  | [Summary](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/analytics/summary.md)           | `analytics:read` | usage totals and KPI tiles      |
| `GET`  | [Usage export](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/analytics/usage-export.md) | `analytics:read` | full run history export         |
| `GET`  | [Hubs](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/content/hubs.md)                   | `content:read`   | listing readable hubs           |
| `GET`  | [Items](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/content/items.md)                 | `content:read`   | listing readable content items  |
| `POST` | [Package publish](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/packages/api.md)        | `packages:write` | publishing Dynamo packages      |
| `GET`  | [Hosting spaces](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/hosting.md)              | `hosting:read`   | reading space files & documents |
| `POST` | [Hosting writes](https://docs.orkestra.online/orkestra-online/orkestra-web-api/orkestra-public-api/hosting.md)              | `hosting:write`  | writing space files & documents |

### Notes

* All endpoints are **read-only**, except package publishing (`packages:write`) and Hosting writes (`hosting:write`), both user-key only.
* Results reflect current access.
* Keys can be revoked at any time.
* No public rate limit is published yet.
