Skip to main content
Codex Cloud does not currently provide an official public REST API. This action calls undocumented ChatGPT backend endpoints that may change without notice.
codex.cancelCloudTask requests cancellation of the task’s active turn.
automations/cancel-codex-task.automation.ts
Cancellation is asynchronous. Call codex.getCloudTask to confirm that the active attempt reached cancelled. Optional second argument { account } defaults to the project binding.