Skip to navigation

Consult Swarm

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
promptstringRequired>=1 character
domainstring or nullOptionalformat: "^(auto|sales|finance|operations)$"Defaults to auto
enable_criticbooleanOptionalDefaults to true
contextmap from strings to anyOptional

Response

Successful Response
selected_agentstring
specialist_analysisstring
duration_msinteger
critic_evaluationstring or nullOptional
risk_levelstringOptionalDefaults to low
proposed_actionslist of maps from strings to anyOptional

Errors

422
Unprocessable Entity Error