Configure Constructive services (APIs), attach database schemas, set up domain routing, and manage access — all via the @constructive-io/sdk TypeScript SDK with zero SQL.
| Api | A service endpoint | databaseId, name, roleName, anonRole, isPublic | | ApiSchema | Links an Api to a Schema | databaseId, apiId, schemaId | | ApiModule | Named JSON config for an Api | databaseId, apiId, name, data | | Domain | Routes subdomain.domain → Api/Site | databaseId, apiId, siteId, subdomain, domain |
| Schema | Database schema container | databaseId, name, schemaName | | SchemaGrant | Grants a role access to a schema | databaseId, schemaId, granteeName |
Create and configure Constructive services (APIs), attach database schemas to them, set up domains, API modules, and schema grants using the @constructive-io/sdk TypeScript SDK. Use when: "create an API", "set up a service", "attach schema to API", "configure domains", "add API module", "grant schema access", "set up service routing". Source: constructive-io/constructive-skills.