Frameworks
A framework is your way of judging fit: named criteria, weights, knock-out flags and free-text guidance.
Fields
| Field | What it holds |
|---|---|
name | Optional. A name for the framework. |
guidance | Optional. Free text about how to judge. |
criteria | Required. A list of criteria. |
Each criterion has these fields.
| Field | What it holds |
|---|---|
name | Required. What you are judging. |
weight | Required. A number, 0 or higher. |
description | Optional. What counts as meeting it. |
knockout | Optional. Marks a knock-out criterion. |
Not specified yet
The exact effect of knockout on score and ranking, the scoring formula, and whether weights must add up to a particular total. Do not rely on a knock-out to remove people. Check the verdict in your own code.
Send a framework inline
Put it in framework on a search. You still need titles or must_haves.
{
"titles": ["Head of Operations"],
"locations": ["Lisbon"],
"framework": {
"name": "Operations leader",
"guidance": "Prefer direct evidence of running a team over job titles alone.",
"criteria": [
{
"name": "Team leadership",
"description": "Has managed a team of five or more.",
"weight": 3,
"knockout": true
},
{
"name": "Lending experience",
"weight": 1
}
]
}
}
Save and reuse
createFramework takes a framework as the body. Save this one as framework.json.
{
"name": "Operations leader",
"criteria": [
{ "name": "Team leadership", "weight": 3, "knockout": true },
{ "name": "Lending experience", "weight": 1 }
]
}
curl "$HUMOS_API_URL/v1/frameworks" \
-H "Authorization: Bearer $HUMOS_API_KEY" \
-H "Content-Type: application/json" \
-d @framework.json
It returns 201 with the id.
{ "id": "fw_example_01" }
Reference it by id in a search.
{
"titles": ["Head of Operations"],
"framework": { "id": "fw_example_01" }
}
List frameworks
curl "$HUMOS_API_URL/v1/frameworks" \
-H "Authorization: Bearer $HUMOS_API_KEY"
listFrameworks returns an array. Each item pairs an id with its framework.
[
{
"id": "fw_example_01",
"framework": {
"name": "Operations leader",
"criteria": [
{ "name": "Team leadership", "weight": 3, "knockout": true },
{ "name": "Lending experience", "weight": 1 }
]
}
}
]
The contract has no operation to update or delete a saved framework. Keep your own copy under version control.
Read the verdicts
Verdicts for your criteria come back in each person's framework list. The score is computed in code from the verdicts and your weights. The model does not pick the number.
[
{
"criterion": "Team leadership",
"met": true,
"evidence": "Maria Okafor leads our operations team of twelve.",
"source": "https://lendful.example/team"
},
{
"criterion": "Lending experience",
"met": null
}
]
met: null means unknown. It is not a no. If a criterion is essential to you, decide how your code treats unknown, for example by sending those people to manual review.
Presets
Humos plans to ship a few presets: executive search, technical hiring, sales prospecting and investor sourcing.
Not specified yet
The contract defines no preset ids and does not say how presets are selected. Do not hard-code one. Send your criteria inline or save your own framework.
Writing criteria
- Make each criterion one checkable statement. Split "led a team and speaks Portuguese" into two.
- Use
descriptionto say what counts as evidence. - Only ask for what is relevant to your decision. Leave out sensitive personal traits.
- Frameworks are treated as data, not as instructions to the system. Write
guidanceabout judging fit, not about changing how Humos behaves.