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

FieldWhereValues and meaning
currentnessJobcurrent 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_statusPostinglisted 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_checkPostingThe 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.
staleJobA 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 wantUse
Open jobs onlyThe default, currentness=current
Jobs that may be opencurrentness=current,uncertain
Closed jobscurrentness=not_current
Jobs where you can start an applicationapplication_check=available
Jobs not flagged stalestale=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.

TypeMeaningCarries the job?
createdThe job entered the catalog.Yes
updatedSomething about the job changed.Yes
expiredThe 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 returns 308 with a Location header to the surviving job and a body with merged_into_job_id.
  • On a withdrawn job it returns 410 with code job_withdrawn and no_longer_listed_at in the body.
  • An unknown ID returns 404 with code job_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
All API documentation