AI analysis
GET /jobs/{slug}/match-analysis/stream Session or API key
Run the fit analysis over Server-Sent Events.
The same three-stage chain as POST /jobs/{slug}/match-analysis, streamed as SSE (text/event-stream) rather than a single JSON body. Each event’s kind is one of stage_start, stage_done, thinking, requirements, dimensions, final; the final event carries the completed analysis (the same shape as the fit endpoints). Not a JSON endpoint.
Path parameters
slugstring required- The job
public_slug.
curl -N "https://freehire.dev/api/v1/jobs/<slug>/match-analysis/stream" -H "Authorization: Bearer $FREEHIRE_API_KEY"data: {"kind":"stage_start","stage":1,"label":"Extracting requirements"}
data: {"kind":"requirements","requirements":[ { "...": "..." } ]}
data: {"kind":"final","analysis":{"overall_score":82,"verdict":"Strong Fit","...":"..."}}