> Documentation index: https://orbizz.in/llms.txt — every page is also available as https://orbizz.in/md/<slug>
> Version: v1 (current)

# Import an OpenAPI spec

Orbizz turns an OpenAPI document into reference pages, Markdown for agents, MCP tools and a change log. Start from **API reference** in the admin (`G` then `I`) and click **Add API**.

## Sources

- **URL** — any public link to a JSON or YAML spec.

- **GitHub** — a file link; `blob` URLs are converted to raw automatically.

- **Upload** — a JSON or YAML file up to 10 MB.

- **Create manually** — start from an empty OpenAPI 3.1 document and use the [editor](/docs/edit-a-spec).

## Formats

OpenAPI 3.0 and 3.1 are accepted as they are. Swagger 2.0 is converted automatically. Every spec is validated and dereferenced, then stored in one canonical form: bundled OpenAPI 3 JSON with a content hash.

Validation errors are shown inline on the spec page. A spec that fails validation is kept with status **Error** and is never published.

## Keeping remote specs fresh

URL and GitHub sources are re-fetched when you click **Refresh**, and lazily about once an hour. If the content hash has not changed nothing happens; if a refresh fails, the last valid version keeps serving.

Self-hosted deployments can also call `POST /api/specs/refresh` from a cron job to refresh every remote spec older than an hour.

Remote specs are read-only in Orbizz. Click **Detach and edit manually** to stop syncing and make the document editable.

## Export

Any spec can be downloaded as `openapi.yaml` or `openapi.json` from its page.
