API DOCUMENTATION / CURRENTNESS, STATUS, AND CHANGES
Currentness, status, and changes
How currentness, posting status, application checks and the changes feed tell you whether a job is still open.
Four fields describe whether a job is open
| Field | Where | Values and meaning |
|---|---|---|
currentness | Job | current while a linked posting is listed and accepting applications. uncertain when that cannot be confirmed. not_current when every linked posting is no longer listed. Searches return current jobs unless you ask otherwise. |
posting_status | Posting | listed while the source still shows the posting. no_longer_listed once a completed read of the source no longer finds it. This does not by itself prove that applications are open. |
latest_application_check | Posting | The result and time of the latest check of whether an application can be started: available, closed, broken or inconclusive. Null when the posting has not been checked. |
stale | Job | A boolean label published with the job. A stale job stays in results. Filter with stale=true or stale=false. |
Choose the filter that matches your question
| You want | Use |
|---|---|
| Open jobs only | The default, currentness=current |
| Jobs that may be open | currentness=current,uncertain |
| Closed jobs | currentness=not_current |
| Jobs where you can start an application | application_check=available |
| Jobs not flagged stale | stale=false |
active=true is a shorter way to say currentness=current, and active=false means not_current. You cannot send active and currentness together.
The changes feed
GET /v1/jobs/changes returns events in order. Each has an event_id, the job_id, a type and occurred_at.
| Type | Meaning | Carries the job? |
|---|---|---|
created | The job entered the catalog. | Yes |
updated | Something about the job changed. | Yes |
expired | The job left the open set: all postings are no longer listed, it was withdrawn, or it was merged into another job. | No, only the ID and time |
Start with since, then pass each resume_cursor back as after while has_more is true. The route can answer 503 while a new catalog version is being published; retry shortly.
What a closed job looks like in the API
GET /v1/jobs/{jobId}on a job that was merged returns308with aLocationheader to the surviving job and a body withmerged_into_job_id.- On a withdrawn job it returns
410with codejob_withdrawnandno_longer_listed_atin the body. - An unknown ID returns
404with codejob_not_found.
Timestamps are different events
source_posted_at is when the source says it published a posting. first_seen_at and job_first_seen_at are when Headcount Labs first collected it. last_completed_fetch_at is the last time a posting’s source was read completely. curated_at is when the job entered the final dataset, and job_updated_at is when it last changed. The timestamps page explains which date filter reads which field.
Show uncertainty to users
Keep currentness and posting_status as separate values in your own data. Show uncertain jobs differently from current ones, keep the posting link so a person can verify, and do not treat a missing application check as a closed job.
Continue in the reference
Keep a copy in step with the catalog.
Plan a safe data sync Timestamps and currentness