---
title: "Check up to 50 agents against one KYA policy in a single call"
method: POST
path: "/v1/kya/check-batch"
tags: ["Platform"]
---

# Check up to 50 agents against one KYA policy in a single call

`POST /v1/kya/check-batch`

## Request

- Base URL: `https://www.rightshold.com`
- URL: `https://www.rightshold.com/v1/kya/check-batch`
- Auth: none required

## Headers

- `X-Request-Id` string

## Request body

- object
  - `agents` string[], required
  - `policy` object

## Response `200`

OK

- object: Inferred from 4 recorded responses; required fields appeared in every one; additional properties may appear.
  - `count` integer, required
  - `allowed` integer, required
  - `results` object[], required
    - `agent` string, required
    - `found` boolean, required
    - `allow` boolean, required
    - `reasons` string[], required
    - `kya` object
      - `number` string, required
      - `handle` string, required
      - `level` string, required
      - `status` string, required
  - `policy` object, required
    - `min_level` string
  - `checked_at` string, required
  - `next_action` object, required
    - `action` string, required
    - `label` string, required
    - `why` string, required
    - `needs` string, required

## Other responses

- `400`: Problem details: a stable error code, type URI, title, status and an explanation
- `401`: Problem details: a stable error code, type URI, title, status and an explanation
- `404`: Problem details: a stable error code, type URI, title, status and an explanation
- `405`: Problem details: a stable error code, type URI, title, status and an explanation
- `422`: Problem details: a stable error code, type URI, title, status and an explanation
- `429`: Request budget exhausted; retry after Retry-After seconds
- `500`: Problem details: a stable error code, type URI, title, status and an explanation
- `4XX`: {error, detail}

---

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