---
title: "Set Lang"
method: GET
path: "/lang/{locale}"
---

# Set Lang

`GET /lang/{locale}`

## Request

- Base URL: `https://agentforge.sciscale.org` (the document declares no server; this is the origin it was published from)
- URL: `https://agentforge.sciscale.org/lang/{locale}`
- Auth: none declared

Language switcher endpoint. Sets the lang cookie + redirects back to
the page the user came from (or / if Referer is missing/cross-origin).

## Path parameters

- `locale` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sciscale/apis/agentforge.md) · [All operations](https://skmtc.dev/sciscale/apis/agentforge/llms.txt) · [OpenAPI document](https://skmtc.dev/sciscale/apis/agentforge/revisions/402c3d267f68?raw)
