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

# Get Agentic Scraper History

`GET /v1/history/agentic-scraper`

## Request

- Base URL: `https://api.scrapegraphai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.scrapegraphai.com/v1/history/agentic-scraper`
- Auth: none declared

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/scrapegraphai-api.md) - [All operations](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scrapegraphai/apis/scrapegraphai-api/revisions/a0e42195429f?raw)
