For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Crawled Download Pdf

The Results API delivers the crawling outcome of a website in JSON format, using a unique caseId to provide insights into the URL's performance and content extracted

Get Crawled Pdf

GET https://secctrl.tutelar.io/api/v1/web-crawling/get-crawl-results?case_id=<caseId>&download=pdf

{ "message": "Invalid authentication credentials" }

Query Parameters

Name
Type
Description

case_id*

String

You need to provide the website Case ID that you already received in the Initiate Crawl Response API

download

String

You need to provide the download=pdf as a parameter

Sample response

Content-Type: application/pdf

Complete data stream of the file contents.
{
  "success": true,
  "code": "4999",
  "message": "The PDF download for caseId - <caseId> is in progress. Please try again after some time!",
  "data": {}
}
{
    "success": false,
    "code": "4998",
    "message": "Please provide case id",
    "data": {}
}

{
    "success": false,
    "code": "4998",
    "message": "Something went wrong, while generating pdf donwload",
    "data": {}
}

Success response

Complete data stream of the file contents. 

In progress response

{
  "success": true,
  "code": "4999",
  "message": "The PDF download for caseId - <caseId> is in progress. Please try again after some time!",
  "data": {}
}

Failure response

Last updated