castomAPI
Get your key

The platform · query.castomapi.com

Query

Read-only SQL and document queries against the customer's own MySQL, PostgreSQL or MongoDB, from a browser, safely.

7 operationsOpenAPI → dash-b

A dashboard that shows the numbers in your own database needs a way to ask it without exposing it. castomapi-query holds the connection, allows reads only, and answers in the platform envelope. It is what fills dash-b's database widgets.

Operations

MethodPathDescription
GET/v1/connections/Every database this account has connected, with its plan cap
POST/v1/connections/Connect a database
DELETE/v1/connections/{id}Disconnect a database and destroy its sealed credential
POST/v1/connections/{id}/testCheck that a connection still works, while the form is still open
POST/v1/connector/Register a connector
POST/v1/connector/opRun one operation through a connector
POST/v1/queryRun one read-only query

Base URL: https://query.castomapi.com · Open the live docs

The platform