# Reference documentation

> Links to the reference documentation that Konstrukt generates from the product and keeps up to date automatically — the REST API, the Kex language and Kex Lite — and how it relates to this site and to the MCP resources.

Some documentation is generated from the product itself and is always current for the version a tenant runs. This site links to it rather than duplicating it.

| Reference | Covers | Link |
|---|---|---|
| REST API | All endpoints with request and response schemas, and an interactive explorer | [api/documentation/index.html ↗](https://acme.konstrukt.app/api/documentation/index.html) |
| Kex | The full Kex language: statements, clauses, options, operators and every function | [api/documentation/kex ↗](https://acme.konstrukt.app/api/documentation/kex) |
| Kex Lite | The expression dialect used in app datasets | [api/documentation/kex-lite ↗](https://acme.konstrukt.app/api/documentation/kex-lite) |

Every tenant serves the same paths on its own host:

```
https://{tenant}.konstrukt.app/api/documentation/index.html
https://{tenant}.konstrukt.app/api/documentation/kex
https://{tenant}.konstrukt.app/api/documentation/kex-lite
```

Use your own tenant's address to see the reference for the exact version you run.

## Other sources

| Source | Content | Access |
|---|---|---|
| In-product help menu | Release notes, guides, Kex reference link, keyboard shortcuts | Help menu in the product, see [Administration](administration.html) |
| Plan documentation | Model-specific documentation in user and admin variants | Per plan, in the product |
| MCP resources | `konstrukt://resources/kex/*`, `konstrukt://schema/app-config`, `konstrukt://TenantInstructions.md`, `konstrukt://tenant/*`; app-config types through the tool `get_app_config_schema` | Through the MCP server, see [AI agents and MCP](ai-agents.html) |
| Integration instructions | Generated command lines and scripts per import configuration | Integration panel on each value type and dimension, see [Data integration](integration.html) |

## How the sources divide the work

- **This site** explains concepts, behaviour and how the parts fit together. It is the starting point for learning the platform.
- **Auto-generated references** are authoritative for syntax, function signatures and API contracts.
- **MCP resources** are authoritative for agents working in a specific tenant, including that tenant's own conventions.

If this site and a generated reference disagree about syntax, the generated reference is correct for the tenant's version.

The links on this site point to the generated references on `acme.konstrukt.app`. Every tenant serves the same references for its own version at `https://{tenant}.konstrukt.app/api/documentation/…`.

## Related

- [Kex](kex.html)
- [APIs and SQL access](apis.html)
- [AI agents and MCP](ai-agents.html)
