Get Screenings for Candidate
curl --request GET \
--url https://api.example.com/api/screening/candidate/{candidateId}import requests
url = "https://api.example.com/api/screening/candidate/{candidateId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/screening/candidate/{candidateId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/screening/candidate/{candidateId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/screening/candidate/{candidateId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/screening/candidate/{candidateId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/screening/candidate/{candidateId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"screenings": [
{
"id": 789,
"candidateId": 456,
"jobId": 123,
"currentScore": 66.67,
"potentialScore": 100,
"disqualify": false,
"criteria": [
{
"id": 1,
"source": "job_criteria",
"question": "How many years of ICU nursing experience do you have?",
"criteria": "Minimum of 3 years ICU nursing experience required",
"type": "YearsOfExperience",
"status": "PartiallyMet",
"reasoning": "The candidate has 2 years of ICU experience...",
"textEvidence": "2 years of experience in Medical ICU"
}
],
"qualificationLevel": "Appropriate",
"isRelevant": true,
"job": {
"id": 123,
"title": "ICU Nurse",
"location": "San Francisco, CA",
"department": "Nursing"
},
"createdAt": "2024-03-19T18:30:00Z"
}
],
"total": 5,
"limit": 50,
"offset": 0
}
Screening
Get Screenings for Candidate
Retrieve all screenings for a specific candidate
GET
/
api
/
screening
/
candidate
/
{candidateId}
Get Screenings for Candidate
curl --request GET \
--url https://api.example.com/api/screening/candidate/{candidateId}import requests
url = "https://api.example.com/api/screening/candidate/{candidateId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/screening/candidate/{candidateId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/screening/candidate/{candidateId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/screening/candidate/{candidateId}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/screening/candidate/{candidateId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/screening/candidate/{candidateId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"screenings": [
{
"id": 789,
"candidateId": 456,
"jobId": 123,
"currentScore": 66.67,
"potentialScore": 100,
"disqualify": false,
"criteria": [
{
"id": 1,
"source": "job_criteria",
"question": "How many years of ICU nursing experience do you have?",
"criteria": "Minimum of 3 years ICU nursing experience required",
"type": "YearsOfExperience",
"status": "PartiallyMet",
"reasoning": "The candidate has 2 years of ICU experience...",
"textEvidence": "2 years of experience in Medical ICU"
}
],
"qualificationLevel": "Appropriate",
"isRelevant": true,
"job": {
"id": 123,
"title": "ICU Nurse",
"location": "San Francisco, CA",
"department": "Nursing"
},
"createdAt": "2024-03-19T18:30:00Z"
}
],
"total": 5,
"limit": 50,
"offset": 0
}
Retrieve all screening results for a given candidate across all jobs they’ve been screened against.
Path Parameters
integer
required
ID of the candidate to get screenings for
Query Parameters
string
Filter by screening status (e.g., “qualified”, “disqualified”)
integer
Filter by specific job ID
integer
default:"50"
Maximum number of screenings to return
integer
default:"0"
Number of screenings to skip for pagination
Response Fields
array
Array of screening results
integer
Total number of screenings found
integer
Maximum number of screenings returned
integer
Number of screenings skipped
{
"screenings": [
{
"id": 789,
"candidateId": 456,
"jobId": 123,
"currentScore": 66.67,
"potentialScore": 100,
"disqualify": false,
"criteria": [
{
"id": 1,
"source": "job_criteria",
"question": "How many years of ICU nursing experience do you have?",
"criteria": "Minimum of 3 years ICU nursing experience required",
"type": "YearsOfExperience",
"status": "PartiallyMet",
"reasoning": "The candidate has 2 years of ICU experience...",
"textEvidence": "2 years of experience in Medical ICU"
}
],
"qualificationLevel": "Appropriate",
"isRelevant": true,
"job": {
"id": 123,
"title": "ICU Nurse",
"location": "San Francisco, CA",
"department": "Nursing"
},
"createdAt": "2024-03-19T18:30:00Z"
}
],
"total": 5,
"limit": 50,
"offset": 0
}