---
title: "Rotate tool passport keypair"
method: POST
path: "/v1/me/tools/{tool_id}/rotate"
tags: ["tool-passport"]
---

# Rotate tool passport keypair

`POST /v1/me/tools/{tool_id}/rotate`

## Request

- Base URL: `https://api.lithtrix.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lithtrix.ai/v1/me/tools/{tool_id}/rotate`
- Auth: none declared

Rotate Ed25519 keypair for an owned tool. **Requires root ``ltx_*``**. Previous public key remains valid until ``grace_until``.

## Path parameters

- `tool_id` string, required: Tool passport UUID

## Headers

- `authorization` string, nullable

## Request body

- ToolRotateRequest: Optional new model provenance or risk class on rotation.
  - `model_provenance` string, nullable
  - `risk_class` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/lithtrix/apis/lithtrix-api.md) · [All operations](https://skmtc.dev/lithtrix/apis/lithtrix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lithtrix/apis/lithtrix-api/revisions/be5de51bf4f8?raw)
