.. _api:

Xata Python SDK API Reference
=============================

Xata Client
-----------

.. py:module:: xata
.. autoclass:: XataClient
   :members:

.. py:module:: xata.api_request
.. autoclass:: ApiRequest
   :members:

.. py:module:: xata.api_response
.. autoclass:: ApiResponse
   :members:

Data API
--------
.. py:module:: xata.api.search_and_filter
.. autoclass:: SearchAndFilter
   :members:

.. py:module:: xata.api.records
.. autoclass:: Records
   :members:

.. py:module:: xata.api.files
.. autoclass:: Files
   :members:

.. py:module:: xata.api.sql
.. autoclass:: SQL
   :members:

Management API
--------------


.. py:module:: xata.api.databases
.. autoclass:: Databases
   :members:

.. py:module:: xata.api.branch
.. autoclass:: Branch
   :members:

.. py:module:: xata.api.table
.. autoclass:: Table
   :members:

.. py:module:: xata.api.authentication
.. autoclass:: Authentication
   :members:

.. py:module:: xata.api.users
.. autoclass:: Users
   :members:

.. py:module:: xata.api.workspaces
.. autoclass:: Workspaces
   :members:

.. py:module:: xata.api.invites
.. autoclass:: Invites
   :members:

Helpers
-------

.. py:module:: xata.helpers
.. autoclass:: BulkProcessor
   :members:
.. autoclass:: Transaction
   :members:

Errors
------

.. py:module:: xata.errors
.. autoclass:: XataServerError
   :members:
