---
title: "Redirect to the versioned configuration schema URL"
method: GET
path: "/api/schema"
tags: ["Schema"]
---

# Redirect to the versioned configuration schema URL

`GET /api/schema`

Redirects (302) to `/api/schema/{hash}` where `{hash}` is the SHA-256
of the current configuration schema. Use this when you do not yet know
the hash; once you have cached a schema at a given hash the immutable
cache will never require re-download.

## Other responses

- `302` — Redirect to the hashed schema URL
- `401` — Missing or invalid credentials

---

[API](https://skmtc.net/stalwartlabs/apis/stalwart-management-api.md) · [All operations](https://skmtc.net/stalwartlabs/apis/stalwart-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stalwartlabs/stalwart-management-api/revisions/a38a1bbfe8b2/schema)
