Skip to main content
POST
/
api
/
metastore
/
catalogs
/
{catalog}
/
schemas
Create schema
curl --request POST \
  --url https://api.example.com/api/metastore/catalogs/{catalog}/schemas \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "schema_name": "<string>",
  "properties": {}
}
'
{
  "catalog": "<string>",
  "schema": "<string>",
  "status": "CREATED"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

catalog
string
required

Body

application/json
schema_name
string
required

Name of the schema. Must be unique within the catalog.

properties
Properties · object

Optional schema-level properties such as description or tags.

Response

Data retrieved successfully.

catalog
string
required

Catalog in which the schema was created.

schema
string
required

Name of the schema that was created.

status
string
default:CREATED

Final status of the create schema operation.