API & CLI
API & CLI
The REST API behind every surface, the orboto CLI, and the OQL query language.
orboto is API-first - the web app, the CLI, the MCP server and every integration all speak the same REST API with the same permissions.
The REST API
- Discover endpoints and schemas with authenticated
orboto api-search. The interactive/docsand/docs/jsonroutes are closed by default; they are available only when the operator enables public API documentation. - Authenticate with an API key (
orb_*, minted in your profile or by an admin for bot accounts) sent asAuthorization: Bearer <key>. - List endpoints use cursor pagination: pass
?cursor=<opaque>&limit=50, readitems+nextCursorfrom the response. - Added in v0.236.0 A cursor belongs to the list it came from. A cursor of
another list, a malformed one and an expired one are bad cursors, never a
server error: a keyset list starts again at its first page, and
GET /searchandPOST /queryanswer 400errors.pagination.invalid_cursor(POST /queryused to start again at page 1 for a malformed or expired cursor). Cursors issued before the upgrade keep working for up to 24 hours while they fit the list they are sent to. A client that walks a list stops with an error when the server hands back the same cursor twice or serves a page again, instead of looping: the CLI, the skill wrapper and the web app do. - Scoped keys. When you mint a key you can restrict it to a set of
permission scopes (
ticket:create,comment:create,doc:view, ...; the picker in your profile lists them,GET /api-keys/scopesreturns the same vocabulary). A scoped key can do at most what its scopes allow, even when your account may do more - the API intersects your permissions with the key's scopes on every request, including the MCP server and the in-app assistant, which authenticate with the same key. A key with no scopes carries your full permissions. Unknown scopes are refused when the key is created, never silently dropped. Added in v0.230.0 The scopes also bind the key's live connections -/ws,/agent/wsandGET /sse/mcp-events- so a key withoutticket:view_privateormilestone:view_privatereceives no private ticket or comment events, and changing, revoking or expiring the key closes them (WebSocket close code 4401). See Live connections.
For LLMs
These docs are machine-readable: /llms.txt is the index,
/llms-full.txt the full text, and every page has a raw
Markdown twin via the page-actions menu (Copy as Markdown, Open in
ChatGPT/Claude).
Install the CLI
A single static binary over the whole API - install, configure, update.
Connection profiles
Separate accounts, servers and agent processes without a shared active-account switch.
CLI daily workflow
The full command set - tickets, sessions, bulk ops, generic verbs.
OQL query language
Typed ticket queries - filters, sorting, JQL flavor.
API cookbook
Create, query, attach, bulk-update, and consume webhooks.