Get details of a single crawler
const url = 'https://dashboard.quantcdn.io/api/v2/organizations/test-org/projects/test-project/crawlers/00000000-0000-0000-0000-000000000000';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://dashboard.quantcdn.io/api/v2/organizations/test-org/projects/test-project/crawlers/00000000-0000-0000-0000-000000000000 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization identifier
Example
test-orgProject identifier
Example
test-projectThe UUID of the crawler
Example
00000000-0000-0000-0000-000000000000Responses
Section titled “Responses”The request has succeeded.
object
Crawler ID
Crawler name
Project ID
Crawler UUID
Crawler configuration (YAML)
Crawler domain
Domain verification status
URLs list (YAML)
Webhook URL for notifications
Authorization header for webhook
Extra variables for webhook
Browser mode enabled
Number of concurrent workers
Delay between requests in seconds
Maximum crawl depth
Maximum total requests
Maximum HTML pages
HTTP status codes for content capture
Custom user agent
Maximum errors before stopping
Starting URLs
URLs list
Custom headers
object
URL patterns to exclude
URL patterns to include
Sitemap configuration
object
Sitemap URL
Recursively follow sitemap links
Allowed domains
Asset harvesting configuration
object
Network intercept configuration for asset collection
object
Enable network intercept
Request timeout in seconds
Execute JavaScript during asset collection
Parser configuration for asset extraction
object
Enable parser
Creation timestamp
Last update timestamp
Deletion timestamp
Example
{ "id": 456, "name": "Test Crawler", "project_id": 789, "uuid": "550e8400-e29b-41d4-a716-446655440000", "config": "domain: test-domain.com\\nconfig:\\n max_html: 100\\n browser_mode: false", "domain": "test-domain.com", "domain_verified": 0, "urls_list": "single_url:\\n - /\\n - /about\\n - /contact", "webhook_url": "https://example.com/webhook", "webhook_auth_header": "Bearer token123", "webhook_extra_vars": "key1=value1&key2=value2", "browser_mode": false, "workers": 2, "delay": 4, "depth": -1, "max_hits": 0, "max_html": 50, "status_ok": [ 200 ], "user_agent": "Mozilla/5.0...", "max_errors": 100, "start_urls": [ "/", "/blog" ], "urls": [ "/", "/about" ], "headers": { "Authorization": "Bearer token" }, "exclude": [ "/admin/*" ], "include": [ "/blog/*" ], "sitemap": [ { "url": "/sitemap.xml", "recursive": true } ], "allowed_domains": [ "example.com" ], "assets": { "network_intercept": { "enabled": true, "timeout": 30, "execute_js": false }, "parser": { "enabled": true } }, "created_at": "2024-01-20T09:15:00Z", "updated_at": "2024-10-11T16:45:00Z"}The server could not understand the request due to invalid syntax.
object
Error message
Error flag
Example
{ "message": "The requested resource was not found", "error": true}Access is forbidden.
object
Error message
Error flag
Example
{ "message": "The requested resource was not found", "error": true}