---
title: "Put Spec"
method: PUT
path: "/specs/{name}/v{version}"
---

# Put Spec

`PUT /specs/{name}/v{version}`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/specs/{name}/v{version}`
- Auth: none declared

Copy-on-write a spec (specs/multi-tenancy/v0.1 Phase 3). Body is the raw
markdown. A GLOBAL admin writes the global runtime overlay (platform-wide);
a tenant admin writes its own tenant's override (shadows the baked library
for that tenant only). On-disk presence is the source of truth — no
versions.json bump needed (it is enumerated).

## Path parameters

- `name` string, required
- `version` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
