cURL
curl --request POST \ --url https://api.askmy.biz/crawl \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "base_url": "https://example.com", "namespace": "example_com", "max_pages": 1 }'
{ "job_id": "645f3c1649ec746bc1871307", "namespace": "example_com" }
Starts crawling a given domain, discovering and processing internal links
API key for authentication
The base domain to crawl
"https://example.com"
Stable identifier for this domain's vector data
"example_com"
Maximum number of pages to process
Crawl job successfully initiated
"645f3c1649ec746bc1871307"