nodes

List commands on a node (paged)

List a node's detached commands, newest first: {command_id, state, env (names only), started_at, ended_at?, exit_code?, result?, note?}. A lost row's note says that no exit status was recorded and whether the node's disk is still there; get_command carries the full disclosure. result is each command's declared verdict ($GMN_RESULT_PATH), so comparing runs is this one call. The listing is the newest 100 (a note says when older history was clipped; get_command still reads any command by id). These are the commands started with run_command(detach:true), the ones that can still be interrogated with get_command. Command lines are NOT echoed back (they're recorded encrypted, as an operator-visible debugging record, and shown to your own org on the mission page's Commands tab - unless your organization's retention policy declines the capture, see get_retention); track what a command_id is from your own run_command call; env values are never echoed anywhere, names only. Works against stopped nodes and never wakes one.

get/preview/nodes/{name}/commands

Request

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

Path parameters

namestring required

Node name (from list_nodes).

Query parameters

cursorstring

Opaque page cursor: the next_cursor a previous response returned. Omit for the first page.

limitinteger

Rows per page. Clamped to the range shown.

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.

next_cursorstring

Pass as ?cursor= for the next page. Absent on the last page. Opaque: never parse it.

object'list' required

Changes

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