---
title: "Get history for a scheduled capture, page by page"
method: GET
path: "/capturehistory/{scheduledCaptureId}"
tags: ["CaptureHistory"]
---

# Get history for a scheduled capture, page by page

`GET /capturehistory/{scheduledCaptureId}`

## Path parameters

- `scheduledCaptureId` string, uuid, required

## Query parameters

- `pageIndex` integer
- `pageSize` integer
- `startDate` string
- `endDate` string

## Response `200`

successful operation

- CaptureHistory
  - `pageCount` integer — Number of pages that can be retrieved
  - `pageIndex` integer — Current page number
  - `history` object[]
    - `id` string, uuid — history ID
    - `createdAt` string
    - `updatedAt` string
    - `scheduledCaptureId` string, uuid
    - `status` 'SUCCESS' | 'ERROR' | 'INPROGRESS'
    - `errorReason` string
    - `scheduledCapture` ScheduledCapture
      - `id` string, uuid, required
      - `name` string, required
      - `paused` boolean, required
      - `comment` string
      - `createdAt` string
      - `updatedAt` string
      - `captureRequest` object, required
        - `apps` string[]
        - `browser` 'Chrome' | 'Firefox' | 'iPhone' | 'iPhone 12', required
        - `country` 'USA' | 'Germany' | 'Italy' | 'Netherlands' | 'UK' | 'Australia', required
        - `cropHeight` integer
        - `cropLeft` integer
        - `cropTop` integer
        - `cropBottom` integer
        - `emails` string[]
        - `externalMax` integer — Maximum number of external URLs to retrieve from an RSS feed or Sitemap.
        - `format` 'png' | 'jpeg', required
        - `height` integer, required — Browser height
        - `scrollTo` object
          - `x` integer
          - `y` integer
        - `size` 'Full Page' | 'Screen'
        - `steps` object[]
          - `command` 'type' | 'click' | 'screenshot' | 'navigate' | 'sleep', required
          - `selector` string — CSS selector
          - `value` string
        - `tags` object[]
          - `name` string, required
          - `readOnly` boolean, required — should always be set to false
        - `url` string — URL to capture when urlType is set to 'single'
        - `urlExternal` string — external feed (RSS, Sitemap) to retrieve when urlType is set to 'external'
        - `urlType` 'single' | 'multiple' | 'external'
        - `urls` string[]
        - `waitSecond` integer — Number of seconds to wait after the Page Load event
        - `maxWait` integer — Maximum number of seconds to wait before a page is considered fully loaded.
        - `hidePopups` integer — Automatically hide popups and overlay on the page (1 = enabled, 0 = disabled).
        - `dark` integer — Enable dark mode in Chrome and iPhone (1 = enabled, 0 = disabled).
        - `strictSSL` integer — Enable strict SSL (expired certs, mixed content, etc.).
        - `width` integer — Browser width
        - `zoom` integer — Image zoom - 100 for original size, 200 for 2x the original size, 50 for half the original size, etc.
      - `schedule` object, required
        - `daysOfMonth` integer[]
        - `daysofWeek` integer[]
        - `exactDates` string[]
        - `timesOfDay` string[]
      - `trackers` unknown[]
        - unknown
    - `fileId` string, uuid — ID of the screenshot
    - `thumbnailFileId_236` string, uuid — ID of the thumbnail
  - `details` object
    - `apps` object[]
      - `id` string, uuid — App ID
      - `path` string — Folder and file name used with the App
      - `appName` string
      - `appType` 'S3' | 'Azure' | 'GDrive' | 'Dropbox' | 'RSS' | 'Slack' | 'FTP' | 'Webhook' | 'SFTP'
      - `error` string — error message
      - `success` boolean
      - `imageUrl` string — the URL of the screenshot
      - `url` string — URL captured
  - `trackers` unknown[]
    - unknown

## Other responses

- `400` — Bad request
- `401` — Authentication failed

---

[API](https://skmtc.net/blitapp/apis/blit.md) · [All operations](https://skmtc.net/blitapp/apis/blit/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blitapp/blit/revisions/4f44976989c8/schema)
