GET /search/v2/crawl/{crawl_id}/errors
Pages a crawl job could not read
The pages refused during a crawl (address, named code, public message) and, apart, the addresses the site's robots.txt forbids. No content, no internal detail. Not counted. Same 404s as the job itself (crawl_not_found, crawl_expired). Rate limit: the key's POST requests per minute do not apply to this GET.
API key (Bearer), on the public API endpoint.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
crawl_id | path | string · required |
Responses
| Status | Description | Body |
|---|---|---|
200 | The refusals | CrawlErrorsResponse |
400 | query_invalid | CrawlError |
401 | api_key_missing, api_key_invalid | CrawlError |
403 | scope_missing (search:query) | CrawlError |
404 | not_found, crawl_not_found, crawl_expired | CrawlError |
Examples
curl
curl -X GET "$GALON_API_BASE/search/v2/crawl/<crawl_id>/errors" \
-H "Authorization: Bearer $GALON_API_KEY"Node.js (SDK)
import { Galon } from "galon";
const galon = new Galon(process.env.GALON_API_KEY);
const result = await galon.search.getCrawlErrors("<id>");Python (SDK)
from galon import Galon
galon = Galon() # reads GALON_API_KEY
result = galon.search.get_crawl_errors("<id>")