Ask whether this agent can handle a task
Orchestrators use this to pick the best agent for a task before sending a real message/send. The agent returns a capability score (0–1) weighted across skill match, I/O compatibility, performance, load, and cost.
A score below the caller's min_score is interpreted as "decline" — the orchestrator should route the task elsewhere. This endpoint never actually performs the task; it's advisory.
Request body
Response
Negotiation response
Changes
Changed in 3 of the 12 revisions of this API.51915
- ▲
the request property
weightsbecame requiredrequest-property-became-required
- ▲
removed the required property
acceptedfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
confidencefrom the response with the200statusresponse-required-property-removed
- ●
the
weights/costrequest property's max was set to1.00request-property-max-set
- ●
the
weights/io_compatibilityrequest property's max was set to1.00request-property-max-set
- ●
the
weights/loadrequest property's max was set to1.00request-property-max-set
- ●
the
weights/performancerequest property's max was set to1.00request-property-max-set
- ●
the
weights/skill_matchrequest property's max was set to1.00request-property-max-set
- ●
the
weights/costrequest property's min was set to0.00request-property-min-set
- ●
the
weights/io_compatibilityrequest property's min was set to0.00request-property-min-set
- ●
the
weights/loadrequest property's min was set to0.00request-property-min-set
- ●
the
weights/performancerequest property's min was set to0.00request-property-min-set
- ●
the
weights/skill_matchrequest property's min was set to0.00request-property-min-set
- ●
removed the optional property
latency_estimate_msfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
matched_capabilitiesfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
matched_tagsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
queue_depthfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
rejection_reasonfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
skill_matchesfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
subscoresfrom the response with the200statusresponse-optional-property-removed
- ○
api operation id
assessTaskCapabilityremoved and replaced withapi-operation-id-removed
- ○
removed the non-success response with the status
400response-non-success-status-removed
- ○
added the optional property
estimated_cost_amountto the response with the200statusresponse-optional-property-added
- ○
added the optional property
estimated_latency_msto the response with the200statusresponse-optional-property-added
- ○
added the optional property
reasonsto the response with the200statusresponse-optional-property-added
- ○
added the required property
can_handleto the response with the200statusresponse-required-property-added
This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
max_cost_amountrequest property type/format changed fromnumber/tostring/request-property-type-changed
- ▲
removed the required property
overall_scorefrom the response with the200statusresponse-required-property-removed
- ●
removed the optional property
reasoningfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
scoresfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
latency_estimate_msto the response with the200statusresponse-optional-property-added
- ○
added the optional property
matched_capabilitiesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
matched_tagsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
queue_depthto the response with the200statusresponse-optional-property-added
- ○
added the optional property
rejection_reasonto the response with the200statusresponse-optional-property-added
- ○
added the optional property
skill_matchesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
subscoresto the response with the200statusresponse-optional-property-added
- ○
added the required property
scoreto the response with the200statusresponse-required-property-added
- ▲
- ○
endpoint added
endpoint-added
- ○