---
title: Get Security Check
description: "Returns a DeepSec Security Check's status, v0's checked findings, and what the check cost. Poll until `status` is `completed`."
docs_index: /docs/llms.txt
lastUpdated: 2026-11-27
badge: "GET"
---

> For an index of all documentation, see [/docs/llms.txt](/docs/llms.txt).

Returns a DeepSec Security Check's status, v0's checked findings, and what the check cost. Poll until `status` is `completed`.

#### `GET /v2/chats/{chatId}/security-checks/{checkId}`

## Usage

```typescript
import { v0 } from 'v0'

const result = await v0.securityChecks.get({
  chatId: 'chat_abc123',
  checkId: 'id_abc123',
})

console.log(result)
```

```bash
curl -X GET "https://api.v0.dev/v2/chats/chat_abc123/security-checks/chat_abc123"   -H "Authorization: Bearer $V0_API_KEY"   -H "Content-Type: application/json"
```

## API Signature

### Request

#### Path Parameters

- `chatId: string` The unique identifier of the chat.
  - **Minimum length:** 1
- `checkId: string` The Security Check ID.
  - **Minimum length:** 1

### Response

- `id: string` The Security Check ID, which is also the ID of the assistant message that runs it.
- `object: 'security_check'`
- `chatId: string` The chat the check runs in.
- `scope: 'project' | 'changes'` `changes`: what changed in the chat. `project`: the riskiest files across the app.
- `status: 'running' | 'completed'` `completed` once v0 has finished its reply.
- `review?: object | object | object | object` How the review itself went. Absent until it starts, while v0 retries an attempt that couldn't start, and when v0 didn't run one (for example, when there were no changes to review, or reviews aren't available for this chat).
- `summary?: object` Counts of v0's checked findings. Present whenever `findings` is.
  - `confirmed: integer` Findings v0 confirmed.
  - `dismissed: integer` Findings v0 dismissed after checking.
  - `highestSeverity: 'critical' | 'high' | 'medium' | 'low' | 'bug' | null` The most severe confirmed finding, or null when none was confirmed. For example, fail a deploy when it is `critical` or `high`.
  - `bySeverity: object` Confirmed findings by severity.
    - `critical: integer`
    - `high: integer`
    - `medium: integer`
    - `low: integer`
    - `bug: integer`
- `findings?: object[]` v0's checked findings: confirmed first, then most severe first. Empty for a clean review. Absent until v0 records them, and when no review finished with a result.
  - `item: object`
    - `id: string` The finding's number within this check.
    - `title: string` Short name of the issue.
    - `severity: 'critical' | 'high' | 'medium' | 'low' | 'bug'` The severity v0 concluded after checking, most severe first; `bug` is a non-security bug.
    - `file: string` Project-relative file path.
    - `line: integer | null` 1-based line of the issue, or null when it spans the file.
    - `status: 'confirmed' | 'dismissed'` `confirmed`: a real risk. `dismissed`: other code in the project already handles it.
    - `explanation: string` Why it is a risk, or which code handles it when dismissed, as Markdown.
    - `fix: string | null` The suggested fix for a confirmed finding, as Markdown: one sentence, followed by a `diff` code block when the fix changes code.
- `reply?: string` v0's final reply, once the check is completed.
- `cost?: object` What the check's AI calls cost so far. v0's own reply is billed like any message and isn't included.
  - `credits: string` v0 credits used by the check's AI calls, as a decimal string.
  - `charged: boolean` Whether the credits were charged; false when v0 covered them.
- `createdAt: string` When the check was started.

---

For a semantic overview of all documentation, see [/docs/sitemap.md](/docs/sitemap.md)

For an index of all available documentation, see [/docs/llms.txt](/docs/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/docs/agents.md](/docs/agents.md)