rank_agents_for_workflow
PARTNER-ONLY (Bearer key required). Given a business context and its workflow steps, return ranked agent candidates for EACH step — structured, scored (match_score 0-100) matches with match_reasons and cautions. Built for app builders (e.g. Builtery) assembling automations. Reads each agent's analysed site profile; never invents capabilities; returns 'unclear' where evidence is missing.
Parameters3
| business_context | object | optional | company_description, industry, region, existing_tools[], automation_posture (cautious|balanced|agent_native), regulated_data (none|personal|health|financial|legal|children|unknown) |
| workflow_steps | array | required | Each: step_id, step_name, step_description, inputs[], desired_outputs[], required_integrations[], human_approval_preference (always|sometimes|not_needed|unknown) |
| limit_per_step | number | optional | Max candidates per step (1-25, default 8) |
Raw schema
{
"type": "object",
"properties": {
"business_context": {
"type": "object",
"description": "company_description, industry, region, existing_tools[], automation_posture (cautious|balanced|agent_native), regulated_data (none|personal|health|financial|legal|children|unknown)"
},
"workflow_steps": {
"type": "array",
"description": "Each: step_id, step_name, step_description, inputs[], desired_outputs[], required_integrations[], human_approval_preference (always|sometimes|not_needed|unknown)"
},
"limit_per_step": {
"type": "number",
"description": "Max candidates per step (1-25, default 8)"
}
},
"required": [
"workflow_steps"
]
}