codex.archiveCloudTask removes one Codex cloud task from the current-task list.
automations/archive-codex-task.automation.ts
codex.unarchiveCloudTask. Optional second argument { account } defaults to the project binding.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Archive a completed Codex cloud task.
codex.archiveCloudTask removes one Codex cloud task from the current-task list.
import { automation, onSchedule } from "automate.ax"
import { codex } from "automate.ax/codex"
export default automation("Archive Codex task", () => {
onSchedule({ schedule: "0 0 * * 0" })
codex.archiveCloudTask({ taskId: "task_e_abc123" })
})
codex.unarchiveCloudTask. Optional second argument { account } defaults to the project binding.