The QuirkThing API
?Drive a conversation over HTTP, and see how the answer was reached.
What the API is
Quirk answers with the decision model's estimates beside the reply, rather than only the reply. The API exposes that same conversation: you send a message, and the answer comes back with the probabilities that shaped it.
These are the same conversations the app runs. A chat started here appears in the app's history list and can be picked up and continued in the browser, and one started in the browser can be carried on from here.
Authentication
Every request carries an API key. The key belongs to an account, and a request answers for that account: it reaches that account's chats and nothing else. Create one on the API keys page, then send it as a bearer token.
Next steps
Chats
List, create, read, reconfigure and delete the conversations a key owns.
Messages
Send a message and get the answer back, along with the decision estimates that shaped it.
Authentication
How a request says which account it is acting for, and how to keep the key safe.
Prefer to click than to read? The API playground sends a real request from the browser, using one of your own keys.