Задачи разбора
GET/v1/review-tasks
- Области доступа
review:read
Filters combine with AND. A cursor is bound to the filter it was issued for; another filter with that cursor is 400. Invalid filter value is 400 schema_validation_failed.
Параметры
| Поле | Тип | Обязательно |
|---|
cursorзапрос | string | нет |
|---|
limitзапрос | integer | нет |
|---|
case_idзапросOnly tasks of this case. | string (uuid) | нет |
|---|
statusзапросOnly tasks in this status (lease expiry applied). | enum: open, claimed, resolved, expired | нет |
|---|
assignmentзапросassigned: claimed by anyone; unassigned: open; mine: claimed by the calling identity. | enum: assigned, unassigned, mine | нет |
|---|
assigned_principal_idзапросOnly tasks claimed by this principal. | string (uuid) | нет |
|---|
Ответы
200ReviewTaskList400401403404409412413415422428429503
Взять задачу в работу
POST/v1/review-tasks/{task_id}/claim
- Области доступа
review:claim- Обязательный заголовок
Idempotency-Key- Обязательный заголовок
If-Match
Параметры
| Поле | Тип | Обязательно |
|---|
task_idпуть | string (uuid) | да |
|---|
Ответы
200ReviewTask400401403404409412413415422428429503
Завершить разбор
POST/v1/review-tasks/{task_id}/resolve
- Области доступа
review:resolve- Обязательный заголовок
Idempotency-Key- Обязательный заголовок
If-Match
Параметры
| Поле | Тип | Обязательно |
|---|
task_idпуть | string (uuid) | да |
|---|
Тело запросаReviewResolve
| Поле | Тип | Обязательно |
|---|
resolution | enum: approve, reject, request_evidence, inconclusive | да |
|---|
reason_codes | array of string | да |
|---|
evidence_ids | array of string (uuid) | да |
|---|
note | string | да |
|---|
kyb_conflict_decisions | array of KybConflictDecision | нет |
|---|
approval_id | string (uuid) | нет |
|---|
resolution_payload_sha256 | string | нет |
|---|
Ответы
200ReviewTask400401403404409412413415422428429503
Оценки экспертов
GET/v1/review-tasks/{task_id}/expert-records
- Области доступа
review:read
Параметры
| Поле | Тип | Обязательно |
|---|
task_idпуть | string (uuid) | да |
|---|
Ответы
200ExpertRecordList400401403404409412413415422428429503
Записать оценку эксперта
POST/v1/review-tasks/{task_id}/expert-records
- Области доступа
review:expert- Обязательный заголовок
Idempotency-Key
Document expert interface: a signed correction or assessment of a check of the task case. Two disagreeing expert assessments escalate the check to a senior expert. Scope review:expert: roles owner, reviewer, document_expert, senior_document_expert.
Параметры
| Поле | Тип | Обязательно |
|---|
task_idпуть | string (uuid) | да |
|---|
Тело запросаExpertRecordCreate
| Поле | Тип | Обязательно |
|---|
kind | enum: correction, assessment | да |
|---|
check_id | string (uuid) | да |
|---|
reason_code | string | да |
|---|
proposed_outcome | enum: pass, fail, inconclusive, not_supported, unavailable, not_performed | нет |
|---|
field | string | нет |
|---|
source | object | нет |
|---|
new_valueCorrected value; stored sealed with the subject key, never returned, recorded in the expert record only as a digest. | string | нет |
|---|
Ответы
201ExpertRecord400401403404409412413415422428429503
Оценка старшего эксперта
POST/v1/review-tasks/{task_id}/senior-assessments
- Области доступа
review:senior- Обязательный заголовок
Idempotency-Key
Senior document expert assessment of an escalated check. The senior expert is not one of the disagreeing experts.
Параметры
| Поле | Тип | Обязательно |
|---|
task_idпуть | string (uuid) | да |
|---|
Тело запросаSeniorAssessmentCreate
| Поле | Тип | Обязательно |
|---|
check_id | string (uuid) | да |
|---|
proposed_outcome | enum: pass, fail, inconclusive, not_supported, unavailable, not_performed | да |
|---|
reason_code | enum: fields_consistent, layout_mismatch, security_feature_doubtful, needs_original_document | да |
|---|
Ответы
201ExpertRecord400401403404409412413415422428429503
Очередь экспертизы
GET/v1/expert-queue
- Области доступа
review:expert
Queue of document checks for expert review: latest succeeded checks of the document family (document_*, nfc_*) of cases with an open or claimed review task, with the expert review status of each check; needs_review=true keeps checks whose outcome is not pass or that already have expert records. No applicant, case or screening data is returned.
Параметры
| Поле | Тип | Обязательно |
|---|
cursorзапрос | string | нет |
|---|
limitзапрос | integer | нет |
|---|
statusзапросOnly checks in this expert review status. | enum: open, agreed, escalated_to_senior, resolved_by_senior | нет |
|---|
case_idзапросOnly checks of this case. | string (uuid) | нет |
|---|
needs_reviewзапросtrue: only checks with an outcome other than pass or with expert records. | boolean | нет |
|---|
Ответы
200ExpertQueue400401403404409412413415422428429503
Материалы для экспертизы
GET/v1/review-tasks/{task_id}/expert-material
- Области доступа
review:expert
Material of one document check for the expert: the check, its source and derived evidence (metadata only), observed fields with their visibility class, conflicting values of other sources, the expert review state and the history of records with original and new values. Values are exposed by the masking profile of the caller: full with evidence:download, otherwise expert_masked (personal identifiers and address masked); a field outside the attribute list of the check is never shown.
Параметры
| Поле | Тип | Обязательно |
|---|
task_idпуть | string (uuid) | да |
|---|
check_idзапросDocument check of the task case. | string (uuid) | да |
|---|
Ответы
200ExpertMaterial400401403404409412413415422428429503
Просмотр материала экспертизы
GET/v1/review-tasks/{task_id}/expert-material/evidence/{evidence_id}/preview
- Области доступа
review:expert
Backend masked low resolution projection of a source or derived image of the check for the expert (same projection as previewEvidence); only evidence of this check or derived from it.
Параметры
| Поле | Тип | Обязательно |
|---|
task_idпуть | string (uuid) | да |
|---|
evidence_idпуть | string (uuid) | да |
|---|
check_idзапросDocument check of the task case. | string (uuid) | да |
|---|
Ответы
200EvidencePreview400401403404409412413415422428429503
Раскрыть оригинал материала
POST/v1/review-tasks/{task_id}/expert-material/evidence/{evidence_id}/reveal
- Области доступа
review:expert- Обязательный заголовок
Idempotency-Key
Reveal of the original image of the check to the expert while the review task is open or claimed: a short-lived signed link with a required reason (EvidenceReveal); only evidence of this check or derived from it. The audit event records the reason, the review task and the digest.
Параметры
| Поле | Тип | Обязательно |
|---|
task_idпуть | string (uuid) | да |
|---|
evidence_idпуть | string (uuid) | да |
|---|
check_idзапросDocument check of the task case. | string (uuid) | да |
|---|
Тело запросаEvidenceReveal
| Поле | Тип | Обязательно |
|---|
reason_code | enum: case_review, appeal_review, quality_assurance, customer_support, legal_obligation | да |
|---|
Ответы
200Download400401403404409412413415422428429503