Get one request
spicrawl_request_getThe full log record of one past API call by its request id. Every response carries its id in the X-Request-Id header (and error bodies carry it too), so this is the tool for debugging a failed or slow scrape: it shows status, error_code/error_detail, attempts, the engine and proxy (tier, country, provider, sticky) actually used, whether and how the target blocked it (vendor/signal/rule), per-stage latency spans and credits charged. Returns not_found both for unknown ids and for ones older than your retention window, and for another project's request unless your key has the read scope.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "spicrawl_request_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The request id (a ULID, from X-Request-Id or a spicrawl_requests_list row's `id`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The request id (X-Request-Id). | |
| url | No | The target URL as requested. | |
| proxy | No | What proxy was asked for versus what served. Never an exit IP or credentials. | |
| spans | No | Latency in milliseconds per stage; null means not measured. Stages do not sum to total_ms. | |
| engine | No | The rendering tier that served it: fetch, js or browser. Absent when refused before a tier was chosen. | |
| status | No | Terminal outcome: success, failed, timeout, blocked, rejected or cancelled. Only success is charged. | |
| blocked | No | Present only when a bot challenge was detected. | |
| attempts | No | Dispatch attempts including retries. | |
| bytes_in | No | ||
| features | No | Features the request used; free-form. | |
| url_host | No | ||
| bytes_out | No | ||
| created_at | No | When the request arrived, RFC 3339 UTC. | |
| error_code | No | The problem code the caller got, e.g. ERR::UPSTREAM::CHALLENGE. Absent on success. | |
| project_id | No | ||
| http_status | No | The target's HTTP status; absent when no response was received. | |
| proxy_bytes | No | ||
| error_detail | No | ||
| credits_micro | No | Credits charged in micro-credits (1 credit = 1000000); 0 unless success. |