Skill Gap Analysis API
The Skill Gap Analysis API helps job seekers evaluate profile readiness for a target role and get actionable recommendations.Base URL
Endpoints Overview
How It Works
- Frontend calls
POST /job-seekers/me/skill-analysisto start analysis. - API returns immediately with
status: PROCESSING. - Background worker generates results asynchronously.
- Frontend polls
GET /job-seekers/me/skill-analysis/latest(or uses history/by-id) to read final output.
Analysis Status
Response Shape (Summary)
Completed analyses typically include:targetRolecvScore(0 to 100)strengths(array of strings)gaps(array withskill,importance,suggestion)recommendations(array of strings)- timestamps like
createdAtandcompletedAt
Limits and Behavior
- Weekly limit: up to 10 new analyses per job seeker.
- Weekly window resets on Monday.
- History endpoint is paginated (
page,limit; defaultlimitis 10).
Frontend Integration Tips
- After create, show a “processing” state and retry latest endpoint after 10-30 seconds.
- Keep polling interval reasonable (for example every 3-5 seconds) with timeout handling.
- Use history for older analyses and by-id route for detail views.
