Data
Most small apps need a few collections of their own: contacts, documents, saved settings. Data stores them as JSON records under resource names you choose, queries them with structured filters, and keeps file uploads in object storage. Everything belongs to one app, and isolation between apps is covered by tests.
What Data does
Records by resource
Create, read, update and delete JSON records under names like contacts or invoices. Add a schema to a resource once you know its shape.
Structured queries
Filters, sorting and cursor pagination as JSON. No query strings to build, so nothing can be injected.
Search
Full-text search across a resource's fields, scoped to the app and, where you need it, to the signed-in user.
Files
Browsers upload straight to Dianthan's object storage, and download links expire after a set time. The bytes never pass through your server.
Isolation by construction
Every query is filtered by app. A key for one app cannot read another app's records, and a test suite checks this on every release.
Export everythingIn preview
Download all records and files for an app as one archive, whenever you want them.
In your code.
Write a record, then query it back.
await dianthan.records.create("contacts", {
name: "Acme Ltd",
status: "active",
owner: session.userId,
});
const { items } = await dianthan.query("contacts", {
filter: { status: "active" },
sort: "-created_at",
limit: 50,
});Better with.
What Data does once another system is switched on in the same app.
- Automation
Record changes trigger signed webhooks to your other systems.
- Identity
Records can belong to a user or a team and are filtered to them automatically.
Endpoints.
The main routes. The API reference lists every parameter and response.
- POST /v1/records
- GET /v1/records/:id
- PATCH /v1/records/:id
- POST /v1/query
- POST /v1/search
- POST /v1/resources
- POST /v1/files/upload-url
- GET /v1/files/:id/download-url
Included in the plan.
Data is part of every account: free within hard limits, then included in the $29 plan that covers every system and every app.
Included
2 GB of records. 20 GB of files. Unlimited reads.
Beyond that
$0.50 per GB of records. $0.03 per GB of files.