Skip to main content
GET
Returns the database’s declared metadata fields in data.fields, including each field’s type and search settings. Use it to check which fields you can send in metadata before ingesting or updating context.
The field definitions have the same shape accepted by Create Database and Update Metadata Schema. Free-form additional_metadata fields are not part of this schema.

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer <your_api_key>.

Path Parameters

database
string
required

Database whose metadata schema to read.

Example:

"acme_corp"

Response

OK

data
object
Example:
error
Error details · object | null

Error details on failure, or null on success.

Example:

null

meta
object
Example:
success
boolean

Whether the request succeeded.

Example:

true