Schema (removed)
This endpoint has been removed — read configuration per deployment instead
/api/v1/projects/{projectId}/schemaThis endpoint has been removed. It now returns 410 Gone.
It returned a single schema for a whole project, which was ambiguous once a project could hold several deployments: the response mixed the newest schema's instructions with the newest deployment's tables, and those were not guaranteed to belong to the same model.
Migration
Read configuration per deployment instead:
- List the project's deployments with
GET /api/v1/projects/{projectId}/deployments. - Fetch the configuration of the deployment you work with via
GET /api/v1/deployments/{deploymentId}/configuration.
The configuration response contains everything this endpoint returned —
instructions, tables, and columns (including slug, sharedId, and
excludedFromExtraction) — scoped to one deployment, plus the deployment's
model settings. Legacy extraction-schema ids remain accepted wherever an id is
passed in.
From the CLI, use limai deployments config <deploymentId>.