Addresses and limits
Every address of Sypnia Data in Sypnia Cloud, and the limits of the free tier.
Addresses
| Address | What |
|---|---|
data.sypnia.com | the product’s page |
data.docs.sypnia.com | these docs |
data.app.sypnia.com | the console |
data.api.sypnia.com | the Cloud API: organizations, projects, members, keys, the link to a Cases project |
https://<ref>.data.sypnia.com | a project: /auth/v1, /rest/v1, /sql/v1, /.well-known/… |
https://mcp.data.sypnia.com | the MCP server for every project (the token says which) |
The link to Sypnia Cases
A Data project links to one Sypnia Cases map, both ways. The link is made from Cases (PUT /v1/maps/{map}/data-project on cases.api.sypnia.com, or the Cases MCP tool link_data_project), and Cases writes the Data side through the Cloud API:
| Call | Does |
|---|---|
PUT /v1/projects/{ref}/cases-map { "map": "<slug>", "url": "https://…sypnia.com/…" } | links the project to that Cases map; owners, admins and developers may, a viewer gets 403; the change is in the organization’s activity |
DELETE /v1/projects/{ref}/cases-map | removes the link |
PUT /v1/projects/{ref}/use-cases | stores the map sent with npx @sypnia/cases map --upload --project <ref> (at most 2,000 use cases; each upload replaces the last one) and, when the project is linked, forwards it to that Cases map as a draft proposal, on behalf of the same person |
GET /v1/projects/{ref}/use-cases | the last uploaded map: { uploaded_at, use_cases, cases }, where cases is the linked map, { map, url }, or null |
The answer of an upload says what happened on each side:
{ "stored": 12, "cases": { "status": "forwarded", "map": "la-espiga", "proposal": "<proposal id>" } }cases is null when the project is not linked. status is failed (with a code and a message) when Cases refused the map or did not answer within 8 seconds: the map is still stored in Data, and the next upload tries again. Maps uploaded before the link stay in Data; they are not imported into Cases.
Calls from Sypnia Cases
Sypnia Cases reads the linked project as the person using it, with every kind of session, DPoP-bound ones included. Cases and the Cloud API share a service key, and Cases calls with Authorization: Service <key> plus the id of the person it verified. The Cloud API accepts such a call only on the routes Cases needs: GET /v1/me, GET /v1/projects/{ref}, PUT and DELETE /v1/projects/{ref}/cases-map, and the linked project’s sql/v1/schema and sql/v1/query. On each it still checks that person’s role in the organization, as for any other call.
Free tier limits
| Free | |
|---|---|
| Projects per organization | 2 |
| Managed shared database | up to 500 MB |
| Monthly active users | 50 000 |
| Data API | 100 requests per second per project |
| SQL endpoint | 60 statements per minute per project |
| Inactivity | a free project with no requests for 14 days is paused; one click wakes it |
Reaching a limit answers 429 (or, for the database size, makes writes fail with a clear error) and e-mails the organization’s owners. Nothing is deleted.