# Turso integration

> Manage Turso Cloud SQLite databases, groups, locations, organizations, members, and API tokens through the Turso Platform API.

- Authentication: apiKey

## Tools (53)

- **Add Location to Group**: Adds a location to the specified group.
- **Add Member**: Add an existing Turso user to an organization.
- **Create API Token**: Returns a new API token belonging to a user.
- **Create Database**: Creates a new database in a group for the organization or user.
- **Create Group**: Creates a new group for the organization or user.
- **Create Group Auth Token**: Generates an authorization token for the specified group.
- **Current Subscription**: Returns the current subscription details for the organization.
- **Delete Database**: Delete a database belonging to the organization or user.
- **Delete Group**: Delete a group belonging to the organization or user.
- **Delete Invite**: Delete a pending invite for the organization by email.
- **Generate Database Auth Token**: Generates an authorization token for the specified database.
- **Get Current User**: Returns information about the currently authenticated user.
- **Invalidate All Database Auth Tokens**: Invalidates all authorization tokens for the specified database.
- **Invalidate All Group Auth Tokens**: Invalidates all authorization tokens for the specified group.
- **Invite Organization Member**: Invite a user to an organization. If the user isn't already registered with Turso, they will receive a signup link. If an existing pending invite exists for the same email, it will be replaced.
- **List API Tokens**: Returns a list of API tokens belonging to a user.
- **List Audit Logs**: Return the audit logs for the given organization, ordered by the `created_at` field in descending order.
- **List Database Instances**: Returns a list of instances of a database. Instances are the individual primary or replica databases in each region defined by the group.
- **List Databases**: Returns a list of databases belonging to the organization or user.
- **List Deleted Databases**: Returns databases deleted within the last five days, which can still be restored. Requires a paid plan. Available even while recovery is disabled for the organization.
- **List Deleted Groups**: Returns groups deleted within the last five days, including empty groups, which can still be restored. Requires a paid plan and an organization-level token. Available even while recovery is disabled for the organization.
- **List Groups**: Returns a list of groups belonging to the organization or user.
- **List Invites**: Returns a list of pending invites for the organization.
- **List Invoices**: Returns a list of invoices for the organization.
- **List Locations**: Returns a list of locations where you can create or replicate databases.
- **List Members**: Returns a list of members part of the organization.
- **List Organization API Tokens**: Returns the API tokens scoped to this organization (both organization-scoped and group-scoped). Unrestricted tokens are not returned here — manage those via [`GET /v1/auth/api-tokens`](/api-reference/tokens/list).
- **List Organizations**: Returns a list of organizations the authenticated user owns or is a member of.
- **List Plans**: Returns a list of available plans and their quotas.
- **Organization Usage**: Fetch current billing cycle usage for an organization.
- **Remove Location from Group**: Removes a location from the specified group.
- **Remove Member**: Remove a user from the organization by username.
- **Restore Database**: Restore a database deleted within the last five days, exactly as it was at the moment it was deleted. Requires a paid plan, an admin or owner of the organization, and recovery enabled for the organization.
- **Restore Group**: Restore a group deleted within the last five days, along with the member databases that were deleted with it. Requires a paid plan, an admin or owner of the organization, and recovery enabled for the organization. If some databases fail to restore, the group still becomes active: retry the failed database UUIDs individually with Restore Database.
- **Retrieve Database**: Returns a database belonging to the organization or user.
- **Retrieve Database Configuration**: Retrieve an individual database configuration belonging to the organization or user.
- **Retrieve Database Instance**: Return the individual database instance by name.
- **Retrieve Database Stats**: Fetch the top queries of a database, including the count of rows read and written.
- **Retrieve Database Usage**: Fetch activity usage for a database in a given time period.
- **Retrieve Group**: Returns a group belonging to the organization or user.
- **Retrieve Group Configuration**: Retrieve an individual group configuration belonging to the organization or user.
- **Retrieve Member**: Retrieve details of a specific member in the organization.
- **Retrieve Organization**: Retrieve details of a specific organization.
- **Revoke API Token**: Revokes the provided API token belonging to a user.
- **Revoke Organization API Token**: Revokes a token scoped to this organization.
- **Transfer Group**: Transfer a group to another organization that you own or a member of.
- **Unarchive Group**: Unarchive a group that has been archived due to inactivity.
- **Update Database Configuration**: Update a database configuration belonging to the organization or user.
- **Update Databases in a Group**: Updates all databases in the group to the latest libSQL version.
- **Update Group Configuration**: Update a group configuration belonging to the organization or user.
- **Update Member Role**: Update the role of an organization member. Only organization admins or owners can perform this action.
- **Update Organization**: Update an organization you own or are a member of.
- **Validate API Token**: Validates an API token belonging to a user.

Connect Turso in General Input: https://www.generalinput.com/apps/turso