---
title: "Resolve task"
method: POST
path: "/workflow_tasks/resolve"
tags: ["Document AI — Tasks & Substitutes"]
---

# Resolve task

`POST /workflow_tasks/resolve`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/workflow_tasks/resolve`
- Auth: HTTP bearer

IDEMPOTENCY: with decision=postpone an idempotency_key (body or Idempotency-Key header, 8 to 128 characters) behaves exactly like on po_documents_create_from_content — repeating the SAME payload replays the stored result...

## Response `200`

Success

- object
  - `status` 'success' | 'error', required: HTTP-Level Status
  - `job_id` string, required
  - `message` string: Menschenlesbare Statusmeldung
  - `pipeline` string
  - `operation` string: Ausgefuehrte Operation
  - `processing_time` string: Gesamte Verarbeitungszeit inkl. Queue (Format: 123.45ms)
  - `result` object, required: Das eigentliche Verarbeitungsergebnis
    - `status` 'completed' | 'failed' | 'timeout': Job-Level Status
    - `message` string: Pipeline-spezifische Statusmeldung
    - `duration_ms` string: Reine Pipeline-Verarbeitungszeit in ms
    - `output` object
      - `task_uuid` string
      - `task_status` string
      - `decision` string: approve|reject|escalate|postpone
      - `reviews_completed` integer
      - `reviews_required` integer
      - `consensus_reached` boolean
      - `credits_charged` integer

## Other responses

- `4XX`: Error
- `5XX`: Error

---

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