---
title: "Get Risks By Ids"
method: GET
path: "/risks/batch"
tags: ["risks"]
---

# Get Risks By Ids

`GET /risks/batch`

Fetch several risks with the same joins and floors as ``GET /risks/{id}``.

Batched over risk ids the way ``/files/metadata`` is over file ids, and for
the same reason: the marketing analysis column mounts one card per finding
and each card used to hit ``GET /risks/{id}``, which is one pooled
connection per card. Missing, other-company, and (for non-admins)
rule-suppressed ids are left out of the mapping, so the caller maps back
over the ids it asked for.

## Query parameters

- `risk_ids` string[], required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/fastapi.md) · [All operations](https://skmtc.dev/kobaltlabs/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kobaltlabs/fastapi/revisions/3ff4c0bd276b/schema)
