---
title: "Create Key"
method: POST
path: "/keys/generate"
tags: ["keys"]
---

# Create Key

`POST /keys/generate`

## Request

- Base URL: `https://api.tagflow-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tagflow-ai.com/keys/generate`
- Auth: none declared

Mint a key. Labels are unique — they're the handle for everything else.

## Headers

- `authorization` string, nullable

## Request body

- GenerateKeyRequest
  - `label` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tagflow-ai/apis/multi-dialect-llm-gateway.md) - [All operations](https://skmtc.dev/tagflow-ai/apis/multi-dialect-llm-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/tagflow-ai/apis/multi-dialect-llm-gateway/revisions/35100eabe9a2?raw)
