Analyze a tracked job
analyze_tracked_vacancyAnalyze a vacancy already in the user's tracker (by vacancy_id) against their active resume, in place — no duplicate is created. It covers a vacancy never analyzed (analysis_status 'none'), one whose analysis failed, and a re-run (e.g. the first read a truncated posting). Consumes one vacancy analysis from the user's quota. Runs asynchronously: get_vacancy_detail(vacancy_id) shows the result once done, usually within 10 seconds. Returns 'description_required' when the vacancy has no posting text (pass the user's pasted text as 'description'), 'posting_too_short' when a never-analyzed vacancy holds only a job board's teaser of under 400 characters (nothing analyzed or spent; the full posting text passed as 'description' lifts it), 'already_processing' when an analysis of it is already running (nothing spent), 'limit_exceeded' when the quota is gone, and 'not_found' if the vacancy does not belong to the current user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | processing | |
| task_id | Yes | Background task id (informational; get_vacancy_detail shows progress). | |
| analysis_id | Yes | The same vacancy id — the analysis runs on this row, not a new one. |