---
title: "Get all SourceDocumentStatusDetailed for the Project with the given ID by status"
method: POST
path: "/docprocessing/project/{proj_id}/search"
tags: ["docprocessing"]
---

# Get all SourceDocumentStatusDetailed for the Project with the given ID by status

`POST /docprocessing/project/{proj_id}/search`

## Path parameters

- `proj_id` integer, required

## Query parameters

- `doctype` 'text' | 'image' | 'video' | 'audio', required
- `page` integer, required
- `page_size` integer, required

## Request body

- SdocHealthSort[]
  - `column` string, required
  - `direction` 'asc' | 'desc', required

## Response `200`

Successful Response

- SdocHealthResult
  - `total_results` integer, required — Total number of sdocs in the project
  - `data` SdocStatusRow[], required — List of SourceDocument status rows (one per sdoc in the project)
    - `sdoc_id` integer, required — ID of the SourceDocument
    - `name` string, required — Name of the SourceDocument
    - `status` object, required — Processing status of the SourceDocument (the keys are the processing step/job and differ per doctype)
    - `failed_job_uuids` object, required — UUIDs of the failed processing jobs (the keys are the processing step/job and differ per doctype)
    - `failed_job_status_msgs` object, required — Status messages of the failed processing jobs (the keys are the processing step/job and differ per doctype)

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/versions/6b22366ce2d1/schema)
