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
Output:
object
Output full type
Output full type
Regions
closest
regions.closest
Get the closest Turso region based on client location, to minimize latency
Risk: read
Tokens
validate
tokens.validate
Validate a Turso API token and retrieve its expiration time (-1 when it never expires)
Risk: read