> For the complete documentation index, see [llms.txt](https://dev.guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.guardian.hedera.com/schemas/system-schemas-apis.md).

# System Schema APIs

The System Schemas APIs provide endpoints for managing Guardian built-in system schemas, such as Standard Registry, User, Policy, and Token schemas that underpin the platform's own data structures.

**Base URL:** `/api/v1/schemas/system`

***

## Endpoints

| Method       | Endpoint                                | Description                                         | Auth Required |
| ------------ | --------------------------------------- | --------------------------------------------------- | ------------- |
| **`POST`**   | `/schemas/system/{username}`            | Creates a new system schema                         | Yes           |
| **`GET`**    | `/schemas/system/{username}`            | Returns system schemas by username                  | Yes           |
| **`PUT`**    | `/schemas/system/{schemaId}`            | Updates the specified system schema                 | Yes           |
| **`PUT`**    | `/schemas/system/{schemaId}/active`     | Makes the schema active (publishes it)              | Yes           |
| **`DELETE`** | `/schemas/system/{schemaId}`            | Deletes the specified system schema (async)         | Yes           |
| **`GET`**    | `/schemas/system/entity/{schemaEntity}` | Returns the active schema for the given entity type | Yes           |
| **`GET`**    | `/schemas/type/{schemaType}`            | Returns schema by JSON document type string         | Yes           |

***

## Endpoint Details

* [Creates New System Schema](/schemas/system-schemas-apis/creates-new-system-schema.md)
* [Returns Schema by Username](/schemas/system-schemas-apis/returns-schema-by-username.md)
* [Updates the Schema](/schemas/system-schemas-apis/updates-the-schema.md)
* [Publishes the Schema (Make Active)](/schemas/system-schemas-apis/publishes-the-schema.md)
* [Delete System Schema](/schemas/system-schemas-apis/delete-system-schema.md)
* [Returns Schema by Entity Type](/schemas/system-schemas-apis/schema-type.md)
* [Returns Schema by Schema Type](/schemas/system-schemas-apis/returns-schema-by-type.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.guardian.hedera.com/schemas/system-schemas-apis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
