6. Unified Multi-Runtime API Reference

Open Valstorm API Reference (416 Endpoints)

Download Unified openapi.json

Open Valstorm routes standard REST, GraphQL, OAuth, and DDL requests to open-api (Python :8010) and performance-critical WebSockets, Fleet Deployments, AI Desktop Sync, Public Inbound Forms, Booking Availability, and Telephony/Email Webhooks directly to open-worker (Go :8080).

GET/v1/healthopen-api (Python :8010)#health

Health Check

GET/v1/statusopen-api (Python :8010)#health

Status Check

GET/v1/status/usersopen-api (Python :8010)#health

Get All Users

GET/v1/status/user/{user_id}open-api (Python :8010)#health

Get Single User Status

GET/v1/status/meopen-api (Python :8010)#health

Get My Status

POST/v1/status/availableopen-api (Python :8010)#health

Update User Availability

POST/v1/status/availabilityopen-api (Python :8010)#health

Update User Availability

GET/v1/oauth2/authorizeopen-api (Python :8010)#oauth2

Oauth2 Authorize Get

POST/v1/oauth2/authorizeopen-api (Python :8010)#oauth2

Oauth2 Authorize Post

POST/v1/oauth2/codeopen-api (Python :8010)#oauth2

Oauth2 Generate Code

POST/v1/oauth2/tokenopen-api (Python :8010)#oauth2

Oauth2 Token

Standard OAuth 2.0 Token Endpoint supporting: - `authorization_code` (with PKCE and/or one-way hashed `client_secret_hash` verification) - `client_credentials` (with self-routing `client_id` + `client_secret_hash` verification) - `refresh_token`

POST/v1/oauth2/loginopen-api (Python :8010)#oauth2

Oauth2 Login

Standard OAuth2 password login supporting: 1. application/x-www-form-urlencoded (OAuth2 standard) 2. application/json

POST/v1/oauth2/refreshopen-api (Python :8010)#oauth2

Oauth2 Refresh

Refreshes expired access tokens using a valid refresh token. Accepts refresh_token from JSON body, form data, or Authorization header. Does NOT require a valid access token dependency, allowing seamless renewal.

POST/v1/auth/registeropen-api (Python :8010)#auth

Register

POST/v1/auth/loginopen-api (Python :8010)#auth

Login

GET/v1/auth/meopen-api (Python :8010)#auth

Get Me

GET/v1/auth/loadopen-api (Python :8010)#auth

Auth Load

Initial boot loader contract used by frontend workspaces and desktop clients. Aggregates user profile, organization info, active apps, pages, tags, and settings.

POST/v1/auth/logoutopen-api (Python :8010)#auth

Logout

POST/v1/auth/switch-orgopen-api (Python :8010)#auth

Switch Organization

Switches the authenticated user between their root production organization and its child sandboxes. Supports both legacy Desktop payload `{"id": "..."}` on `/v1/auth/switch` and Admin payload `{"organization_id": "..."}` on `/v1/auth/switch-org`. Strictly forbids switching into unrelated tenant organizations.

POST/v1/auth/switchopen-api (Python :8010)#auth

Switch Organization

Switches the authenticated user between their root production organization and its child sandboxes. Supports both legacy Desktop payload `{"id": "..."}` on `/v1/auth/switch` and Admin payload `{"organization_id": "..."}` on `/v1/auth/switch-org`. Strictly forbids switching into unrelated tenant organizations.

GET/v1/auth/sessionsopen-api (Python :8010)#auth

List Active Sessions

Returns active sessions for the authenticated user.

POST/v1/auth/sessions/revoke-allopen-api (Python :8010)#auth

Revoke All Sessions

POST/v1/auth/sessions/{session_id}/revokeopen-api (Python :8010)#auth

Revoke Single Session

POST/v1/auth/cli-browser-tokenopen-api (Python :8010)#auth

Generate Cli Browser Token

Generates a short-lived, single-use token to exchange for a browser session (`valstorm project open`).

POST/v1/auth/consume-cli-tokenopen-api (Python :8010)#auth

Consume Cli Browser Token

Consumes a single-use CLI exchange token and returns standard web session tokens.

POST/v1/auth/patsopen-api (Python :8010)#pat

Create Pat

GET/v1/auth/patsopen-api (Python :8010)#pat

List Pats

DELETE/v1/auth/pats/{pat_id}open-api (Python :8010)#pat

Revoke Pat

POST/v1/registeropen-api (Python :8010)#registration

Register User Route

POST/v1/register/googleopen-api (Python :8010)#registration

Register Or Login With Google Route

POST/v1/register/verify-otpopen-api (Python :8010)#registration

Verify Otp Route

POST/v1/register/resend-otpopen-api (Python :8010)#registration

Resend Otp Route

POST/v1/register/activateopen-api (Python :8010)#registration

Activate User Route

POST/v1/register/useropen-api (Python :8010)#registration

Register User To Org Route

POST/v1/register/activate-inviteopen-api (Python :8010)#registration

Activate Invite Route

GET/v1/schemaopen-api (Python :8010)#schema

Get Schemas Api

Returns all registered schemas for the tenant as a dictionary keyed by api_name. Matches frontend expectation: schemas[object.toLowerCase()]

POST/v1/schemaopen-api (Python :8010)#schema

Create Schema Api

Creates a new custom object: compiles CREATE TABLE and inserts schema metadata.

PATCH/v1/schemaopen-api (Python :8010)#schema

Update Schema Api

Updates schema metadata (title, prefix, required, properties).

GET/v1/schema/sync/statusopen-api (Python :8010)#schema

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.

POST/v1/schema/syncopen-api (Python :8010)#schema

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/v1/schema/{object_name}open-api (Python :8010)#schema

Get Schema By Name Api

Returns a single schema by api_name or schema ID.

GET/v1/schema/{object_name}/field/{field_name}open-api (Python :8010)#schema

Get Schema Field Api

Returns definition and metadata for a specific field on an object schema.

POST/v1/schema/fieldopen-api (Python :8010)#schema

Create Schema Field Api

Adds a field to an existing object: executes ALTER TABLE ADD COLUMN and updates schemas.

PATCH/v1/schema/fieldopen-api (Python :8010)#schema

Update Schema Field Api

Updates an existing field's metadata in the schema definition.

DELETE/v1/schema/{schema_id}open-api (Python :8010)#schema

Delete Schema Api

Deletes an object schema and drops the physical table.

DELETE/v1/schema/{object_id}/{field_name}open-api (Python :8010)#schema

Delete Schema Field Api

Drops a column from the table and removes it from schemas metadata.

POST/v1/schema/{object_id}/validation-ruleopen-api (Python :8010)#schema

Create Validation Rule Api

Adds a validation rule to an object schema.

PATCH/v1/schema/{object_id}/validation-rule/{rule_api_name}open-api (Python :8010)#schema

Update Validation Rule Api

Updates an existing validation rule on an object schema.

DELETE/v1/schema/{object_id}/validation-rule/{rule_api_name}open-api (Python :8010)#schema

Delete Validation Rule Api

Deletes a validation rule from an object schema.

POST/v1/records/{api_name}open-api (Python :8010)#records

Create Records Api

Creates records in the specified object table through PlatformContext.

PATCH/v1/records/{api_name}open-api (Python :8010)#records

Update Records Api

Updates records in the specified object table through PlatformContext.

DELETE/v1/records/{api_name}open-api (Python :8010)#records

Delete Records Api

Deletes multiple records by comma-separated query parameter 'ids' or JSON body through PlatformContext.

GET/v1/records/{api_name}open-api (Python :8010)#records

Get Records Api

Lists records for an object with standard pagination headers through PlatformContext.

POST/v1/object/{api_name}open-api (Python :8010)#records

Create Records Api

Creates records in the specified object table through PlatformContext.

PATCH/v1/object/{api_name}open-api (Python :8010)#records

Update Records Api

Updates records in the specified object table through PlatformContext.

DELETE/v1/object/{api_name}open-api (Python :8010)#records

Delete Records Api

Deletes multiple records by comma-separated query parameter 'ids' or JSON body through PlatformContext.

GET/v1/object/{api_name}open-api (Python :8010)#records

Get Records Api

Lists records for an object with standard pagination headers through PlatformContext.

DELETE/v1/records/{api_name}/{record_id}open-api (Python :8010)#records

Delete Single Record Api

Deletes a single record by its ID through PlatformContext.

GET/v1/records/{api_name}/{record_id}open-api (Python :8010)#records

Get Single Record Api

Fetches a single record by its ID through PlatformContext.

DELETE/v1/object/{api_name}/{record_id}open-api (Python :8010)#records

Delete Single Record Api

Deletes a single record by its ID through PlatformContext.

GET/v1/object/{api_name}/{record_id}open-api (Python :8010)#records

Get Single Record Api

Fetches a single record by its ID through PlatformContext.

POST/v1/records/{api_name}/{record_id}/undeleteopen-api (Python :8010)#records

Undelete Single Record Api

Restores a single soft-deleted record within the 14-day retention window.

POST/v1/object/{api_name}/{record_id}/undeleteopen-api (Python :8010)#records

Undelete Single Record Api

Restores a single soft-deleted record within the 14-day retention window.

POST/v1/records/{api_name}/undeleteopen-api (Python :8010)#records

Undelete Records Api

Restores one or more soft-deleted records within the 14-day retention window.

POST/v1/object/{api_name}/undeleteopen-api (Python :8010)#records

Undelete Records Api

Restores one or more soft-deleted records within the 14-day retention window.

GET/v1/records/{api_name}/deletedopen-api (Python :8010)#records

Get Deleted Records Api

Lists soft-deleted records currently in the 14-day Recycle Bin for an object.

GET/v1/object/{api_name}/deletedopen-api (Python :8010)#records

Get Deleted Records Api

Lists soft-deleted records currently in the 14-day Recycle Bin for an object.

GET/v1/deviceopen-api (Python :8010)#records

Get Devices Api

Returns registered desktop/mobile devices for the current organization.

POST/v1/deviceopen-api (Python :8010)#records

Create Device Api

PATCH/v1/deviceopen-api (Python :8010)#records

Update Device Api

DELETE/v1/device/{device_id}open-api (Python :8010)#records

Delete Device Api

GET/v1/queryopen-api (Python :8010)#query

Sql Query Get Route

Executes a SQL query via GET through PlatformContext.

POST/v1/queryopen-api (Python :8010)#query

Sql Query Post Route

Executes a SQL query via POST through PlatformContext.

POST/v1/search/streamopen-api (Python :8010)#query

Search Stream Post Route

Streams progressive Spotlight search results (SSE) across PostgreSQL CRM tables, VFS files, and Vaults.

GET/v1/search/streamopen-api (Python :8010)#query

Search Stream Get Route

POST/v1/search/omniopen-api (Python :8010)#query

Search Rest Post Route

Non-streaming unified Omnisearch across PostgreSQL CRM tables, VFS files, and Vaults.

POST/v1/searchopen-api (Python :8010)#query

Search Rest Post Route

Non-streaming unified Omnisearch across PostgreSQL CRM tables, VFS files, and Vaults.

GET/v1/searchopen-api (Python :8010)#query

Search Rest Get Route

POST/v1/analytics/reportopen-api (Python :8010)#analytics

Report Frontend

Executes single or batch analytical report aggregations against PostgreSQL. For batch requests (used by Dashboard.tsx), executes items concurrently, publishes WebSocket `analytics_report` events, and returns resolved results in the 202 response payload so dashboards render immediately even without WebSockets.

GET/v1/sandbox/open-api (Python :8010)#sandbox

List Sandboxes Api

Lists all sandbox environments belonging to the current organization.

POST/v1/sandbox/open-api (Python :8010)#sandbox

Create Sandbox Api

Provisions a dedicated sandbox database for the current organization.

GET/v1/sandboxopen-api (Python :8010)#sandbox

List Sandboxes Api

Lists all sandbox environments belonging to the current organization.

POST/v1/sandboxopen-api (Python :8010)#sandbox

Create Sandbox Api

Provisions a dedicated sandbox database for the current organization.

PATCH/v1/sandbox/{sandbox_id}open-api (Python :8010)#sandbox

Update Sandbox Api

Updates metadata (name, description, environment) for an existing sandbox.

DELETE/v1/sandbox/{sandbox_id}open-api (Python :8010)#sandbox

Delete Sandbox Api

Deletes and cleanly drops a dedicated sandbox database.

POST/v1/sandbox/{sandbox_id}/refreshopen-api (Python :8010)#sandbox

Refresh Sandbox Api

Synchronizes schemas and apps from production into the specified sandbox.

GET/v1/apps/environmentsopen-api (Python :8010)#apps

List App Environments Api

Lists all environments (Live Production Org + Sandboxes) in the tenant's organization family.

GET/v1/apps/metadata/pullopen-api (Python :8010)#apps

Pull Metadata Get Api

Dedicated single-roundtrip metadata pull endpoint (GET). Fetches requested metadata collections and schemas without requiring N sequential SQL queries.

POST/v1/apps/metadata/pullopen-api (Python :8010)#apps

Pull Metadata Post Api

Dedicated single-roundtrip metadata pull endpoint (POST). Supports manifest filtering, object_types lists, app_id scoping, and schema inclusion.

POST/v1/apps/metadata/pushopen-api (Python :8010)#apps

Push Metadata Api

Dedicated single-roundtrip, ACID-transactional metadata push endpoint. Compiles optional schemas and bulk-upserts metadata records across collections.

GET/v1/appsopen-api (Python :8010)#apps

List Installed Apps Api

Lists applications installed inside the current tenant database. If marketplace=True is passed, returns the global marketplace catalog.

GET/v1/apps/marketplaceopen-api (Python :8010)#apps

List Marketplace Apps Api

Lists all available applications from the global marketplace catalog.

GET/v1/apps/{app_id}open-api (Python :8010)#apps

Get App Bundle Api

Retrieves full application bundle (including schemas and record blueprints).

DELETE/v1/apps/{app_id}open-api (Python :8010)#apps

Uninstall App Delete Api

RESTful DELETE endpoint to uninstall an application from the tenant's database.

POST/v1/apps/apply-appsopen-api (Python :8010)#apps

Apply Apps Api

Installs a list of applications into the tenant's PostgreSQL database. Compiles all DDL tables, foreign keys, injects admin permissions, and seeds default records within ACID transactions.

POST/v1/apps/install/{app_id}open-api (Python :8010)#apps

Install Single App Api

Installs a single application into the tenant's database.

POST/v1/apps/uninstall/{app_id}open-api (Python :8010)#apps

Uninstall App Post Api

Uninstalls an application from the tenant's database. Supports safe mode (preserving data tables) or clean teardown mode (drop_schemas=True, drop_columns=True).

POST/v1/apps/onboard-appopen-api (Python :8010)#apps

Onboard App Api

Marks an application as onboarded inside the tenant database.

GET/v1/apps/deploy/{app_id}open-api (Python :8010)#apps

Promote App Get Api

Legacy GET endpoint for 'Deploy to Next Environment' in Desktop AppSettings.tsx: GET /v1/apps/deploy/{app_id}

POST/v1/apps/{app_id}/packageopen-api (Python :8010)#apps

Package App Api

Packages a tenant application (updating version, schemas, and assigned records) and returns the complete portable app bundle.

GET/v1/apps/{app_id}/bundleopen-api (Python :8010)#apps

Get Tenant App Bundle Api

Extracts the complete portable app bundle for a tenant app.

POST/v1/apps/{app_id}/promoteopen-api (Python :8010)#apps

Promote App Post Api

Promotes/deploys an application package between environments (Sandbox <-> Live Production Org).

POST/v1/apps/marketplace-deploymentopen-api (Python :8010)#apps

Deploy To Marketplace Api

Exports an application developed in this tenant and publishes/updates it in the global marketplace catalog.

PUT/v1/apps/deployopen-api (Python :8010)#apps

Receive App Deploy Api

Deploys an application definition directly from an exported JSON bundle into the current tenant database with ACID transaction rollback safety.

POST/v1/apps/app-update-subscribersopen-api (Python :8010)#apps

Update Subscribers Legacy Api

Legacy query-parameter based subscriber update endpoint: POST /v1/apps/app-update-subscribers?id={app_id}

POST/v1/apps/{app_id}/update-subscribersopen-api (Python :8010)#apps

Update Subscribers Api

Propagates an updated application across all tenant organizations subscribed to this application.

POST/v1/function/executeopen-api (Python :8010)#function

Execute Function Api

Executes or dry-runs a serverless Python function in an isolated sandbox. Supports execution by function_id, function_name, or direct raw source code, and respects custom HTTP return envelopes (e.g. `text/xml` TwiML or custom JSON).

GET/v1/functionopen-api (Python :8010)#function

List Functions Api

Lists functions registered in the tenant database.

POST/v1/functionopen-api (Python :8010)#function

Create Function Api

Creates a new custom Python function with AST gatekeeper security verification.

POST/v1/public/automation/{org_id}/{function_id}open-api (Python :8010)#public-function

Execute Public Function Api

Public webhook endpoint to execute a tenant's Open Valstorm Function (`fun_*`, name, or `file_name`). Enforces `public=True` (fail-closed), injects `PlatformContext.for_org(org_id)`, executes the function in the AST sandbox, and supports custom HTTP return structures (such as `text/xml` TwiML from `platform.twilio.twiml.response(...)`).

POST/v1/public/automation/function/{org_id}/{function_id}open-api (Python :8010)#public-function

Execute Public Function Api

Public webhook endpoint to execute a tenant's Open Valstorm Function (`fun_*`, name, or `file_name`). Enforces `public=True` (fail-closed), injects `PlatformContext.for_org(org_id)`, executes the function in the AST sandbox, and supports custom HTTP return structures (such as `text/xml` TwiML from `platform.twilio.twiml.response(...)`).

POST/v1/public/automation/{org_id}/function/{function_id}open-api (Python :8010)#public-function

Execute Public Function Api

Public webhook endpoint to execute a tenant's Open Valstorm Function (`fun_*`, name, or `file_name`). Enforces `public=True` (fail-closed), injects `PlatformContext.for_org(org_id)`, executes the function in the AST sandbox, and supports custom HTTP return structures (such as `text/xml` TwiML from `platform.twilio.twiml.response(...)`).

GET/v1/log/open-api (Python :8010)#logging-observability

List Logs Api

Lists recent execution logs from the tenant's unified 'log' table with pagination.

GET/v1/logopen-api (Python :8010)#logging-observability

List Logs Api

Lists recent execution logs from the tenant's unified 'log' table with pagination.

GET/v1/log/{log_id}/detailsopen-api (Python :8010)#logging-observability

Get Log Details Api

Decompresses and returns complete execution inputs, outputs, and stack traces for a log entry.

GET/v1/log/{log_id}open-api (Python :8010)#logging-observability

Get Log Details Api

Decompresses and returns complete execution inputs, outputs, and stack traces for a log entry.

DELETE/v1/log/purgeopen-api (Python :8010)#logging-observability

Purge Logs Api

Purges logs older than the specified retention window (default: 30 days).

GET/v1/object/log/{log_id}/detailsopen-api (Python :8010)#logging-observability-legacy-alias-

Get Log Details Api

Decompresses and returns complete execution inputs, outputs, and stack traces for a log entry.

DELETE/v1/object/log/purgeopen-api (Python :8010)#logging-observability-legacy-alias-

Purge Logs Api

Purges logs older than the specified retention window (default: 30 days).

GET/v1/auth/v2/sessionopen-api (Python :8010)#auth-v2

Get Session V2

Returns lightweight session and identity context (~3-8 KB) in <20ms. Includes user identity, organization context, active workspace, scopes, and permissions. Replaces waiting for multi-megabyte /v1/auth/load to unlock the client UI.

Showing first 120 of 416 matching endpoints. Use the search box or select a domain tag on the left to narrow results.