Skip to Content
Help
API reference

Past candidates who fit a job

GET
/api/v1/jobs/{id}/talent-leads

What the job page shows as "3 past candidates fit this job": Probb checks every open job against the organization's past candidates automatically and records the people who fit as leads. Returns the state of that check, how many people fit (leadCount, newLeadCount), when it ran and how many people it could look through. The matches themselves are not repeated here: read them from GET /v1/talent-searches/{latestSearchId}, where each carries its reason and history. Closed jobs have no leads (state: closed). Start a fresh check with POST /v1/jobs/{id}/talent-searches. The key also needs candidates:read.

Required scope: jobs:read (jobs:write also works).

Errors

  • 400: unknown_field
  • 401: authentication_required, invalid_api_key
  • 403: api_access_disabled, insufficient_scope
  • 404: job_not_found
  • 422: invalid_parameter
  • 429: rate_limit_exceeded
  • 500: api_error
  • 503: service_unavailable

Authorization

ApiKey
headerAuthorizationBearer <probb_live_<id>_<secret>>

Path Parameters

id*string

The job's ID.

Length1 <= length <= 200

Response Body

Success.

application/json
  1. response
object*string
jobId*string

The job's ID.

state*string

leads: past candidates fit (see leadCount). checking: Probb is checking now. none_fit: checked, nobody fits. empty_pool: there are no past candidates to check. all_in_job: every past candidate is already in this job. not_checked: not checked yet. off: automatic checks are off and none has been run. closed: the job is closed, so there are no leads.

Value in"checking""leads""none_fit""empty_pool""all_in_job""not_checked""off""closed"
leadCount*integer

Past candidates who fit and have not been dismissed.

Range-9007199254740991 <= value <= 9007199254740991
newLeadCount*integer

Leads first found since the team was last told.

Range-9007199254740991 <= value <= 9007199254740991
checkedAt*|

When the latest finished check completed, or null.

checkedCount*|

Past candidates that check could look through, or null.

hidden*|

Who that check could not see, by reason. Null when none has finished or it ran before this was recorded.

latestSearchId*|

The latest check's talent search. Read its matches with GET /v1/talent-searches/{id}.

automatic*boolean

Whether the organization lets Probb check new jobs and resumes by itself.

Example Request
# Set PROBB_URL and PROBB_API_KEY. Replace any *_VALUE placeholder and any example ID (such as job_example) with a real one.curl --fail-with-body -X GET "$PROBB_URL/api/v1/jobs/ID_VALUE/talent-leads" \  -H "Authorization: Bearer $PROBB_API_KEY"
Example Response
{  "object": "talent_lead_summary",  "jobId": "string",  "state": "checking",  "leadCount": -9007199254740991,  "newLeadCount": -9007199254740991,  "checkedAt": "2019-08-24T14:15:22Z",  "checkedCount": -9007199254740991,  "hidden": {    "notReady": -9007199254740991,    "alreadyInJob": -9007199254740991,    "dismissed": -9007199254740991,    "withdrawn": -9007199254740991,    "consent": -9007199254740991,    "retention": -9007199254740991  },  "latestSearchId": "string",  "automatic": true}