Skip to main content
GET
/
bases
/
{databaseId}
Get database by ID
curl --request GET \
  --url https://tables.fillout.com/api/v1/bases/{databaseId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "bad4b276-f604-47ad-86e5-d2ae4f60968f",
  "name": "<string>",
  "tables": [
    {
      "id": "<string>",
      "name": "<string>",
      "order": 123,
      "primaryFieldId": "<string>",
      "fields": [
        {
          "id": "<string>",
          "name": "<string>",
          "type": "single_line_text",
          "template": {},
          "order": 123
        }
      ],
      "views": [
        {
          "id": "<string>",
          "name": "<string>",
          "type": "<string>",
          "config": {
            "sorts": [
              {}
            ],
            "hiddenFieldIds": [
              "<string>"
            ],
            "fieldWidths": {},
            "orderedFieldIds": [
              "<string>"
            ]
          }
        }
      ]
    }
  ],
  "createdAt": "2025-10-18T02:08:14.784Z",
  "updatedAt": "2025-10-18T02:08:14.784Z",
  "workspaceId": "<string>"
}
Retrieves detailed information about a specific database including all tables, fields, and views.
  • 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 Fillout API key. Format: Bearer <api_key>

Path Parameters

databaseId
string
required

The unique identifier of the database

Response

Database details

id
string<uuid>
required

Unique UUID identifier for the database

Example:

"bad4b276-f604-47ad-86e5-d2ae4f60968f"

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"

workspaceId
string

Workspace ID that owns this database