---
title: "Commit staged rows into transactions"
method: POST
path: "/api/imports/{id}/commit"
tags: ["Imports"]
---

# Commit staged rows into transactions

`POST /api/imports/{id}/commit`

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `override` boolean

## Response `200`

Commit workflow triggered

- object
  - `message` string
  - `success` boolean, required

## Other responses

- `401` — Unauthorized
- `404` — Import job not found
- `409` — Job not ready for commit
- `422` — Pre-commit gate blocked the import, or raised warnings needing override

---

[API](https://skmtc.net/cobaltpf/apis/cobalt-api.md) · [All operations](https://skmtc.net/cobaltpf/apis/cobalt-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cobaltpf/cobalt-api/revisions/8ef0dfb5d23c/schema)
