Turso databases in the context graph, with usage checks
Teams on Turso can connect an organisation and see its database groups and databases in Polylane, linked to the services that use them.
What changed
Connect Turso with a platform API token and your database groups and databases join the context graph, synced every 15 minutes, with their locations, placement and read and write status. If the token reaches more than one organisation, you pick which one to connect.
Polylane uses the Turso Platform API only: it never connects to your databases and holds no database credentials. It stores each database's hostname, so a service elsewhere in your stack that connects to that hostname is linked to the database.
The Platform API reports usage as counters for the billing period, with no time series, so Polylane compares the change between runs with your organisation's history. Checks watch your usage, and the token is validated and can be rotated like every other connection. See the Turso integration.
Why it matters
Turso databases are reached by hostname from code running somewhere else, so on their own they look disconnected from the services that use them. Linking them by hostname puts each database next to its callers in the context graph, and the usage checks surface a sudden change before it shows up on the bill.
How to use it
- In
Turso, open your organisation settings and go to API Tokens, or run
turso auth api-tokens mint polylane --org <organization>. - In Polylane, open Settings > Clouds, choose
Turso, paste the token and enter the organisation slug.
- Polylane checks the token and starts the first sync.