Список политик
GET/v1/policies
Параметры
| Поле | Тип | Обязательно |
|---|---|---|
cursorзапрос | string | нет |
limitзапрос | integer | нет |
Ответы
200PolicyList400401403404409412413415422428429503
Справочник API
Политики решений: черновики, проверка, публикация, версии и различия.
GET/v1/policies
| Поле | Тип | Обязательно |
|---|---|---|
cursorзапрос | string | нет |
limitзапрос | integer | нет |
200PolicyList400401403404409412413415422428429503POST/v1/policies
PolicyCreate| Поле | Тип | Обязательно |
|---|---|---|
name | string | да |
purpose | string | да |
country_codes | array of string | да |
required_checksemail_signal is a low-assurance signal and is not allowed here. pep_screening and adverse_media_screening are optional checks only. | array of enum: document_ocr, document_authenticity, document_presence, document_status, face_match, face_pad, capture_integrity, nfc_integrity, ... | да |
optional_checksemail_signal is allowed only here; its fail and inconclusive do not block approval. pep_screening and adverse_media_screening are allowed only here: provider unavailability does not block approval, an unresolved potential match does until it is resolved. | array of enum: document_ocr, document_authenticity, document_presence, document_status, face_match, face_pad, capture_integrity, nfc_integrity, ... | нет |
legal_profile_id | string (uuid) | да |
retention_profile_id | string (uuid) | да |
ruleset_id | string (uuid) | да |
screening_profile_id | string (uuid) | нет |
calibration_profile_ids | array of string (uuid) | да |
allow_manual_review | boolean | да |
allow_reuse | boolean | да |
kyb_profile | KybProfile | нет |
previous_version_idPolicy version this version derives from (same tenant). Versions linked this way form one lineage. | string (uuid) | нет |
require_second_reviewApprove and reject resolutions of manual review need an approval of another identity (ReviewResolve.approval_id). | boolean | нет |
201Policy400401403404409412413415422428429503GET/v1/policies/{policy_id}
| Поле | Тип | Обязательно |
|---|---|---|
policy_idпуть | string (uuid) | да |
200Policy400401403404409412413415422428429503PUT/v1/policies/{policy_id}
| Поле | Тип | Обязательно |
|---|---|---|
policy_idпуть | string (uuid) | да |
PolicyCreate| Поле | Тип | Обязательно |
|---|---|---|
name | string | да |
purpose | string | да |
country_codes | array of string | да |
required_checksemail_signal is a low-assurance signal and is not allowed here. pep_screening and adverse_media_screening are optional checks only. | array of enum: document_ocr, document_authenticity, document_presence, document_status, face_match, face_pad, capture_integrity, nfc_integrity, ... | да |
optional_checksemail_signal is allowed only here; its fail and inconclusive do not block approval. pep_screening and adverse_media_screening are allowed only here: provider unavailability does not block approval, an unresolved potential match does until it is resolved. | array of enum: document_ocr, document_authenticity, document_presence, document_status, face_match, face_pad, capture_integrity, nfc_integrity, ... | нет |
legal_profile_id | string (uuid) | да |
retention_profile_id | string (uuid) | да |
ruleset_id | string (uuid) | да |
screening_profile_id | string (uuid) | нет |
calibration_profile_ids | array of string (uuid) | да |
allow_manual_review | boolean | да |
allow_reuse | boolean | да |
kyb_profile | KybProfile | нет |
previous_version_idPolicy version this version derives from (same tenant). Versions linked this way form one lineage. | string (uuid) | нет |
require_second_reviewApprove and reject resolutions of manual review need an approval of another identity (ReviewResolve.approval_id). | boolean | нет |
200Policy400401403404409412413415422428429503POST/v1/policies/{policy_id}/validate
| Поле | Тип | Обязательно |
|---|---|---|
policy_idпуть | string (uuid) | да |
200ValidationResult400401403404409412413415422428429503POST/v1/policies/{policy_id}/publish
| Поле | Тип | Обязательно |
|---|---|---|
policy_idпуть | string (uuid) | да |
PublishRequest| Поле | Тип | Обязательно |
|---|---|---|
approval_id | string (uuid) | да |
resource_sha256 | string | да |
reason_code | string | да |
200Policy400401403404409412413415422428429503GET/v1/fixture-manifests
Platform fixture manifests for SimulationCreate (synthetic scenarios, no personal data).
| Поле | Тип | Обязательно |
|---|---|---|
cursorзапрос | string | нет |
limitзапрос | integer | нет |
200FixtureManifestList400401403404409412413415422428429503GET/v1/policies/{policy_id}/versions
All versions of the lineage of this policy (linked by previous_version_id), newest first.
| Поле | Тип | Обязательно |
|---|---|---|
policy_idпуть | string (uuid) | да |
cursorзапрос | string | нет |
limitзапрос | integer | нет |
200PolicyList400401403404409412413415422428429503GET/v1/policies/{policy_id}/diff
| Поле | Тип | Обязательно |
|---|---|---|
policy_idпуть | string (uuid) | да |
againstзапросVersion to compare with; default previous_version_id of the policy. | string (uuid) | нет |
200PolicyDiff400401403404409412413415422428429503GET/v1/policy-profiles
Legal basis and retention profiles of the tenant and calibration profiles of released models, for legal_profile_id, retention_profile_id and calibration_profile_ids.
| Поле | Тип | Обязательно |
|---|---|---|
kindзапросbasis or retention: tenant legal profiles of this kind; calibration: calibration profiles of released models (one page); absent: basis and retention profiles. | enum: basis, retention, calibration | нет |
cursorзапрос | string | нет |
limitзапрос | integer | нет |
200PolicyProfileList400401403404409412413415422428429503