# System Schema APIs

Endpoints for managing Guardian system schemas — predefined schema types used internally by the platform.

**Authentication:** Bearer token required (`Authorization: Bearer <token>`)

***

| Method   | Endpoint                                     | Description                                   | Auth Required |
| -------- | -------------------------------------------- | --------------------------------------------- | ------------- |
| `GET`    | `/api/v1/schemas/system/{username}`          | Returns system schemas for the specified user | Yes           |
| `POST`   | `/api/v1/schemas/system/{username}`          | Creates a new system schema                   | Yes           |
| `DELETE` | `/api/v1/schemas/system/{schemaId}`          | Deletes a system schema                       | Yes           |
| `PUT`    | `/api/v1/schemas/system/{schemaId}`          | Updates a system schema                       | Yes           |
| `PUT`    | `/api/v1/schemas/system/{schemaId}/active`   | Publishes (activates) a system schema         | Yes           |
| `GET`    | `/api/v1/schemas/system/entity/{schemaType}` | Returns a system schema by type               | Yes           |

## Endpoints

* [Returns Schema by Username](/docs/develop/guardian/standard-registry/schemas/system-schema-apis/returns-schema-by-username.md)
* [Creates New System Schema](/docs/develop/guardian/standard-registry/schemas/system-schema-apis/creates-new-system-schema.md)
* [Delete System Schema](/docs/develop/guardian/standard-registry/schemas/system-schema-apis/delete-system-schema.md)
* [Updates the Schema](/docs/develop/guardian/standard-registry/schemas/system-schema-apis/updates-the-schema.md)
* [Publishes the Schema](/docs/develop/guardian/standard-registry/schemas/system-schema-apis/publishes-the-schema.md)
* [Returns Schema by Type](/docs/develop/guardian/standard-registry/schemas/system-schema-apis/returns-schema-by-type.md)
* [Schema Type](/docs/develop/guardian/standard-registry/schemas/system-schema-apis/schema-type.md)
* [Returns Map API Key](/docs/develop/guardian/standard-registry/schemas/system-schema-apis/returns-map-api-key.md)


---

# Agent Instructions: 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://guardian.hedera.com/docs/develop/guardian/standard-registry/schemas/system-schema-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.
