---
title: "Agent Key Rotation Auditor"
method: POST
path: "/v1/tools/audit_agent_key_rotation"
tags: ["web-bot-auth", "key-rotation", "ed25519", "visa-tap", "mastercard-agent-pay", "agent-identity", "wave24"]
---

# Agent Key Rotation Auditor

`POST /v1/tools/audit_agent_key_rotation`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/audit_agent_key_rotation`
- Auth: none declared

Audit Ed25519 key age and rotation posture for Web Bot Auth / Visa TAP / Mastercard Agent Pay. Computes key_age_s from key_created_unix and now_unix, checks next-key staging, emits HEALTHY / ROTATION_STAGED / ACTION_REQUIRED.

**Tool URL:** https://ainumbers.co/chaingraph/art-132-agent-key-rotation-auditor.html
**AP2/Policy Mandate export:** yes

## Request body

- object
  - `key_created_unix` number, required
  - `now_unix` number, required
  - `max_key_age_s` number
  - `next_key_present` boolean
  - `algorithm` string

## Response `200`

Successful tool execution result

- object
  - `key_age_s` number
  - `rotation_due` boolean
  - `next_key_staged` boolean
  - `alg_ok` boolean
  - `verdict` 'HEALTHY' | 'ROTATION_STAGED' | 'ACTION_REQUIRED'

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
