FruxonDocs
ApiFruxon channel

Auto-runs the consult's advisor agent to answer it — true agent↔agent in the sandbox.

Runs an agent advisor for a pending sandbox consult when advisorIsAgent is true. Its reply streams to the child session and resolves the pending consult, allowing the consulting agent to resume. Sandbox only; no real messages are sent.

POST
/v1/tenants/{tenant}/fruxon/sessions/{session}/consults/{consult}:runAdvisor
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

session*string

The session id returned by open.

consult*string

The parked consult operation id from the pending_consult frame.

Formatuuid
tenant*string

The tenant identifier

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/fruxon/sessions/string/consults/497f6eca-6276-4993-bfeb-53cbbbba6f08:runAdvisor"
{
  "advisorSessionId": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}