Retry Data Set V4
Re-runs an existing data set with the same parameters.
Resets the requested data set to ready and re-queues it. The data set ID is reused (no new data set is created), so results accumulate within the same data set.
Retry is blocked while the data set is in an in-progress state (ready·running·retry·canceling) — you'll receive EXECUTION_BLOCKED with reason: already_running. Retry is only allowed from terminal states (finish/complete or other end states).
Ticket expiration and credit exhaustion block retry the same way they block a new collection.
Request Parameters
-
Authorization: HeaderHashScraper API key. Send it in the form
Bearer <api_key>. -
id: Integer (path)ID of the data set to retry.
Response Fields
-
result: StringResult of the request.
-
version: StringAPI version.
-
request_id: StringRequest trace ID.
-
elapsed_sec: FloatTime the server took to produce the response, in seconds (Float).
-
data: ObjectRetry result.
-
schedule_result_id: IntegerEcho of the data set ID (same as requested).
-
schedule_id: StringID of the scraper this data set belongs to.
-
name: StringName of the scraper this data set belongs to.
-
sr_status: StringStatus right after retry. Typically
ready. -
param_info: ObjectSnapshot of the parameters used for this data set. Keys are stable (
param1~paramN) and each entry containsname(label) andvalue.
-
Error Responses
-
MISSING_API_KEY
{ "result": "error", "version": "v4", "request_id": "req_5a8c1f1c-...", "code": "MISSING_API_KEY", "message": "API key is missing.", "elapsed_sec": 0.0008, "details": { "hint": "Send `Authorization: Bearer <api_key>` header." } } -
INVALID_API_KEY
{ "result": "error", "version": "v4", "request_id": "req_5a8c1f1c-...", "code": "INVALID_API_KEY", "message": "API key is invalid.", "elapsed_sec": 0.0011 } -
SCHEDULE_RESULT_NOT_FOUND
{ "result": "error", "version": "v4", "request_id": "req_5a8c1f1c-...", "code": "SCHEDULE_RESULT_NOT_FOUND", "message": "ScheduleResult not found.", "elapsed_sec": 0.0021, "details": { "resource": "schedule_result", "id": "999999" } } -
EXECUTION_BLOCKED (already_running)
{ "result": "error", "version": "v4", "request_id": "req_5a8c1f1c-...", "code": "EXECUTION_BLOCKED", "message": "Already running.", "elapsed_sec": 0.0017, "details": { "reason": "already_running", "sr_status": "running" } } -
TICKET_EXPIRED
{ "result": "error", "version": "v4", "request_id": "req_5a8c1f1c-...", "code": "TICKET_EXPIRED", "message": "Service ticket expired", "elapsed_sec": 0.0033, "details": { "reason": "ticket_expired" } } -
CREDIT_EXHAUSTED
{ "result": "error", "version": "v4", "request_id": "req_5a8c1f1c-...", "code": "CREDIT_EXHAUSTED", "message": "Credit exhausted", "elapsed_sec": 0.0033, "details": { "reason": "credit_exhausted" } }
Related Guides
Example Request
Example Response 200
{
"result": "success",
"version": "v4",
"request_id": "req_5a8c1f1c-9b2d-4e7c-9abf-3f7e0a4d1b21",
"elapsed_sec": 0.0287,
"data": {
"schedule_result_id": 239758028,
"schedule_id": "8f3a7c1e9b5d24f6",
"name": "네이버 뉴스 검색",
"sr_status": "ready",
"param_info": {
"param1": { "name": "키워드", "alias": "keyword", "value": "키성장" },
"param2": { "name": "정렬", "alias": "sorting", "value": "관련도순" }
}
}
}