---
title: "Get Agentic Scraper History"
method: GET
path: "/v1/history/agentic-scraper"
tags: ["History"]
---

# Get Agentic Scraper History

`GET /v1/history/agentic-scraper`

Get paginated history of agentic scraper requests.

Args:
    request: The FastAPI request object
    page: Page number (default: 1)
    page_size: Number of items per page (default: 10)
    next_key: Key for pagination (default: None)

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

## Query parameters

- `page` integer
- `page_size` integer

## Request body

- object, nullable

## Response `200`

Successful Response

- AgenticScraperHistoryResponse
  - `requests` AgenticScraperRequestDB[], required — List of agentic scraper requests
    - `request_id` string, required
    - `user_id` string, required
    - `webpage_id` string, required
    - `website_url` string, required
    - `user_prompt` string, nullable
    - `output_schema` object, nullable
    - `requested_at` string, date-time, required
    - `finished_at` string, date-time, nullable
    - `status` 'queued' | 'processing' | 'processinghtml' | 'processedhtml' | 'completed' | 'failed', required — Status enum for agentic scraper requests.
    - `metadata` unknown
    - `result` unknown
    - `total_cost` number, nullable
    - `usage_id` string, nullable
    - `error` string, nullable
  - `next_key` object, nullable — Key for next page

## 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)
