> ## Documentation Index
> Fetch the complete documentation index at: https://www.zite.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Database API

> Use the Zite REST API and TypeScript SDK to read and manage databases, tables, fields, records, and webhooks.

Zite has a full REST API (and TypeScript SDK) for working with your databases programmatically — create, read, update, and delete records, manage tables and fields, run read-only SQL queries, and subscribe to webhooks when data changes.

> [!NOTE]
>
> API documentation lives in the **[Zite developer docs](https://developers.zite.com)**. That's the place for API references, the Zite.js framework, agent-based building with MCP, and everything else developer-facing.

## Developer resources

> [card] [Database API overview](https://developers.zite.com/api/overview)
>
> Authentication, base URL, rate limits, and error codes.

> [card] [TypeScript SDK](https://developers.zite.com/api/sdk)
>
> Work with the API from JavaScript or TypeScript with `zitejs`.

> [card] [Records](https://developers.zite.com/api/records/list-records)
>
> Create, query, update, and delete records — individually or in bulk.

> [card] [Field types](https://developers.zite.com/api/field-types)
>
> Every field type, its value shape, and configuration options.

> [card] [Webhooks](https://developers.zite.com/api/webhooks/webhooks)
>
> Get notified when records, tables, or fields change.

> [card] [SQL queries](https://developers.zite.com/api/sql/run-sql)
>
> Run read-only SQL against your database.

> [card] [Build API](https://developers.zite.com/build-api/overview)
>
> Create workspaces and build, edit, and publish apps programmatically.

> [card] [Zite MCP](https://developers.zite.com/api/mcp/overview)
>
> Let AI agents query and manage your data over MCP.

If a sync or import updates an existing row, that is reported as a record update, with the previous values. Rows that have not changed send nothing. A new-record trigger only runs for rows that are genuinely new.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.