Retry a Collection V2
Re-run an existing dataset under the same ID.
Re-runs an existing dataset in place using the same schedule_result_id, instead of creating a new one. The dataset's parameter snapshot and result-column configuration are kept from the original run; existing results are preserved and the records collected by this retry are appended to the same dataset.
Because retries enqueue a new collection job, the same service-ticket/credit checks as collect apply. If the service ticket has expired or available credits are exhausted, the request is rejected and the response uses the error_message key.
You can poll progress via collect_status using the same schedule_result_id.
Request Parameters
-
api_key: StringHashScraper API key
-
schedule_result_id: IntegerID of the dataset to retry. Typically the value returned by
collect.
Response Fields
-
result: StringRequest outcome.
-
version: StringAPI version.
-
retry_info: ObjectDetails about the retry request.
-
schedule_result_id: IntegerDataset ID echoed from the request.
-
schedule_id: StringIdentifier of the scraper that owns this dataset. Unlike
collect, the value is read from the server rather than echoed from the request. -
param_info: ObjectSnapshot of the parameters from the original collection. Only
param1~param5that were enabled are included, and keys carry the scraper's parameter labels (e.g.param1(keyword)). When the scraper has no label configured, the label slot may be empty (param1()) or a placeholder (param1(param1)).
-
-
elapsed_time: FloatServer-side processing time (seconds, as a numeric value).
Error Responses
-
schedule_result_id missing
{ "result": "error", "version": "v2", "message": "`schedule_result_id` parameter is required" } -
Schedule result not found
{ "result": "error", "version": "v2", "message": "schedule_result(id: YOUR_SCHEDULE_RESULT_ID) not found" } -
Service ticket expired
{ "result": "error", "version": "v2", "error_message": "서비스 이용권의 기간이 만료되었습니다." } -
Credit exhausted
{ "result": "error", "version": "v2", "error_message": "보유하신 크레딧을 모두 사용하셨습니다." } -
Retry blocked
{ "result": "error", "version": "v2", "message": "Retry blocked: ..." }
Related Guides
Example Request
Example Response 200
{
"result": "success",
"version": "v2",
"retry_info": {
"schedule_result_id": 13229289,
"schedule_id": "사람인_채용공고_수집_1697441449957",
"param_info": {
"param1(검색할 키워드)": "개발자",
"param2(최대 수집 개수)": "10"
}
},
"elapsed_time": 0.4521
}