> ## Documentation Index
> Fetch the complete documentation index at: https://cortex-foundation-add13747-droid-2a5c5e50-docs-ferndesk-pro.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Public API

> What this site documents about the Cortex API — the RFC 9457 problem format and its type URIs. Sign in via the app.

Cortex is used through its apps, not through a public API you write against. This tab documents the one part of the wire contract that is public and stable: the shape of an error.

**Sign in at [cortex.foundation](https://cortex.foundation).** The CLI and the desktop apps use the same account. This site does not document login, sessions, or identity-provider wire protocol.

## What is public here

| Page                         | What it covers                                                                                                        |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| [Problem catalog](/problems) | Every `type` URI — `https://docs.cortex.foundation/problems/{code}` — with its HTTP status and whether retrying helps |
| [Errors](/api/errors)        | How a problem document is shaped and which fields you can rely on                                                     |
| [Platform API](/platform)    | Why there is no inference API yet                                                                                     |

Product guides live under their own tabs: [Chat](/chat), [Code](/code), [Bot](/bot), [CLI](/cli), [Design](/design).

## Why the error format is public

Every Cortex surface — the web app, the desktop apps, and the CLI — reads the same problem documents. When something fails, the message you see names a Cortex surface and carries a stable `code`. Publishing the codes means the message in the product, the message in the terminal, and this catalog all say the same thing.

Connect apps and GitHub from **Settings** and **Customize** in the product. There is no public plugin webhook catalog on this site.

## How a problem document is built

| Field             | Comes from                                                         |
| ----------------- | ------------------------------------------------------------------ |
| `type`            | The base `https://docs.cortex.foundation/problems` plus the `code` |
| `code`            | A fixed snake\_case identifier — the part to branch on             |
| `status`          | The HTTP status the response carries                               |
| `request_id`      | Per request; the value to quote when reporting a problem           |
| `title`, `detail` | English diagnostic text for logs, not for end users                |

Because the base is fixed and the path is the `code`, a `type` URL resolves to a page on this site. That is the whole reason the catalog exists: an error can point at its own explanation instead of leaving a reader with a bare status.

## What is not here

* Authentication, session cookies, device codes, or identity-provider internals.
* The app's private session API. It is not a supported integration surface.
* An inference Platform API. See [Platform API](/platform) — no endpoints, SDKs, or keys exist.

## Related

* [Errors](/api/errors) — the problem document format.
* [Problem catalog](/problems) — all codes in one table.
* [Platform API](/platform) — why there is no inference API.
* [Troubleshooting](/getting-started/troubleshooting) — what to do when you see one.
