> ## Documentation Index
> Fetch the complete documentation index at: https://docs.didit.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Список переопределений функций API: история статуса шага

> Список всех переопределений статуса шага в сессии Didit, от новых к старым: применено, ожидает завершения сценария пользователем или отменено.



Промпт для списка переопределений функций
        Скопировать промпт в буфер обмена



      
      

\<pre>

\`List the check (feature) status overrides of a Didit session: the ones that applied, the ones still waiting for the person to finish the flow, and the cancelled ones.

Endpoint:
GET https://verification.didit.me/v3/session/{session_id}/features/overrides/

Authentication:
x-api-key (client API key) or a user-auth token. Privilege: read:sessions. A scoped API key needs read access to decisions.

Path parameter:
\- session_id (UUID): KYC or KYB; Didit resolves it against both session types.

Response (200, not paginated):
\- session_id (UUID).
\- person_in_flow (boolean): true while the person is still in the flow, so a new override with defer_until_flow_finishes=true would wait.
\- flow_finished_at (date-time or null): when the person last finished the flow. null while they are still in it (a resubmission included) and when the session closed before they finished.
\- overrides (array, newest first). Each override:
\- id (UUID): pass it to the cancel endpoint.
\- node_id, feature_type ("" when the request passed none), feature_model (for example "KYC", "Face", "AML").
\- previous_status, new_status.
\- state: "applied", "pending_until_flow_finishes" or "cancelled".
\- forced (boolean): true when it applied at once while the person was still in the flow.
\- reason: the comment sent with the request, or null.
\- requested_by: { email, name, type } with type "CONSOLE_USER", "API_KEY" or "SYSTEM"; or null.
\- requested_at, applied_at (null while waiting or once cancelled), cancelled_at.
\- cancel_reason: null, "cancelled_by_reviewer", "replaced", "check_changed" or "session_closed".

curl example:
curl https://verification.didit.me/v3/session/<SESSION_ID>/features/overrides/ \
-H "x-api-key: <API_KEY>"

Failure modes:
\- 401: the scoped API key has expired.
\- 403: missing credentials (a wrong, revoked or expired key gets 401), the caller lacks read:sessions, a scoped key lacks decisions read, or the session belongs to another application ({ "detail": "You do not have permission to perform this action." }).
\- 404: { "detail": "Not found." } when no session with this session_id exists.

Related: create overrides with PATCH /v3/session/{session_id}/features/{node_id}/update-status/ (see /sessions-api/update-feature-status); cancel a waiting one with POST /v3/session/{session_id}/features/overrides/{override_id}/cancel/ (see /sessions-api/cancel-feature-override).

For end-to-end Didit integration, paste in the full prompt at /integration/integration-prompt.`

\</pre>



      
      

Вставьте в

Каждый вызов [Update Feature Status](https://docs.didit.me/ru/sessions-api/update-feature-status.md) создает переопределение статуса одной проверки.
Этот endpoint возвращает все такие переопределения для одной сессии, от новых к старым, без пагинации.## Состояния переопределений| `state` | Что это значит |
| - | - |
| `applied` | Проверка получила новый статус. `applied_at` показывает, когда это произошло. |
| `pending_until_flow_finishes` | Переопределение ожидает и применяется, когда пользователь завершает сценарий. |
| `cancelled` | Переопределение ожидало и так и не применилось. `cancel_reason` показывает причину. |Переопределение с `forced: true` применилось сразу, пока пользователь еще находился в сценарии.## Почему ожидающее переопределение было отменено| `cancel_reason` | Что произошло |
| - | - |
| `cancelled_by_reviewer` | Проверяющий отменил его через [Cancel Feature Override](https://docs.didit.me/ru/sessions-api/cancel-feature-override.md). |
| `replaced` | Более новое переопределение той же проверки заменило его. |
| `check_changed` | Пользователь повторно прошел проверку до завершения сценария, поэтому переопределенный вами результат больше не действует. |
| `session_closed` | Сессия вышла из сценария до того, как пользователь его завершил: она была прервана, истекла или по ней было принято решение в середине сценария. |## Где пользователь находится в сценарии`person_in_flow` равен `true`, пока сессия находится в статусе `Not Started`, `In Progress` или `Resubmitted` и пользователь не завершил сценарий.
Пока это значение равно `true`, новое переопределение с `defer_until_flow_finishes: true` ожидает.
`flow_finished_at` показывает, когда пользователь в последний раз завершил сценарий.
Значение `null`, пока пользователь еще находится в сценарии (включая повторную отправку), а также если сессия закрылась до того, как он завершил сценарий.## Связанные материалы- [Update Feature Status](https://docs.didit.me/ru/sessions-api/update-feature-status.md): переопределить статус шага сейчас или после завершения сценария.
- [Cancel Feature Override](https://docs.didit.me/ru/sessions-api/cancel-feature-override.md): остановить ожидающее переопределение, чтобы оно не применилось.
- [Retrieve Session](https://docs.didit.me/ru/sessions-api/retrieve-session.md): `node_id` и текущий статус каждой функции.


## OpenAPI

````yaml ru/openapi-25.json GET /v3/session/{sessionId}/features/overrides/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: >-
    API верификации личности. Аутентификация выполняется с помощью заголовка
    x-api-key.
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/session/{sessionId}/features/overrides/:
    get:
      tags:
        - Sessions
      summary: Получить список переопределений проверок сессии
      description: >-
        Каждое переопределение статуса отдельной функции (шага) в сессии
        проверки пользователей (KYC) или верификации бизнеса (KYB), начиная с
        самых новых и без пагинации: применённые, ожидающие завершения сценария
        пользователем (`pending_until_flow_finishes`) и отменённые, каждое с
        указанием инициатора, причины и того, было ли оно применено, пока
        пользователь ещё находился в сценарии (`forced`).


        Поле `person_in_flow` указывает, будет ли новое переопределение с
        параметром `defer_until_flow_finishes: true` ожидать. Поле
        `flow_finished_at` фиксирует время, когда пользователь в последний раз
        завершил сценарий; оно равно `null`, пока он всё ещё проходит его
        (включая повторную отправку) и если сессия была закрыта до завершения.


        Требуется право `read:sessions`; API-ключ с ограниченной областью
        действия требует доступа для чтения решений.
      operationId: get_v3_session_feature_overrides
      parameters:
        - in: path
          name: sessionId
          required: true
          description: >-
            UUID сессии верификации. Принимает ID сессий как пользователей
            (KYC), так и компаний (KYB).
          schema:
            type: string
            format: uuid
            example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
      responses:
        '200':
          description: Переопределения проверок сессии, сначала новые.
          content:
            application/json:
              schema:
                type: object
                required:
                  - session_id
                  - person_in_flow
                  - flow_finished_at
                  - overrides
                properties:
                  session_id:
                    type: string
                    format: uuid
                    example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
                  person_in_flow:
                    type: boolean
                    description: >-
                      Находится ли человек всё ещё в процессе прохождения, так
                      что новое переопределение с `defer_until_flow_finishes:
                      true` будет ожидать.
                    example: true
                  flow_finished_at:
                    type: string
                    format: date-time
                    nullable: true
                    description: >-
                      Время последнего завершения сценария пользователем.
                      `null`, пока он всё ещё проходит его (включая повторную
                      отправку), а также если сессия закрылась до завершения
                      (прервана, истекла или решение было принято посреди
                      сценария).
                    example: null
                  overrides:
                    type: array
                    description: Каждое переопределение сессии, начиная с самых новых.
                    items:
                      $ref: '#/components/schemas/FeatureStatusOverride'
              examples:
                Overrides:
                  summary: Одно переопределение ожидает, одно применено
                  value:
                    session_id: 3fa85f64-5717-4562-b3fc-2c963f66afa6
                    person_in_flow: true
                    flow_finished_at: null
                    overrides:
                      - id: 9b2f4c1e-8d3a-4e5f-a6b7-c8d9e0f1a2b3
                        node_id: feature_liveness_1
                        feature_type: ''
                        feature_model: Face
                        previous_status: Declined
                        new_status: Approved
                        state: pending_until_flow_finishes
                        forced: false
                        reason: Liveness retried with a reviewer present.
                        requested_by:
                          email: reviewer@example.com
                          name: Alex Reviewer
                          type: CONSOLE_USER
                        requested_at: '2026-10-13T09:15:00Z'
                        applied_at: null
                        cancelled_at: null
                        cancel_reason: null
                      - id: 7c9e6679-7425-40de-944b-e07fc1f90ae7
                        node_id: feature_ocr_1
                        feature_type: ''
                        feature_model: KYC
                        previous_status: In Review
                        new_status: Approved
                        state: applied
                        forced: true
                        reason: Document manually verified by compliance.
                        requested_by:
                          email: reviewer@example.com
                          name: Alex Reviewer
                          type: CONSOLE_USER
                        requested_at: '2026-10-13T09:15:00Z'
                        applied_at: '2026-10-13T09:15:00Z'
                        cancelled_at: null
                        cancel_reason: null
        '401':
          description: Срок действия API-ключа с ограниченной областью действия истёк.
          content:
            application/json:
              examples:
                Expired API Key:
                  summary: >-
                    API-ключ с ограниченной областью действия с истёкшим сроком
                    действия
                  value:
                    detail: This API key has expired.
        '403':
          description: >-
            Отсутствуют учетные данные, у вызывающей стороны нет привилегии
            `read:sessions`, у API-ключа с ограниченной областью видимости нет
            необходимого для этого endpoint доступа, либо передан `session_id`,
            принадлежащий другому приложению.
          content:
            application/json:
              examples:
                Invalid Credentials:
                  summary: Отсутствует или недействителен x-api-key
                  value:
                    detail: >-
                      Authentication credentials were not provided or are
                      invalid.
                Missing Privilege:
                  summary: У вызывающей стороны отсутствует разрешение read:sessions
                  value:
                    detail: You do not have permission to perform this action.
                Scoped Key Without Access:
                  summary: >-
                    API-ключ с ограниченной областью действия без данного
                    доступа
                  value:
                    detail: This API key has no read access to decisions.
        '404':
          description: Сессия KYC или KYB с таким `session_id` не существует.
          content:
            application/json:
              examples:
                Not Found:
                  summary: Неизвестный session_id
                  value:
                    detail: Not found.
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: |-
            curl -X GET \
              https://verification.didit.me/v3/session/3fa85f64-5717-4562-b3fc-2c963f66afa6/features/overrides/ \
              -H 'x-api-key: YOUR_API_KEY'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY.
            client = Didit()

            result = client.sessions.list_feature_overrides(
                "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            )
            print(result)
        - lang: javascript
          label: Node.js
          source: >-
            import Didit from "@didit-protocol/sdk-node";


            // Reads DIDIT_API_KEY.

            const didit = new Didit();


            const result = await
            didit.sessions.listFeatureOverrides("3fa85f64-5717-4562-b3fc-2c963f66afa6");

            console.log(result);
        - lang: go
          label: Go
          source: "ctx := context.Background()\n// Reads DIDIT_API_KEY.\nclient := didit.NewClient()\n\nresult, err := client.Sessions.ListFeatureOverrides(ctx, \"3fa85f64-5717-4562-b3fc-2c963f66afa6\")\nif err != nil {\n\tlog.Fatal(err)\n}\nfmt.Printf(\"%+v\\n\", result)"
        - lang: java
          label: Java
          source: >-
            import me.didit.Didit;


            // Reads DIDIT_API_KEY.

            Didit client = new Didit();


            var result =
            client.sessions().listFeatureOverrides("3fa85f64-5717-4562-b3fc-2c963f66afa6");

            System.out.println(result);
        - lang: php
          label: PHP
          source: >-
            <?php


            require 'vendor/autoload.php';


            use Didit\DiditClient;


            // Reads DIDIT_API_KEY.

            $didit = new DiditClient();


            $result =
            $didit->sessions->listFeatureOverrides('3fa85f64-5717-4562-b3fc-2c963f66afa6');

            print_r($result->toArray());
        - lang: ruby
          label: Ruby
          source: >-
            require "didit"


            # Reads DIDIT_API_KEY.

            didit = Didit::Client.new


            result =
            didit.sessions.list_feature_overrides("3fa85f64-5717-4562-b3fc-2c963f66afa6")

            puts result.to_h
        - lang: csharp
          label: .NET
          source: >-
            using System;

            using System.Text.Json;

            using Didit;


            // Reads DIDIT_API_KEY.

            using var client = new DiditClient();


            var result = await
            client.Sessions.ListFeatureOverridesAsync("3fa85f64-5717-4562-b3fc-2c963f66afa6");

            Console.WriteLine(JsonSerializer.Serialize(result));
components:
  schemas:
    FeatureStatusOverride:
      type: object
      description: >-
        Одно переопределение статуса проверки (функции), выполненное с помощью
        `PATCH /v3/session/{sessionId}/features/{nodeId}/update-status/`: что
        оно меняет, применено ли оно или всё ещё ожидает завершения сценария
        пользователем, кто запросил и почему.
      required:
        - id
        - node_id
        - feature_type
        - feature_model
        - previous_status
        - new_status
        - state
        - forced
        - reason
        - requested_by
        - requested_at
        - applied_at
        - cancelled_at
        - cancel_reason
      properties:
        id:
          type: string
          format: uuid
          description: Идентификатор переопределения. Передайте его в endpoint отмены.
          example: 7c9e6679-7425-40de-944b-e07fc1f90ae7
        node_id:
          type: string
          description: Узел сценария, указанный в запросе (`default` для шага без узла).
          example: feature_ocr_1
        feature_type:
          type: string
          description: >-
            Параметр `feature_type`, переданный в запросе, или пустая строка,
            если он не был передан.
          example: ''
        feature_model:
          type: string
          description: >-
            Тип проверки, которая была переопределена, например `KYC`, `Face`,
            `AML` или `GeolocationCheck`.
          example: KYC
        previous_status:
          type: string
          enum:
            - Not Finished
            - Approved
            - Declined
            - In Review
            - Resub Requested
          description: Статус проверки на момент запроса переопределения.
          example: In Review
        new_status:
          type: string
          enum:
            - Approved
            - Declined
            - In Review
          description: Статус, устанавливаемый переопределением.
          example: Approved
        state:
          type: string
          enum:
            - applied
            - pending_until_flow_finishes
            - cancelled
          description: >-
            `applied`: проверка получила новый статус.
            `pending_until_flow_finishes`: переопределение ожидает и
            применяется, когда пользователь завершает прохождение сценария.
            `cancelled`: ожидание завершилось без применения (см.
            `cancel_reason`).
          example: applied
        forced:
          type: boolean
          description: >-
            `true`, если переопределение применилось немедленно, пока человек
            ещё находился в сценарии.
          example: false
        reason:
          type: string
          nullable: true
          description: Параметр `comment`, отправленный с запросом, или `null`.
          example: Document manually verified by compliance.
        requested_by:
          type: object
          nullable: true
          description: Кто запросил переопределение, или `null`, если это неизвестно.
          properties:
            email:
              type: string
              format: email
              nullable: true
              description: >-
                Электронная почта пользователя консоли или `null` для API-ключей
                и системы.
              example: reviewer@example.com
            name:
              type: string
              nullable: true
              description: Отображаемое имя запрашивающего или `null`.
              example: Alex Reviewer
            type:
              type: string
              enum:
                - CONSOLE_USER
                - API_KEY
                - SYSTEM
              description: >-
                Кто выполнил запрос: пользователь консоли, API-ключ или сам
                Didit.
              example: CONSOLE_USER
        requested_at:
          type: string
          format: date-time
          description: Время запроса переопределения.
          example: '2026-10-13T09:15:00Z'
        applied_at:
          type: string
          format: date-time
          nullable: true
          description: >-
            Когда проверка перешла в новый статус, или `null`, пока она ожидает
            или после её отмены.
          example: '2026-10-13T09:15:00Z'
        cancelled_at:
          type: string
          format: date-time
          nullable: true
          description: >-
            Когда переопределение в состоянии ожидания было отменено, или
            `null`.
          example: null
        cancel_reason:
          type: string
          nullable: true
          enum:
            - cancelled_by_reviewer
            - replaced
            - check_changed
            - session_closed
            - null
          description: >-
            Причина, по которой отложенное переопределение не было применено,
            или `null`. `cancelled_by_reviewer`: отменено через endpoint отмены.
            `replaced`: заменено более новым переопределением для той же
            проверки. `check_changed`: человек повторно прошёл проверку до
            завершения сценария. `session_closed`: сессия вышла из сценария до
            того, как человек завершил его (прервана, истекла или решение
            принято в процессе сценария).
          example: null
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API-ключ вашего приложения из раздела «Разработчикам» -> «API-ключи» в
        Business Console. Основной ключ имеет полный доступ. Именованный ключ
        может иметь ограниченную область действия: без доступа, чтение или
        запись для каждого ресурса, ограничение определенными сценариями или
        одобренными сессиями, списком IP-адресов и сроком действия. 401
        означает, что ключ неверен, отозван или его срок действия истек; 403
        означает, что ключ не был передан, у ключа нет доступа к этому ресурсу
        или действию, либо запрос поступил с адреса вне его списка IP-адресов;
        404 на маршруте сессии означает, что сессия не входит в сценарии или
        статусы ключа. Ключ без доступа к медиа получает URL изображений, видео
        и PDF как null, а ключ без прав на запись сессий получает ссылки на
        сессии и токены как null. См. https://docs.didit.me/console/api-keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.