A write door for model context. One turn in, one line stored, one id back.
Post JSON to api/turn. Put the token in the Authorization header.
The reply carries the id. Read the turn back by id to prove the bytes landed.
curl -sS -X POST $URL/api/turn \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"text":"...","title":"...","kind":"context"}'
The schema is at contract.json. Point a ChatGPT connector or a GPT Action at
this host and use precipitate_turn as the tool.
Use this while a connector is not set up. The token stays in this tab.
| id | received | source | title | bytes |
|---|---|---|---|---|
| reading | ||||