Skip to main content
GET
Get database by ID
  • Returns complete database structure including table schemas
  • Includes field configurations and view definitions
  • Use this endpoint to understand database structure before making changes

Authorizations

Authorization
string
header
required

Enter your Zite API key. Format: Bearer <api_key>

Path Parameters

databaseId
string
required

The unique identifier of the database

Response

Database details

id
string
required

Unique identifier for the database

Example:

"cd6ff4eff7845d96"

name
string
required

Name of the database

tables
object[]
required

List of tables in the database

createdAt
string<date-time>
required

ISO timestamp of when the database was created

Example:

"2025-10-18T02:08:14.784Z"

updatedAt
string<date-time>
required

ISO timestamp of when the database was last updated

Example:

"2025-10-18T02:08:14.784Z"

url
string<uri>
required

URL to view this database in the app

Example:

"https://app.zite.com/database/cd6ff4eff7845d96"

workspaceId
integer

ID of the workspace that owns this database. Omitted when the database has none.