get_resumes
Fetch up to 50 hh.ru resumes sequentially with built-in rate limiting, scoped by resume and topic IDs, and optionally persist results to disk.
Instructions
Safely fetch up to 50 resumes sequentially through the resume-view budget (default ~1.5s spacing, 20 reads/60s window). Preferred input: items:[{resume_id, topic_id}] + vacancy_id for scoped reads; set require_topic:true to never read the paid database. Legacy resume_ids+topics is validated (typo'd keys fail before any request). Reads without topic_id return status unscoped. Pass out_dir to persist payloads (raw/*.json + manifest.json + negotiations.csv). stop_on_captcha default true. max_wait_ms default 90000 (cap 110000). Requires HH_ACCESS_TOKEN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Return structured JSON instead of the compact Russian summary. | |
| items | No | Preferred input: [{resume_id, topic_id, vacancy_id?}] (1..50). Keeps each resume with its negotiation id so a typo cannot silently turn into a paid unscoped read. Do not combine with resume_ids/topics. | |
| topics | No | Legacy: map resume_id → topic_id. Every key must be one of resume_ids, otherwise the call fails before any request. | |
| out_dir | No | Persist payloads to <out_dir>/raw/<resume_id>__<topic_id>.json plus manifest.json and negotiations.csv. Existing valid files are reused without a network read. | |
| no_cache | No | ||
| resume_ids | No | Legacy input: resume ids to fetch (1..50). Prefer items. | |
| vacancy_id | No | Vacancy id applied with each topic_id | |
| max_wait_ms | No | Stop starting new gated reads after this many ms (hard-capped at 110000; DSH timeout is 120s). At default 1.5s spacing ≈55 resumes/call. | |
| require_topic | No | Never read without topic_id: rows lacking one are returned as skipped with no network call. Recommended true. | |
| stop_on_captcha | No |