Stop all of a chat’s background work
Preview. This operation may change in any release.
Stop every background task the chat holds, whichever reply started it: background commands, helper agents and watchers. It stops what it can see was started by the chat. none: nothing was running. ended: everything it could see stopped. may-remain: some may still be running. unsupported: this chat’s runtime cannot say what it runs in the background. On Codex, work started in a reply that is still open is reached by that reply’s own Stop.
The sign-in cookie a browser gets when a person signs in to DorkOS. An installed DorkOS on port 4242 names it __Secure-better-auth.session_token. On any other port the prefix carries a suffix for its data folder (better-auth-<hash>), and a development server leaves off __Secure-. From this computer, an operation that takes the sign-in cookie or a personal API key needs neither while "Ask for a password on this computer too" is off, which is how DorkOS installs (dorkos auth enable turns it on). A request from another device needs one, with one exception for now: a browser reaching a Docker container through its published port, while the container runs with DORKOS_ALLOW_INSECURE_BIND and has no owner account yet.
In: cookie
Path Parameters
The chat, by its session id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/sessions/string/background-stops" \ -H "Content-Type: application/json" \ -d '{}'{ "answer": "none"}