---
title: "Get Smartscraper History"
method: GET
path: "/v1/history/smartscraper"
tags: ["History"]
---

# Get Smartscraper History

`GET /v1/history/smartscraper`

Get paginated history of smart scraper requests.

Args:
    request: The FastAPI request object
    page: Page number (default: 1)
    page_size: Number of items per page (default: 10)

Returns:
    SmartscraperHistoryResponse containing the list of requests and next page key

## Query parameters

- `page` integer
- `page_size` integer

## Request body

- object, nullable

## Response `200`

Successful Response

- SmartscraperHistoryResponse
  - `requests` SmartscraperRequestDB[], required
    - `request_id` string, uuid, required
    - `user_id` string, uuid, nullable
    - `webpage_id` string, uuid, nullable
    - `website_url` string, nullable
    - `user_prompt` string, required
    - `output_schema` object, nullable
    - `result` union
      - object
      - unknown
    - `status` 'queued' | 'processing' | 'completed' | 'failed'
    - `requested_at` string, date-time, required
    - `finished_at` string, date-time, nullable
    - `error` string, nullable
    - `metadata` object, nullable
    - `request_params` object, nullable
  - `next_key` object, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/scrapegraphai/apis/fastapi.md) · [All operations](https://skmtc.dev/scrapegraphai/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scrapegraphai/fastapi/revisions/17bc5b01fe0c/schema)
