ScrapegraphAI icon

ScrapegraphAI

Turn any webpage into usable data with the ScrapeGraphAI v2 API — scrape, extract, search, crawl, monitor, history, credits.

Actions19

History → Get

AI-generated

Overview

This node operation fetches a specific history entry from the ScrapeGraphAI service using a unique identifier (UUID). It is useful for retrieving detailed information about a past scraping or crawling event, identified by its history entry ID or scrape reference ID. Users can choose to get the raw data or a simplified version of the response.

Use Case Examples

  1. Retrieve a history entry by its UUID to analyze the results of a previous web scraping task.
  2. Fetch a simplified summary of a history entry to quickly understand the outcome without detailed raw data.

Properties

Name Meaning
Entry The unique identifier (UUID) of the history entry to fetch, which can be selected from a list or provided directly as an ID.
Simplify Whether to return a simplified version of the response instead of the raw data.

Output

JSON

  • id - The UUID of the fetched history entry.
  • data - The detailed data of the history entry, either raw or simplified based on the 'Simplify' option.

Dependencies

  • Requires an API key credential for ScrapeGraphAI to authenticate requests.

Troubleshooting

  • If the provided Entry ID is not a valid UUID, the node will throw a validation error indicating 'Entry ID must be a UUID'.
  • If the specified history entry does not exist or cannot be fetched, the node may throw an error or return an error message in the output JSON.
  • Ensure the API key credential is correctly configured and has the necessary permissions to access history data.

Discussion