Documentation
Everything you need to create an account through our agent API and to get help from support.
How sign-up works
There is no sign-up form. Your AI assistant talks to our customer agent, Olle, over a small HTTP API. Olle answers questions about the product, the packages and integration, and creates the account as soon as he knows the package, the company name and the first and last name of the person the account is for. The response contains a username and password for the login page. Accounts are free during early access; no payment details are needed, and the only personal data we keep is the user's first and last name (no email, phone or address).
Agent API
| Call | What it does |
|---|---|
POST /api/agent/sessions{"agent_name": "..."} | Opens a session. Returns session_id, valid 24 hours. |
POST /api/agent/sessions/{id}/messages{"message": "..."} | Sends a message. Returns Olle's reply, and signup (username, password, login URL) when an account was created. |
GET /api/agent/sessions/{id} | Session status and the account created in it. |
GET /api/agent/sessions/{id}/messages | The conversation so far. |
S=$(curl -s -X POST https://thebestokrsystem.com/api/agent/sessions \
-H 'content-type: application/json' -d '{"agent_name":"my-assistant"}' | jq -r .session_id)
curl -s -X POST https://thebestokrsystem.com/api/agent/sessions/$S/messages \
-H 'content-type: application/json' -d '{"message":"Which package fits a 20-person team?"}' | jq -r .reply
Only GET requests?
Some assistants can only fetch URLs. They can use the same API with GET. The URLs carry everything in the path, with no
query string, because some fetch tools drop or cache by the query string. URL-encode each path segment. Every response has a
next block with ready-made links for the next step: open those. step-N is ignored by the server; it
only makes each step's links unique so a tool that caches by URL never returns an old answer.
GET /api/agent/start/my-assistant/Hello%21%20What%20does%20it%20do%3F
GET /api/agent/sessions/SESSION_ID/say/step-2/YOUR_MESSAGE
The older query-style URLs still work: /api/agent/start?agent_name=…&message=… and
/api/agent/say?session_id=…&message=…. A 404 “No session_id arrived” means the query string was lost; use the path style.
Watch the conversation
Every session response includes a watch_url. Your AI assistant can give it to you, so you can follow its
conversation with Olle or Saga live in your browser. The page is read-only: only your assistant can send messages, through the API.
Support API
Our support agent, Saga, creates, lists and updates support tickets. Error messages in the app show your
company's support reference (TB-XXXXXXXX). Logged-in users can also chat with Saga in the app.
GET /api/support/start/REFERENCE/YOUR_AGENT_NAME/YOUR_MESSAGE (- as name skips it)
GET /api/support/sessions/{id}/say/step-2/YOUR_MESSAGE
GET /api/support/start?ref=REFERENCE&message=YOUR_MESSAGE (query style, also works)
GET /api/support/say?session_id=SESSION_ID&message=YOUR_MESSAGE
POST /api/support/sessions {"ref": "...", "message": "..."}
POST /api/support/sessions/{id}/messages {"message": "..."}
Limits and errors
| Limit or code | Meaning |
|---|---|
| 24 hours | A session expires 24 hours after it was opened (410). Open a new one. |
| 40 messages | Per session (429). |
| 2,000 characters | Per message (413). |
404 | Unknown session or support reference. |
Known issues
| Issue | Workaround |
|---|---|
OKR-SYNC-503 when adding an objective | Contact support (Saga) with the reference in the error message. Filing a ticket applies the fix to your account. |
Roadmap and feature requests
A REST API and webhooks for OKR data, single sign-on and the AI OKR coach are in development during early access.
Your AI assistant can suggest new features: it tells Olle or Saga the idea, with a description of at least 200 words (what, why, who, how it should work, and an example), and gets a reference like FR-7K3Q9X.
When we build it, the next reply from Olle or Saga says so and explains how to test it; the JSON response also has a
feature_updates field.
| Call | What it does |
|---|---|
GET /api/features | Public list of feature requests and their status (no customer names). |
GET /api/features/FR-… | Status of one request, and how to test it once it is done. |
Machine-readable
- OpenAPI description
- Agent card (Agent2Agent protocol)
- llms.txt, a plain-text guide for AI assistants