FruxonDocs
ApiFruxon channel

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

WS-6 (docs/design/debug-console-consult-loopback.md): when the advisor participant is itself an agent (the `pending_consult` frame's `advisorIsAgent`), this enqueues a nested sandbox run of that agent with the consult question. Its reply streams to this console, and on completion the parked consult resolves so the consulting agent resumes. Sandbox sessions only; no real send.

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"
Empty
{
  "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
}