---
title: "POST /public/kafka/v2/cluster/{cluster}/glue-schemas"
method: POST
path: "/public/kafka/v2/cluster/{cluster}/glue-schemas"
tags: ["cli_glue-schema_kafka_v2_14"]
---

# POST /public/kafka/v2/cluster/{cluster}/glue-schemas

`POST /public/kafka/v2/cluster/{cluster}/glue-schemas`

## Request

- Base URL: `https://developers.conduktor.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.conduktor.io/public/kafka/v2/cluster/{cluster}/glue-schemas`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-console-api/docs/public/kafka/v2/cluster/:cluster/glue-schemas/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a GlueSchema

## Path parameters

- `cluster` string, required

## Request body

- GlueSchemaResourceV2
  - `apiVersion` string, required
  - `kind` 'GlueSchema', required
  - `metadata` GlueSchemaMetadata, required
    - `name` string, required
    - `cluster` string, required
    - `labels` MapLabelKeyString
  - `spec` GlueSchemaSpec, required
    - `format` 'AVRO' | 'JSON' | 'PROTOBUF', required
    - `compatibility` 'BACKWARD' | 'BACKWARD_ALL' | 'DISABLED' | 'FORWARD' | 'FORWARD_ALL' | 'FULL' | 'FULL_ALL' | 'NONE', required
    - `schema` string, required
    - `id` string, uuid
    - `version` integer

## Response `200`

- GlueSchemaCreateResultV2
  - `resource` GlueSchemaResourceV2, required
    - `apiVersion` string, required
    - `kind` 'GlueSchema', required
    - `metadata` GlueSchemaMetadata, required
      - `name` string, required
      - `cluster` string, required
      - `labels` MapLabelKeyString
    - `spec` GlueSchemaSpec, required
      - `format` 'AVRO' | 'JSON' | 'PROTOBUF', required
      - `compatibility` 'BACKWARD' | 'BACKWARD_ALL' | 'DISABLED' | 'FORWARD' | 'FORWARD_ALL' | 'FULL' | 'FULL_ALL' | 'NONE', required
      - `schema` string, required
      - `id` string, uuid
      - `version` integer
  - `createResult` 'AlreadyExist' | 'Created', required

## Other responses

- `400`: The request is not valid
- `401`: The user is not authenticated
- `403`: The user doesn't have sufficient privilege to do this operation
- `404`: No glue-schema with this technical id exists
- `409`: Resource already exists
- `500`: An unexpected error occurred in the server

---

[API](https://skmtc.dev/conduktor/apis/conduktor-console-api.md) - [All operations](https://skmtc.dev/conduktor/apis/conduktor-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conduktor/apis/conduktor-console-api/revisions/24750c294805?raw)
