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.
Field shape: The field definitions have the same shape that Create Database and Update Metadata Schema accept. Free-form fields: 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
TenantsTenantMetadataSchemaResponse · object
Example:
error
HandlerApiError · object | null

Error details on failure, or null on success.

Example:

null

meta
HandlerResponseMeta · object
Example:
success
boolean

Whether the request succeeded.

Example:

true