---
title: "Save the risk matrix"
method: PUT
path: "/v1/ap/risk"
tags: ["Accounts Payable"]
---

# Save the risk matrix

`PUT /v1/ap/risk`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/ap/risk`
- Auth: HTTP bearer

Only what differs from the defaults is kept; a part the body leaves out (`likelihood` or `impact`) keeps what was saved; `risk: null` goes back to the defaults. The rest of the AP configuration is untouched. Every held bill's risk follows on the next read.

## Request body

- object
  - `risk` ApRiskSettings, nullable
    - `likelihood` object: Per hold reason: high, medium or low.
    - `impact` object
      - `high` number, required
      - `medium` number, required

## Response `200`

The risk matrix as saved.

- ApRiskMatrix
  - `currency` string: The ledger currency the impact amounts are in.
  - `defaults` ApRiskSettings
    - `likelihood` object: Per hold reason: high, medium or low.
    - `impact` object
      - `high` number, required
      - `medium` number, required
  - `overrides` ApRiskSettings, nullable: What this workspace changed; null when it uses the defaults.
    - `likelihood` object: Per hold reason: high, medium or low.
    - `impact` object
      - `high` number, required
      - `medium` number, required
  - `settings` ApRiskSettings
    - `likelihood` object: Per hold reason: high, medium or low.
    - `impact` object
      - `high` number, required
      - `medium` number, required
  - `matrix` object: Likelihood (key) to impact (key) to risk.

## Other responses

- `400`: The request is invalid.

## Changes

- **2026-11-03** `c81bf2e33e3b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/ap/risk/put.md)

---

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