Stop a process
Sends SIGTERM, or SIGKILL when `force` is set. Admin only, and recorded in the audit log.
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/activity/terminate" \ -H "Content-Type: application/json" \ -d '{ "pid": 1 }'Sample the process table GET
One sample of the host's running processes, taken when the request arrives; the daemon runs no background loop. CPU, disk, and wakeup figures are rates measured against the previous call, so the first call after startup reports zeros for them. Processes the daemon may not inspect are omitted. Requires the **operator** role.
Answer an assistant question POST
Replies to an open `ask_user` question in the latest turn, then resumes the run server-side. The answer is capped at 4000 characters. Only the owner of the conversation may answer.