Client SDKs

Xata offers a set of client SDKs to help you build your application. The SDKs are available for the following languages:

UI Playground

The Xata web UI (User Interface) contains a playground for you to test and evaluate your queries using our SDK.

Right now the playground is only available for the JavaScript/TypeScript SDK, but we plan to add support for other languages in the future.

The Xata SDK Playground

To access the SDK playground, click the SDK Playground button in the sidebar. This will present you with a type-safe interface with a xata object that exposes the various SDK methods. To get more familiar with these methods, see the SDK's usage page.

Using Playground Queries

Once you've written a query you're happy with and would like to use it in your application, this is usually accomplished via copy/paste–provided your application is already set up to use the Xata SDK.

After pasting code from the playground, you'll only have to adjust your import of xata to point to the file generated by the Xata CLI (Command Line Interface). For more on code generation, see the Code Generation section of the CLI docs.