---
title: "Fetch content result [limited]"
method: GET
path: "/v2/submission/{submission_id}/content"
---

# Fetch content result \[limited\]

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

Fetch content extraction result

## Path parameters

- `submission_id` string, required

## Response `200`

Asynchronous processing finished (either with a success or an error). Result of the processing is described by specific response object.

- union
  - ContentSuccessResponse
    - `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
    - `contents` union[], required
      - union
        - CardBackCze2012
          - `card_generation` 'UNKNOWN' | 'ISSUED_BEFORE_2012' | 'ISSUED_AFTER_2012', required — An enumeration.
          - `issuing_country` string, required — Country that issued this ID card, e.g. USA, DEU, FRA, CZE, SVK, etc. The country code is encoded with ISO-31661 alpha-3 code, see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3#Officially_assigned_code_elements.
          - `id_card_type` 'CzeBack2012', required
          - `content_type` 'IdCard', required
          - `personal_no` string, nullable
          - `machine_readable_summary` MachineReadableSummary, required
            - `raw_lines` string[], required
            - `date_of_birth_str` string, nullable
            - `date_of_expiration_str` string, nullable
            - `card_no` integer, nullable
            - `last_name` string, nullable
            - `first_name` string, nullable
            - `nationality` string, nullable
            - `sex` string, nullable
          - `barcode_str` string, nullable
          - `permanent_stay` string, nullable
          - `academic_degree` string, nullable
          - `issued_by` string, nullable
          - `marital_status` 'UNKNOWN' | 'SINGLE' | 'MARRIED' | 'DIVORCED' | 'WIDOWED' — An enumeration.
        - CardFrontCze2012
          - `card_generation` 'UNKNOWN' | 'ISSUED_BEFORE_2012' | 'ISSUED_AFTER_2012', required — An enumeration.
          - `issuing_country` string, required — Country that issued this ID card, e.g. USA, DEU, FRA, CZE, SVK, etc. The country code is encoded with ISO-31661 alpha-3 code, see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3#Officially_assigned_code_elements.
          - `id_card_type` 'CzeFront2012', required
          - `content_type` 'IdCard', required
          - `first_name` string, nullable
          - `last_name` string, nullable
          - `card_no` integer, nullable
          - `date_of_birth_str` string, nullable
          - `date_of_expiry_str` string, nullable
          - `nationality` string, nullable
          - `date_of_issue_str` string, nullable
          - `place_of_birth` string, nullable
          - `sex` '<' | 'M' | 'F' — An enumeration.
        - CardBackZaf
          - `card_generation` 'UNKNOWN' | 'ISSUED_BEFORE_2012' | 'ISSUED_AFTER_2012', required — An enumeration.
          - `issuing_country` string, required — Country that issued this ID card, e.g. USA, DEU, FRA, CZE, SVK, etc. The country code is encoded with ISO-31661 alpha-3 code, see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3#Officially_assigned_code_elements.
          - `id_card_type` 'ZafBack', required
          - `content_type` 'IdCard', required
          - `card_no_str` string, nullable
          - `barcode_str` string, nullable
        - CardFrontTha
          - `card_generation` 'UNKNOWN' | 'ISSUED_BEFORE_2012' | 'ISSUED_AFTER_2012', required — An enumeration.
          - `issuing_country` string, required — Country that issued this ID card, e.g. USA, DEU, FRA, CZE, SVK, etc. The country code is encoded with ISO-31661 alpha-3 code, see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3#Officially_assigned_code_elements.
          - `id_card_type` 'ThaFront', required
          - `content_type` 'IdCard', required
          - `card_no_str` string, nullable
          - `barcode_str` string, nullable
        - CardFrontInd
          - `card_generation` 'UNKNOWN' | 'ISSUED_BEFORE_2012' | 'ISSUED_AFTER_2012', required — An enumeration.
          - `issuing_country` string, required — Country that issued this ID card, e.g. USA, DEU, FRA, CZE, SVK, etc. The country code is encoded with ISO-31661 alpha-3 code, see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3#Officially_assigned_code_elements.
          - `id_card_type` 'IndFront', required
          - `content_type` 'IdCard', required
          - `card_no_str` string, nullable
          - `barcode_str` string, nullable
        - BankAccountStatement
          - `content_type` 'BankAccountStatement', required
          - `country` 'CZ', required — An enumeration.
          - `bank` 'airbank' | 'ceska_sporitelna' | 'ceskoslovenska_obchodni_banka' | 'equa' | 'fio' | 'komercni_banka' | 'mbank' | 'moneta' | 'raiffeisen' | 'unicredit', required — An enumeration.
          - `transactions` BankAccountTransaction[], required
            - `country` 'CZ', required — An enumeration.
            - `accounting_date` string, date, nullable
            - `transaction_date` string, date, nullable
            - `operation_type` string, nullable
            - `operation_id` string, nullable — Operation ID that is unique within a bank
            - `message_for_recipient` string, nullable
            - `message_for_sender` string, nullable
            - `detail` string[], nullable
            - `counterparty_account_number` string, nullable
            - `counterparty_account_name` string, nullable — Can be name of the owner of counteraccount
            - `amount` number, nullable
          - `account_number` string, nullable — Unique identifier of an account within the bank
          - `iban` string, nullable
          - `bic` string, nullable — Unique identifier of an account within the bank
          - `start_date` string, date, nullable — First day of the time period covered by the account statement
          - `end_date` string, date, nullable — Last day of the time period covered by the account statement
          - `account_currency` string, nullable
          - `statement_periodicity` string, nullable — Periodicity with which the account statement is generated, e.g. monthly, querterly, yerly
          - `statement_generation_date` string, date, nullable — Date on which the account statement was generated
          - `account_balance_start` number, nullable — Account balance at the start of the period covered by the account statement
          - `account_balance_end` number, nullable — Account balance at the end of the period covered by the account statement
          - `credit_transactions_sum` number, nullable
          - `debit_transactions_sum` number, nullable
          - `account_type` string, nullable
          - `statement_id` string, nullable — Statement ID can be the ordinal number of the statement, or month number it covers, etc.
          - `account_owner_name` string, nullable — Name of the owner of the account
          - `account_owner_address` string[], nullable — Address of the owner of the account
        - InvoiceContent
          - `content` object, required
          - `content_type` 'invoice', required
        - VrcContent
          - `vin` string, required
          - `content_type` 'VRC', required
        - PayslipContent
          - `issuer` string, nullable
          - `version` string, nullable
          - `bank_account_number` string, nullable
          - `bank_name` string, nullable
          - `billing_month` BillingMonth
            - `month` integer, required
            - `year` integer, required
          - `employment_start` string, nullable — Date in isoformat
          - `employment_end` string, nullable — Date in isoformat
          - `employee_identity` string[], required — Field can contain information such as employee name, employee address
          - `net_payout` number, nullable
          - `special_payments` SpecialPayment[], required
            - `description` string, required
            - `amount` number, required
            - `identification` string, nullable
          - `content_type` 'Payslip', required
  - 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).

## Other responses

- `400` — Bad request.
- `401` — Missing valid authentication credentials.
- `403` — Access to the requested resource is forbidden.
- `404` — The requested resource was not found.
- `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)
