#schema Endpoints (14)
Get Schemas Api
Returns all registered schemas for the tenant as a dictionary keyed by api_name. Matches frontend expectation: schemas[object.toLowerCase()]
Create Schema Api
Creates a new custom object: compiles CREATE TABLE and inserts schema metadata.
Update Schema Api
Updates schema metadata (title, prefix, required, properties).
Get Schema Sync Status Api
Detects drift between the physical PostgreSQL database and Valstorm schemas metadata. Designed for engineering teams who directly execute SQL or run migrations.
Sync Schema From Postgres Api
Introspects native PostgreSQL tables/columns and synchronizes them into Valstorm schemas metadata. Enables engineering teams to run direct SQL migrations (Alembic/Prisma/Flyway) and immediately reflect new tables and columns into the dynamic UI grids, GraphQL, and AI agent runtime.
Get Schema By Name Api
Returns a single schema by api_name or schema ID.
Get Schema Field Api
Returns definition and metadata for a specific field on an object schema.
Create Schema Field Api
Adds a field to an existing object: executes ALTER TABLE ADD COLUMN and updates schemas.
Update Schema Field Api
Updates an existing field's metadata in the schema definition.
Delete Schema Api
Deletes an object schema and drops the physical table.
Delete Schema Field Api
Drops a column from the table and removes it from schemas metadata.
Create Validation Rule Api
Adds a validation rule to an object schema.
Update Validation Rule Api
Updates an existing validation rule on an object schema.
Delete Validation Rule Api
Deletes a validation rule from an object schema.
