Rankings
A Candidate Ranking that represents how relevant a Candidate is to a certain set of query criteria.
Last updated
A Candidate Ranking that represents how relevant a Candidate is to a certain set of query criteria.
Last updated
© 2024 Endorsed
Relationships:
Ranking to Candidate is 1-1
Ranking to Summary is 1-1
You can search rank against different types of resources: Job, Candidate, Attachment, and string.
What's the difference between target_resource_id
and filter_job_id
? The target_resource_id
determines how the candidates results are ranked (aka the relevance order) and does NOT control filtering - all results will be returned if all results are paginated through. The filter_job_id
controls whether specific results are returned at all but does NOT control relevance. Filtering may be useful for example for filtering on candidates who have actively applied to a job.
Below are each of the ranking targets for the query and their corresponding use cases:
Use Case Type | Query Parameter | Value Type | Description |
---|---|---|---|
Examples
Using target_resource_id
Using q
There are two endpoints for retrieving rankings, one to retrieve a full list of rankings and one to retrieve the score evaluation for just a single candidate.
GET
https://endorsed.ai/api/v1/candidate_rankings
GET
https://endorsed.ai/api/v1/candidate_rankings/{candidate_id}
Retrieve a single Candidate Ranking result, including evaluated score
for a given Candidate.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Job Match
target_resource_id
A /jobs
entity id
Ranking results by relevance to a Job (e.g., job description, title)
Candidate Match
target_resource_id
A /candidates
entity id
Ranking results by relevance to an existing Candidate
Attachment Match
target_resource_id
A /attachments
entity id
Ranking results by relevance to a theoretical or ideal candidate based upon an Attachment (e.g., resume)
Semantic Search / Natural Language Search
q
A string query
Ranking results by relevance to an input semantic query (e.g., Experienced in Microsoft Excel
)
target_resource_id
string
A UUID id
of an entity from either of the entity resources: /jobs
,/attachments
, OR /candidates
. This target entity is used to search other Candidates that are similar or relevant to that entity. Only one parameter, either target_resource_id
or q
, must be specified. Must See Query Ranking Target for details.
q
string
A query string to semantically search Candidates against. Ex: Experienced in designing mobile applications and proficient in Figma
. Only one parameter, either target_resource_id
or q
, must be specified. See Query Ranking Target for details.
filter_job_id
string
The Job UUID from the /jobs
entity resource to filter only Candidates which were applied to the job. If not provided, will query against all Candidates under your organization.
offset
integer
Starting offset index of the first result for pagination. Default: 0
limit
integer
Pagination result limit. For example, if offset = 100, limit = 100, the returned results will be in the range of 100-199 inclusive. Default: 100. Max: 100
score_version
integer
The ranking algorithm Endorsed uses to order results and compute score
. Version 1 uses vector similarity between the Candidates' relevant Attachments and the Job description. Version 2 uses the ratio of matching Criterion Evaluations.
Each version will compute score
differently, so by setting the version explicitly, you can ensure returned scores are all from the same algorithm and you don't mix different types of scores in your application.
Must be either 1 or 2. Default: 1.
Authorization*
string
Authorization header containing the Bearer Access Token from the /auth/tokens
endpoint. Example: Bearer <ACCESS_TOKEN>
target_resource_id
string
A UUID id
of an entity from either of the entity resources: /jobs
,/attachments
, OR /candidates
. This target entity is used to search other Candidates that are similar or relevant to that entity.
filter_job_id
string
The Job UUID from the /jobs
entity resource to filter only Candidates which were applied to the job. Required at this time.
score_version
integer
The ranking algorithm Endorsed uses to order results and compute score
. Version 1 uses vector similarity between the Candidates' relevant Attachments and the Job description. Version 2 uses the ratio of matching Criterion Evaluations.
Only Version 2 is supported by this endpoint. Default is 2.