---
title: "Get reconciliation agent status"
method: GET
path: "/reconciliations/{id}/agent_status"
---

# Get reconciliation agent status

`GET /reconciliations/{id}/agent_status`

Returns the current status of the reconciliation agent, which automatically creates and refines matching rules. The agent runs automatically when records are uploaded or manually matched — no manual triggering is needed.

## Path parameters

- `id` string, required

## Response `200`

Agent status

- object
  - `status` 'idle' | 'running' | 'failed' — Current agent status
  - `last_run_at` string, date-time, nullable — When the agent last ran
  - `progress` object[] — Ordered list of progress steps from the last run
    - `step` string
    - `message` string
    - `at` string, date-time
  - `reasoning` string, nullable — AI reasoning from the last rule analysis
  - `rules_count` integer — Number of active rules on this reconciliation
  - `unmatched_count` integer — Number of unreconciled records across both sides

## Other responses

- `404` — Reconciliation not found

---

[API](https://skmtc.net/endclose/apis/end-close-api.md) · [All operations](https://skmtc.net/endclose/apis/end-close-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/endclose/end-close-api/revisions/613ceff68dc7/schema)
