nodes

Kill a detached command

Kill a detached command: TERM to its whole process group, then KILL after 10s. SCOPE: one process group inside your own node's container - the node, its files, its other commands, and everything outside that container keep running. Ending a run you are no longer waiting on is routine and the cheap direction: it bills node time until it exits. Idempotent: killing a command that already finished returns its current state, never an error. The log keeps everything written so far; get_command shows the final state and exit code.

post/preview/nodes/{name}/commands/{id}/kill

Request

  • Base URL: https://autoresearch.sfcompute.com
  • URL: https://autoresearch.sfcompute.com/preview/nodes/{name}/commands/{id}/kill
  • Auth: HTTP bearer

Path parameters

namestring required

Node name (from list_nodes).

idstring required

The cmd-... id returned by run_command(detach:true) (or list_commands).

Query parameters

workspacestring

Act in this workspace (its slug). Omitted: the token's bound workspace, then the organization's default. Never ambient - there is no switch-workspace mutation on this door.

Response

The capability's JSON result.

objectstring

The resource type, when the result is one resource.

Changes

No recorded changes to this operation across all 1 revision of this API.