---
title: "Get Image Processing History"
method: POST
path: "/get-upscayl-history"
tags: ["History"]
---

# Get Image Processing History

`POST /get-upscayl-history`

Retrieves paginated history of image processing tasks.
Results can be filtered by status and time range.

## Request body

- object
  - `timestampOffset` integer — Unix timestamp (ms) to start fetching records from
  - `batch` boolean — Filter by batch processing status
  - `failed` boolean — Filter by failed status
  - `limit` integer — Number of records to return per page
  - `processed` 'pending' | 'processing' | 'completed' | 'failed' — Filter by processing status

## Response `200`

Successfully retrieved history

- object
  - `status` 'success', required
  - `pagination` object, required
    - `total` integer — Total number of records
    - `hasMore` boolean — Whether more records exist
    - `nextOffset` integer — Timestamp offset for next page
  - `data` ProcessingTask[], required
    - `batchMode` boolean — Whether task was processed in batch mode
    - `enhanceFace` boolean — Whether face enhancement was applied
    - `error` string — Error message if processing failed
    - `files` ProcessedFile[]
      - `fileName` string
      - `fileType` string
      - `path` string
      - `createdAt` integer
      - `expiresAt` integer
      - `originalFileName` string
      - `fileSize` integer
      - `downloadLink` string, uri
      - `thumbnailLink` string, uri
      - `finalFileSize` integer
      - `processedFileName` string
      - `dimensions` object
        - `width` integer
        - `height` integer
    - `model` 'upscayl-standard-4x' | 'upscayl-lite-4x' | 'clear-boost-4x' | 'crystal-plus-4x' | 'digital-art-4x' | 'digital-art-plus-4x' | 'natural-max-4x' | 'natural-plus-4x' | 'nature-boost-4x' | 'pure-boost-4x' | 'quick-clear-4x' | 'texture-boost-4x' — AI model used for processing
    - `progress` string — Processing progress percentage
    - `scale` string — Upscale factor applied
    - `status` 'pending' | 'processing' | 'completed' | 'failed'
    - `saveImageAs` 'png' | 'jpg' | 'webp'
    - `creditsDeducted` boolean

## Other responses

- `400` — Invalid request parameters
- `401` — Authentication failed or API key missing
- `404` — Requested resource not found
- `429` — Rate limit exceeded
- `500` — Internal server error occurred

---

[API](https://skmtc.net/upscayl/apis/upscayl-cloud-api.md) · [All operations](https://skmtc.net/upscayl/apis/upscayl-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/upscayl/upscayl-cloud-api/versions/2320ccb2ffed/schema)
