---
title: "Save a lab correction"
method: POST
path: "/api/correction-equations"
tags: ["correction-equations"]
---

# Save a lab correction

`POST /api/correction-equations`

## Request

- Base URL: `https://api.ivive.app`
- URL: `https://api.ivive.app/api/correction-equations`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Fit as in /correction-equations/fit and save the result with its compounds.

## Request body

- CorrectionSaveRequest
  - `assay_type` 'microsomes' | 'hepatocytes', required
  - `species` 'human' | 'rat' | 'dog'
  - `source` string, nullable: Lab or dataset the compounds come from.
  - `compounds` LabCompound[], required
    - `name` string, required
    - `clint` number, required: In-vitro CLint (µL/min/mg protein or µL/min/10⁶ cells).
    - `fu_mic` number, required: Unbound fraction in the incubation.
    - `fu_p` number, required: Unbound fraction in plasma.
    - `rb` number: Blood-to-plasma ratio.
    - `cl_obs` number, required: Observed total plasma clearance, IV (mL/min/kg).
  - `name` string, required

## Response `201`

Successful Response

- CorrectionEquationResponse
  - `n_compounds` integer, required
  - `fu_p_min` number, required
  - `fu_p_max` number, required
  - `fits` object, required: Keyed by IVIVE model.
  - `id` string, required
  - `name` string, required
  - `assay_type` string, required
  - `species` string, required
  - `source` string, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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