Skip to main content
Every turso.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Changes

listen

changes.listen Listen to committed insert/update/delete events for a table in a Turso database Risk: read
Input Output: object

Regions

closest

regions.closest Get the closest Turso region based on client location, to minimize latency Risk: read
Input: empty object Output

Tokens

validate

tokens.validate Validate a Turso API token and retrieve its expiration time (-1 when it never expires) Risk: read
Input: empty object Output