Orby API
Orby endpoints exposed by the Devotel CPaaS API Base path:/api/v1/orby
Endpoint count: 11
Search the Orbit knowledge base
GET /api/v1/orby/kb/searchquery (required) plus an optional limit (default 10, max 50) and a section/category filter. Returns ranked results, each with doc_id, title, section, category, url, snippet, score, and last_updated_at. While the index is cold or reindexing the endpoint degrades to an empty result set with a kb_outage_hint instead of erroring. Operator-session auth only — API-key-authenticated requests are rejected.
string
required
The search query.
integer
Max results to return (default 10, max 50).
string
Restrict results to a single docs section.
string
Restrict results to a single docs category.
Get Orby knowledge-base index status
GET /api/v1/orby/kb/statusList the operator’s Orby threads
GET /api/v1/orby/threadsid, title, metadata, and created_at / updated_at / archived_at timestamps. Operator-session auth only — API-key-authenticated requests are rejected.
List an Orby thread’s messages
GET /api/v1/orby/threads/{id}/messagesid, role, content, and created_at; responds 404 if the thread is not owned by the caller. Operator-session auth only — API-key-authenticated requests are rejected.
string
required
—
Get a pending Orby tool action
GET /api/v1/orby/tool-actions/{id}tool, args, cost_estimate_cents, status, result, error_code / error_message, and created_at / expires_at / executed_at / cancelled_at. A pending row past its 5-minute window is lazily flipped to cancelled. Operator-session auth only — API-key-authenticated requests are rejected.
string
required
—
Start or continue an Orby assistant turn (SSE stream)
POST /api/v1/orby/assistanttext/event-stream): router, status, token, tool_start, tool_pending, tool_end, refusal, clarify, response, and error frames. Send { message, thread_id?, page? } — omit thread_id to start a new thread. Rate-limited to 60 turns/min per operator. Operator-session auth only — API-key-authenticated requests are rejected.
string
The operator’s message for this turn.
string
Existing thread to continue; omit to start a new thread.
object
Optional context for the dashboard page the operator is viewing, used to ground the turn.
Find the dashboard setting for a described task
POST /api/v1/orby/kb/find-settingdescription to the dashboard settings that control it. Returns ranked matches, each with setting_path, dashboard_url, label, description, doc_url, snippet, and score. Degrades to an empty result with a kb_outage_hint while the knowledge base is initialising. Operator-session auth only — API-key-authenticated requests are rejected.
string
Natural-language description of the task the operator wants to configure.
integer
Max matches to return (default 10, max 20).
Trigger an Orby knowledge-base reindex
POST /api/v1/orby/kb/reindex{ scheduled, ran_inline, error }. Operator-session auth only — API-key-authenticated requests are rejected.
Create an Orby thread
POST /api/v1/orby/threadstitle and page context and returns the new thread’s id, title, and created_at / updated_at timestamps. Operator-session auth only — API-key-authenticated requests are rejected.
string
Optional thread title.
object
Optional page context to seed the thread.
Approve a pending Orby tool action
POST /api/v1/orby/tool-actions/{id}/approvetool_pending SSE event). Ownership is enforced on the original operator and organization, and the persisted arguments are re-validated and re-authorized before execution. Returns the pending action id, terminal status, and the executor result. The approval window expires 5 minutes after the gate was raised. Operator-session auth only — API-key-authenticated requests are rejected.
string
required
—
Reject a pending Orby tool action
POST /api/v1/orby/tool-actions/{id}/rejectcancelled without executing it. Same ownership rules as approve. Returns the action id and status. Operator-session auth only — API-key-authenticated requests are rejected.
string
required
—