---
title: "POST /api/slcp/assessments/{id}/history"
method: POST
path: "/api/slcp/assessments/{id}/history"
tags: ["SLCP Assessments"]
---

# POST /api/slcp/assessments/{id}/history

`POST /api/slcp/assessments/{id}/history`

Record that the caller's company synced an SLCP assessment into the facility company's profile; 201 with the history row. The companies are derived from the caller and the assessment. 404 `not_found` for an assessment the company cannot see, 409 `slcp_assessment_without_facility_company` for one with no facility company. Migrated from the legacy audits-service POST /v1/slcp-assessments/history.

## Path parameters

- `id` string, required

## Request body

- object
  - `failedDatapoints` object[]

## Response `201`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `slcpAssessmentId` string, required
    - `slcpAssessmentObjectId` string, required
    - `forCompanyId` string, required
    - `byCompanyId` string, required
    - `onBehalfOfCompanyId` string, required
    - `revision` string, required
    - `failedDatapoints` object[], nullable, required
    - `createdAt` string, nullable, required

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `409` — Default Response

## Changes

> 57 revisions in range; 1 not diffed.

- **2026-10-06** `6f6121dab5c2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/slcp/assessments/:id/history/post.md)

---

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