---
title: "Fetch Adaptive Decision result"
method: GET
path: "/v2/submission/{submission_id}/decision"
---

# Fetch Adaptive Decision result

`GET /v2/submission/{submission_id}/decision`

Fetch Adaptive Decision result

## Path parameters

- `submission_id` string, required

## Query parameters

- `embed` string

## Response `200`

Results of Adaptive Decision if Adaptive Decision was enabled for the submission.

- union
  - AdaptiveDecisionSuccessResponse
    - `status` 'SUCCESS', required — `SUCCESS` status indicates the Adaptive Decision result is available
    - `decision` string, required — Value range of this field is determined by tenant configuration, however default values are enum: `APPROVED`, `DECLINED`, `MANUAL_REVIEW`
    - `decision_inputs` object, required — Inputs the decision is based on
      - `fraud` object — Link to fraud analysis result. Full `data` is only included if requested with the `embed` query string parameter
        - `url` string, uri, required — URL where full fraud analysis can be retrieved
        - `data` union
          - AnalysisSuccessResponse
            - `status` 'SUCCESS', required
            - `analysis_time` string, required — Timestamp of analysis
            - `file_type` 'unsupported' | 'pdf' | 'image', required — Type of analyzed file
            - `mime_type` string, required — Mime type of the input file, e.g. `application/pdf`, `image/jpeg`, etc.
            - `deployment_version` string, required — Version of quality engine used for analysis
            - `query_id` string, nullable, required — Customer's own submission ID. This field may contain customer's own internal ID of analyzed file (e.g. ID in database).
            - `sha256` string, required — Sha256 of the input file
            - `filtered_parsed_pages` integer[], required — List of pages that were selected from document for processing, empty list means all pages were selected
            - `num_pages` integer, required — Number of pages in submitted document. Note that, for images, this is equal to 1
            - `score` 'NORMAL' | 'TRUSTED' | 'WARNING' | 'HIGH_RISK', required — Fraud score produced by the document analysis.
            - `sample_metadata` SampleMetadata, required — Metadata of an analyzed file.
              - …
            - `indicators` Indicator[], required — Indicators contains detailed information about the specific results of our analysis. This field contains detailed observations that the system was able to make about the file. Some indicators may be positive and may increase the Trust score, while the others would be negative and would increase the Risk.
              - …
            - `document_class` union — This field will be removed from the /fraud API response in November 2025. Please use the /classification endpoint for accessing document classification results.Depracated and replaced by document classification.
              - …
          - PipelineFailedResponse
            - `status` 'FAILED', required
            - `message` string, required
            - `deployment_version` string, required — Version of analysis engine used for analysis
            - `analysis_time` string, required — Timestamp of analysis
            - `file_type` 'unsupported' | 'pdf' | 'image' — Type of analyzed file
            - `mime_type` string, nullable — Mime type of the input file, e.g. `application/pdf`, `image/jpeg`, etc.
            - `query_id` string, nullable — Customer's own submission ID. This field may contain customer's own internal ID of analyzed file (e.g. ID in database).
          - PipelineInvalidInputResponse
            - `status` 'INVALID_INPUT', required
            - `message` string, required
            - `deployment_version` string, required — Version of analysis engine used for analysis
            - `analysis_time` string, required — Timestamp of analysis
            - `file_type` 'unsupported' | 'pdf' | 'image' — Type of analyzed file
            - `mime_type` string, nullable — Mime type of the input file, e.g. `application/pdf`, `image/jpeg`, etc.
            - `query_id` string, nullable — Customer's own submission ID. This field may contain customer's own internal ID of analyzed file (e.g. ID in database).
          - PipelineSkippedResponse
            - `status` 'SKIPPED'
            - `message` string, required
            - `deployment_version` string, required — Version of analysis engine used for analysis
            - `analysis_time` string, required — Timestamp of analysis
            - `query_id` string, nullable — Customer's own submission ID. This field may contain customer's own internal ID of analyzed file (e.g. ID in database).
    - `adaptive_decision_version` string, required
    - `reason` object, nullable
      - `sub_reason` object
        - `value` string — Machine-readable identifier of the reason
        - `label` string — Human-readable description of the reason
  - AdaptiveDecisionNonSuccessResponse
    - `status` 'FAILED' | 'INVALID_INPUT' | 'INVALID_PIPELINE_CONFIG' | 'SKIPPED', required — `INVALID_INPUT` status indicates the submitted document is not parsable. `INVALID_PIPELINE_CONFIG` status indicates that some key part of the pipeline is missing. `FAILED` status indicates document analysis or Adaptive Decision failed. `SKIPPED` status indicates that the Adaptive Decision has not run and was skipped.
    - `message` string
    - `adaptive_decision_version` string, required

## Other responses

- `400` — Bad request. Submission must be created with `enable_decision` flag set to `true`.
- `401` — Missing valid authentication credentials.
- `403` — Access to the requested resource is forbidden.
- `404` — Not found. Submission doesn't exist or verdict is not ready yet.
- `415` — Unsupported media type.
- `429` — Request quota was exceeded

---

[API](https://skmtc.dev/resistant/apis/resistant-documents-api.md) · [All operations](https://skmtc.dev/resistant/apis/resistant-documents-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/resistant/resistant-documents-api/revisions/7c1ce5331e7b/schema)
