Skip to main content

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

  1. Frontend calls POST /job-seekers/me/skill-analysis to start analysis.
  2. API returns immediately with status: PROCESSING.
  3. Background worker generates results asynchronously.
  4. 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:
  • targetRole
  • cvScore (0 to 100)
  • strengths (array of strings)
  • gaps (array with skill, importance, suggestion)
  • recommendations (array of strings)
  • timestamps like createdAt and completedAt

Limits and Behavior

  • Weekly limit: up to 10 new analyses per job seeker.
  • Weekly window resets on Monday.
  • History endpoint is paginated (page, limit; default limit is 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.