Cloud

Deploy from TypeScript

Publish TypeScript datasets to hypequery cloud with publishToCloud and hypequery deploy.

hypequery cloud is not live yet

You can't sign up for or deploy to cloud today. These pages describe the planned service, and details will change before launch. What runs today is the open-source TypeScript and Python SDKs, in your own backend.

1. Declare what cloud publishes

Create a deployment entrypoint that exports the result of publishToCloud as cloud:

// analytics/cloud.ts
import { publishToCloud } from '@hypequery/datasets';
import { orders } from './orders';

export const cloud = publishToCloud({
  datasets: { orders },
  access: { roles: ['analyst'], scopes: [] },
});
  • datasets lists the datasets cloud exposes. Datasets they relate to are included as supporting datasets.
  • access is required: the roles and scopes callers need for every published dataset.
  • datasetAccess optionally sets a different policy for individual datasets, keyed by published name.

publishToCloud makes no network request. It only builds the contract that the CLI uploads.

2. Log in

npx hypequery login

This authorizes the machine with hypequery cloud and saves your default project and environment.

3. Deploy

npx hypequery deploy analytics/cloud.ts

The CLI builds a bundle, prepares a release for your target, and submits it. Once cloud accepts the release, it prints where the datasets are served:

Hosted endpoints
  REST  https://<environment-slug>.hypequery.app
    orders  POST https://<environment-slug>.hypequery.app/api/analytics/datasets/orders/query
  MCP   https://<environment-slug>.hypequery.app/mcp

Add --mcp-config to also print a ready-to-use MCP client configuration.

Useful options

OptionDescription
--project, --environmentDeploy to a different target than the one saved by hypequery login
--no-sourceLeave project source files out of the bundle
--mcp-configPrint MCP client configuration for the hosted endpoint
--replace-restoredReplace a live release that was restored from history

On this page

Get early access to hypequery cloud.

Cloud hosts the same model you run in your backend, with a managed API and MCP server, versions, and rollback. We're letting teams in a few at a time. Join the waitlist and we'll reach out when your project can go live.

How do you want to build your analytics layer? (Optional)
What features do you most need? (Optional)

Pick as many as you like.

Only your email is required. All other questions are optional.