SDKs connect to Turso using theDocumentation Index
Fetch the complete documentation index at: https://docs.turso.tech/llms.txt
Use this file to discover all available pages before exploring further.
libsql:// protocol, unless using the HTTP API.
Database URL
You can find your database URL using the Turso CLI or Platform API, it looks something like this:WebSockets generally offer better performance when maintaining an open socket for multiple queries, whereas HTTP is typically more efficient for single queries due to reduced client-server round trips — it’s advisable to benchmark both to ascertain the best option for your specific needs.