Execute Console Command
POST
/console-commands/Example request
application/json{
"resourceId": "my-interactive-resource",
"command": "hostname"
}Handler-checked behavior
Replace the example resourceId with a saved resource that supports one-shot commands. resourceId and command are required; timeoutSeconds defaults to 30 and cannot exceed 3600. The request waits for the runner and returns a command record. A runner failure can return 201 Created with status: failed; inspect status, exitCode, and failure instead of treating HTTP status as command success.
Related guide
See the Console guide for related tasks and context.