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": "<string>",
  "name": "<string>",
  "tables": [
    {
      "id": "<string>",
      "name": "<string>",
      "order": 123,
      "primaryFieldId": "<string>",
      "fields": [
        {
          "id": "<string>",
          "name": "<string>",
          "type": "<string>",
          "template": {},
          "order": 123
        }
      ],
      "views": [
        {
          "id": "<string>",
          "name": "<string>",
          "type": "<string>",
          "config": {
            "sorts": [
              {}
            ],
            "hiddenFieldIds": [
              "<string>"
            ],
            "fieldWidths": {},
            "orderedFieldIds": [
              "<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
required

Unique identifier for the database

name
string
required

Name of the database

tables
object[]
required

List of tables in the database

I