import { Hyperbrowser } from '@hyperbrowser/sdk';
const client = new Hyperbrowser({ apiKey: 'your-api-key' });
await client.crawl.get('job-id', {
page: 1
});{
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"error": "<string>",
"totalCrawledPages": 1,
"totalPageBatches": 1,
"currentPageBatch": 1,
"batchSize": 2,
"data": [
{
"url": "<string>",
"status": "completed",
"error": "<string>",
"metadata": {},
"markdown": "<string>",
"html": "<string>",
"links": [
"<string>"
],
"screenshot": "<string>"
}
]
}import { Hyperbrowser } from '@hyperbrowser/sdk';
const client = new Hyperbrowser({ apiKey: 'your-api-key' });
await client.crawl.get('job-id', {
page: 1
});{
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"error": "<string>",
"totalCrawledPages": 1,
"totalPageBatches": 1,
"currentPageBatch": 1,
"batchSize": 2,
"data": [
{
"url": "<string>",
"status": "completed",
"error": "<string>",
"metadata": {},
"markdown": "<string>",
"html": "<string>",
"links": [
"<string>"
],
"screenshot": "<string>"
}
]
}Crawl job details retrieved successfully
pending, running, completed, failed, stopped x >= 0x >= 0x >= 0x >= 1Show child attributes
Was this page helpful?