Skill 2.4.3
Configure REST or GraphQL endpoints
Key Concepts
runtime.rest sets enabled, path (default /api) and request-body-strict, which rejects unknown fields in request bodies when true. runtime.graphql sets enabled, path (default /graphql), allow-introspection, depth-limit and multiple-mutations.create.enabled for nested inserts. Disabling an endpoint globally removes it for every entity; an entity's own rest.enabled or graphql.enabled removes it for that entity only.
REST exposes tables and views at /api/{entity} with GET, POST, PUT, PATCH and DELETE, and stored procedures with the methods listed in rest.methods (POST by default). GraphQL generates queries for reads and create, update and delete mutations, and stored procedures appear as execute fields under Query or Mutation according to graphql.operation. In production, introspection is often disabled and a depth limit protects against expensive nested queries.