---
title: "Record live validation results for a credential pool"
method: POST
path: "/api/keys/report-validation"
tags: ["API Keys"]
---

# Record live validation results for a credential pool

`POST /api/keys/report-validation`

## Request

- Base URL: `http://localhost:3013`
- URL: `http://localhost:3013/api/keys/report-validation`
- Auth: HTTP bearer

## Request body

- object
  - `keyType` string, required
  - `keys` object[], required
    - `keyIndex` integer, required
    - `keySuffix` string, required
    - `ok` boolean, required
    - `httpStatus` integer
  - `scope` string
  - `scopeId` string

## Response `200`

Validation recorded

- object
  - `success` true, required
  - `message` string, required

## Other responses

- `400`: Validation error
- `401`: Unauthorized

## Changes

- **2026-10-25** `0530fa7ea739`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/keys/report-validation/post.md)

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) - [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) - [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/7e4c7198192a?raw)
