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

# Get Risks By Ids

`GET /risks/batch`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/risks/batch`
- Auth: none declared

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/kobaltlabs-api.md) - [All operations](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/revisions/8587332d5e43?raw)
