Skip to content
Go To Dashboard

Data

Provision managed data services instantly over one API — ephemeral PostgreSQL databases plus Redis, vector, and full-text search stores — with no infrastructure to set up.

On-demand Postgres is on the typed ctx.sapiom.* client, so sapiom_dev_agents_check validates the call at author time:

const db = await ctx.sapiom.database.create({
duration: "4h", // required — the database is removed automatically after this
handle: "analytics", // optional stable key for get()/delete()
});
// db carries the Postgres connection credentials — pass them to any Postgres client

create / get / delete manage databases. Autocomplete surfaces the full input and response types. See Using Capabilities.

Redis, vector, full-text search, and Postgres are all reachable from a supported coding agent through Sapiom Cloud MCP. Ask for the outcome in ordinary language; your client can discover the current tool and input contract.

Outside an agent, call the typed Postgres client—see the @sapiom/tools package:

const db = await sapiom.database.get("analytics");