Candidate routes: screen
The Candidate Verbs screen as api.sb routes, with inputs, result, refusals and an example.
Reference for Candidate, one group of Candidate routes.
Candidate.screen
Screen asks a Candidate only what the Opening’s Hypothesis still lacks, in writing, and grades each answer as Evidence. Verb page.
POST /{namespace}/ candidates/ {candidate}/ screenPath: candidate. Emits Candidate.screened.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
candidate | Candidate | required | The Candidate to screen. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
candidate | Candidate | required | The Candidate, with graded Evidence attached. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
curl -X POST https: //api.sb/ leaseline.app/ candidates/ candidate_CR5hpwMwhW/ screen \
-H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"{
"api": "https: //api.sb/ leaseline.app",
"candidate": {
"$id": "https: //api.sb/ leaseline.app/ candidates/ candidate_CR5hpwMwhW",
"$type": "Candidate",
"opening": "opening_3rD8qFSOyQ",
"person": "person_sLqbXbW683",
"source": "pool",
"state": "screening"
},
"action": {
"$id": "https: //api.sb/ leaseline.app/ actions/ act_br07HsG8MG",
"operation": "Candidate.screen",
"status": "done"
},
"links": {
"self": "https: //api.sb/ leaseline.app/ actions/ act_br07HsG8MG"
}
}