---
title: "List risk flags"
method: GET
path: "/v1/risk_flags"
tags: ["Risk"]
---

# List risk flags

`GET /v1/risk_flags`

## Request

- Base URL: `https://api.affiliaterail.com`
- URL: `https://api.affiliaterail.com/v1/risk_flags`
- Auth: HTTP bearer

Highest severity first, newest first within one. `evidence` carries what the check saw. New flags are created by the risk checks, which run on plans with fraud monitoring; history stays readable on every plan.

**Scope:** `read`

## Query parameters

- `program_id` string, required
- `status` 'open' | 'reviewing' | 'resolved' | 'dismissed'
- `partner_id` string
- `limit` string: 1 to 100, default 50
- `offset` string

## Response `200`

Risk flags

- RiskFlagList
  - `data` RiskFlag[], required
    - `id` string, required: Prefixed id (`rsk_…`)
    - `object` 'risk_flag', required
    - `kind` string, required
    - `severity` 'high' | 'medium' | 'low', required
    - `status` 'open' | 'reviewing' | 'resolved' | 'dismissed', required
    - `evidence` object, required: What the check saw: rates, ids, windows
    - `partner` object, nullable, required
      - `id` string, required: Prefixed id (`part_…`)
      - `name` string, required
      - `handle` string, required
      - `status` string, required
    - `customer` object, nullable, required
      - `id` string, required: Prefixed id (`cus_…`)
      - `label` string, required
    - `resolved_at` string, date-time, nullable, required: ISO-8601, UTC
    - `resolved_by` string, nullable, required
    - `resolution_note` string, nullable, required
    - `created_at` string, date-time, required: ISO-8601, UTC
  - `has_more` boolean, required
  - `total_count` integer, required

## Other responses

- `400`: Invalid request
- `401`: Missing or unknown API key
- `403`: Key lacks the required scope
- `404`: No such object in your organization
- `422`: The request was understood and refused
- `429`: Rate limited: see Retry-After

---

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