---
title: "Report on a task"
method: POST
path: "/api/assistant/tasks/{id}/report"
tags: ["Mailzero Assistant"]
---

# Report on a task

`POST /api/assistant/tasks/{id}/report`

## Request

- Base URL: `https://domani.run`
- URL: `https://domani.run/api/assistant/tasks/{id}/report`
- Auth: HTTP bearer

What the assignee did and how it ended: done (the matter resolves, or waits when an answer is still expected), blocked (the owner is asked), or handed back (the owner takes over and the rule stays off this matter). Claims are reconciled with the receipts the platform wrote: a claim without a receipt is recorded as a claim, never as a fact. The lease is released. Requires `assistant:write`.

## Path parameters

- `id` string, required

## Request body

- object
  - `outcome` 'done' | 'blocked' | 'handed_back', required
  - `summary` string, required
  - `evidence_refs` string[]
  - `claims` object[]
    - `kind` string, required
    - `ref` string, required: A receipt id, a plan (plan:<id>), or an evidence ref the platform wrote

## Response `200`

The reconciliation and where the matter stands

- object
  - `task_id` string, required
  - `outcome` string, required
  - `status` string, required
  - `reconciliation` object, required
    - `verified` object[]
    - `unverified` object[]
    - `receipts` integer
  - `receipt_id` string, required
  - `hint` string

## Other responses

- `400`: Invalid report
- `401`: Missing or invalid API key
- `403`: The matter is not handed to the caller
- `404`: No such task in the caller's scope
- `429`: Rate limit exceeded - wait and retry

---

[API](https://skmtc.dev/domani/apis/domani-run-api.md) · [All operations](https://skmtc.dev/domani/apis/domani-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/domani/apis/domani-run-api/revisions/7679f8159533?raw)
