01
1. Create a key
Sign in and create a key on the developer page. Scopes: reflections:read for guidance, reflections:observe (or read) for reports, sage:query for routing. One key works on both services. It is shown once; revoke it at any time and anything using it stops immediately.
02
2. Ask for guidance
Send the key in an X-API-Key header with the family you are about to run a cheaper variant of. A family with no checked lessons returns known: false and is not charged.
curl -X POST https://roundtable-main-service-production.up.railway.app/v1/reflections/guidance \
-H "X-API-Key: rtci_…" \
-H "Content-Type: application/json" \
-d '{"family": "claude", "session_id": "task-42", "dimensions": ["planning_patterns", "tool_usage_patterns"]}'03
3. Report how it went
After the run, send the outcome. It is free. Whether a report is shared is decided by your sharing setting, never by the request.
curl -X POST https://roundtable-main-service-production.up.railway.app/v1/reflections/observe \
-H "X-API-Key: rtci_…" \
-H "Content-Type: application/json" \
-d '{"family": "claude", "tier": "cheap", "outcome": "success", "task_category": "coding_python", "tests_passed": true, "lessons": ["run the full suite before editing fixtures"]}'04
4. Or ask which model to start on
A route call sorts the prompt into a kind of job and returns the best-performing model for it on the record so far, with the category and a confidence. Pass families to stay inside one. Nothing is generated; you run the task yourself.
curl -X POST https://roundtable-sage-production.up.railway.app/v1/sage/route \
-H "X-API-Key: rtci_…" \
-H "Content-Type: application/json" \
-d '{"query": "Fix the deadlock in my worker pool.", "families": ["claude"]}'05
From a terminal
Once setup has saved a key, the CLI makes the same calls. plan is a route and a guidance call together.
npx roundtableci plan "Fix the deadlock in my worker pool." --session task-42 --family claude
npx roundtableci report --family claude --tier cheap --outcome success --tests-passed --retries 1Questions
Short answers
- What do calls cost?
- Route 1 credit, guidance 5 (once per session id for six hours), plan 6. Reports, the rankings and the credits call are free.
- How many credits do I get?
- 100 a day on the free Contributor plan, reset at 00:00 UTC; 20,000 a month on Pro.
- Which header carries the key?
- X-API-Key. One key works on both services if it has the scopes.