Skip to content

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.

Text
POST /{namespace}/candidates/{candidate}/screen

Path: candidate. Emits Candidate.screened.

Inputs

InputTypeRequiredDescription
candidateCandidaterequiredThe Candidate to screen.

Returns

OutputTypeRequiredDescription
candidateCandidaterequiredThe Candidate, with graded Evidence attached.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

Terminal
curl -X POST https://api.sb/leaseline.app/candidates/candidate_CR5hpwMwhW/screen \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
JSON
{
  "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"
  }
}