# API Reference (/docs/api-reference)



This reference is generated from the Factory OS OpenAPI spec — every endpoint, parameter, and response schema, grouped by resource in the sidebar.

All requests go to `https://api.xentr.ai` and require a bearer token; see [Authentication](/docs/authentication) for how to get one and which roles each endpoint requires.

Path params named `factoryId` take the factory **slug**, not a UUID — the [Quickstart](/docs/quickstart) shows where to find yours.
