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

# Platform developer reference

> Find the current REST routes, CLI commands, template fields, tool IDs, errors and release notes.

The Platform publishes its detailed reference alongside the engine. The REST API is under `/platform/v1`. The TypeScript SDK is `@openlegion/platform`, its React components are exported from `@openlegion/platform/react`, and the npm CLI is `openlegion`.

| When you need to… | Use… |
| - | - |
| Look up a REST method, path, request or response | [API reference](https://platform.openlegion.ai/docs/api) |
| Find commands for setup, local development, template promotion or deployment | [CLI reference](https://platform.openlegion.ai/docs/cli) |
| Check allowed template fields and defaults | [Template specification](https://platform.openlegion.ai/docs/template-spec) |
| Find the exact ID and behavior of a built-in tool | [Platform tool reference](https://platform.openlegion.ai/docs/platform-tools) |
| Diagnose a refused request | [Error codes and recovery](https://platform.openlegion.ai/docs/errors) |
| Enable a customer's own model key | [Model keys guide](https://platform.openlegion.ai/docs/guides/model-keys) |
| Check changes to the wire format, SDK or CLI | [Platform changelog](https://platform.openlegion.ai/docs/changelog) |

For a worked example that uses these pieces together, follow the guide from customer sign-in to a deployed assistant. Coding assistants can also read the developer documentation as text. [End-to-end integration guide](https://platform.openlegion.ai/docs/guides/assistant-in-your-product) · [Documentation index](https://platform.openlegion.ai/llms.txt) · [Full developer documentation](https://platform.openlegion.ai/llms-full.txt)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.