---
title: "POST /schemas/{namespace}"
method: POST
path: "/schemas/{namespace}"
tags: ["schemas"]
---

# POST /schemas/{namespace}

`POST /schemas/{namespace}`

Creates a managed schema

## Path parameters

- `namespace` string, required

## Request body

- object
  - `title` string, required
  - `description` string
  - `version` string, required
  - `slug` string, required
  - `isPrivate` boolean
  - `document` string

## Response `200`

Default Response

- object
  - `uid` string, required

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

## Changes

> 16 revisions in range; 5 could not be searched.

- **2026-08-07** `8dff1e93bc68` — 1 info
  - api operation id `postschemasNamespace` removed and replaced with `postSchemasNamespace`

[Change history](https://skmtc.dev/scalar/apis/core/changes/schemas/:namespace/post.md)

---

[API](https://skmtc.dev/scalar/apis/core.md) · [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scalar/core/revisions/2c53f2191a3e/schema)
