# Read an upload session

Returns the state of an upload session created by `POST /v1/file-certifications-attachments` with an API key
of the same workspace (OAuth connections included). `sha256` is set only once the stored file has been
hashed by TrueScreen; `report_id` once a certification has been made with the session.

Endpoint: GET /v1/file-certifications-attachments/{uploadSessionToken}
Version: 1.6.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    http bearer API Key

## Path parameters:

  - `uploadSessionToken` (string, required)

## Response 200:

  - `200` (unknown)
    Upload session

## Response 200 fields (application/json):

  - `upload_session_token` (string, required)

  - `sha256` (string | null, required)
    SHA-256 (hex, lower case) computed by TrueScreen on the stored file. Null until the file has been
uploaded and hashed, which is most of the life of a session.

  - `report_id` (string | null, required)
    Report of the certification made with the session. Null until one is linked.

  - `created_at` (string, required)

## Response 404:

  - `404` (unknown)
    Upload session not found in the workspace (TS-404)

## Response 404 fields (application/problem+json):

  - `type` (string)
    A URI reference that identifies the problem type.
    Example: https://api.truescreen.io/errors/validation-error

  - `title` (string, required)
    Short, human-readable summary of the problem.
    Example: Validation failed

  - `status` (integer)
    HTTP status code.
    Example: 400

  - `detail` (string)
    Human-readable explanation specific to this occurrence.
    Example: One or more fields have invalid values

  - `code` (string, required)
    Unique code to identify the error.
    Example: TS-000

