Turso
Databases Platform API tokenCreate and manage Turso databases, groups and organizations from any Windmill script, flow or app.
Set up in 3 steps
1
Create a platform token
On the Turso dashboard, open the avatar menu, then Settings, and create a platform API token.
2
Add the resource in Windmill
Open Resources, add a resource of type turso, and paste it into apiToken.
3
Run your first script
Fork any script below and read before writing anything.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Retrieve Database
Script turso Verified
List Invoices
Script turso Verified
Retrieve Group
Script turso Verified
Create Group
Script turso Verified
List Databases
Script turso Verified
List Plans
Script turso Verified
List Organizations
Script turso Verified
Create Database
Script turso Verified
Delete Database
Script turso Verified
List Groups
Script turso Verified
List Audit Logs
Script turso Verified
Retrieve Closest Region
Script turso Verified
Update Organization
Script turso Verified
Delete Group
Script turso Verified
Retrieve Current Subscription
Script turso Verified
Retrieve Organization Usage
Script turso Verified
List Locations
Script turso Verified
Resource type
turso — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| apiToken | string | Yes | API token obtained from the Turso dashboard. |
Questions
Is this for running SQL?
No. The platform token manages databases and groups. Querying a database uses its own libSQL token, issued per database.
Is my token stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.