zitedb
v1.0.1
Published
Client for the ZiteDB API
Readme
Connecting to the API
import { Zite } from "zitedb"
const z = new Zite(ZITE_API_KEY)You can generate an API key for your organization at https://build.fillout.com/home/settings/developer. It should start with sk_prod_.
Don't save secret keys in your code - use an environmental variable instead.
Get started with these examples
Print a list of databases:
const databases = await z.database.list()
console.log(databases)[
{
id: "54752b5b7c373e06",
name: "Event RSVP",
createdAt: "2026-02-05T20:50:26.924Z",
updatedAt: "2026-02-05T20:50:26.924Z",
url: "https://build.fillout.com/database/54752b5b7c373e06",
}, {
id: "e9ebbbaa15a04bc9",
name: "Contact Form Database",
createdAt: "2026-01-26T15:20:14.489Z",
updatedAt: "2026-01-26T15:20:14.489Z",
url: "https://build.fillout.com/database/e9ebbbaa15a04bc9",
}
]Create record:
const record = await z.record.create(DATABASE_ID, TABLE_ID, {
Name: "Toby W",
Email: "[email protected]"
})
console.log(`Created record with id ${record.id}`)Filter records in a table:
const { records } = await z.record.list(DATABASE_ID, TABLE_ID, {
filter: {
field: "Email",
ends_with: "@gmail.com"
},
limit: 10,
sort: [
{
field: "Email",
direction: "asc"
}
]
})
console.log(records.map(r => ({ id: r.id, fields: r.fields })))[
{
id: "0f1dadf4-0069-4116-99c2-a77dcfba57cf",
fields: {
Name: "Alan Smith",
Email: "[email protected]",
Message: "How are you doing?",
"Submitted At": "2025-03-05T08:44:00.000Z",
},
}, {
id: "818c847e-8088-41e3-820c-6e0edc20cdea",
fields: {
Name: "John Harper",
Email: "[email protected]",
Message: "Hello",
"Submitted At": "2026-02-09T22:39:27.039Z",
},
}
](You can also use field IDs instead of labels.)
Documentation
Take a look at our API documentation to find out everything you can do.
zitedb | n8n-nodes-zitedb | @fillout/api | @fillout/react | n8n-nodes-fillout
