curl -X POST https://win.oneshotagent.com/v1/compute/3f2b9c1e-8d4a-4f6b-9e2a-7c1d5b8a0f42/resume \
-H "Content-Type: application/json" \
-H "X-Agent-ID: 0xYourWalletAddress" \
-H "x-agent-proof: <base64 EIP-712 proof, scope write>"
{
"success": true,
"data": {
"goal_id": "3f2b9c1e-8d4a-4f6b-9e2a-7c1d5b8a0f42",
"status": "active",
"next_run_at": "2026-06-04T08:00:00.000Z",
"run_count": 4,
"child_goals_resumed": 0
}
}
Budget and control
Resume Goal
Resume a paused compute goal
POST
/
v1
/
compute
/
{goalId}
/
resume
curl -X POST https://win.oneshotagent.com/v1/compute/3f2b9c1e-8d4a-4f6b-9e2a-7c1d5b8a0f42/resume \
-H "Content-Type: application/json" \
-H "X-Agent-ID: 0xYourWalletAddress" \
-H "x-agent-proof: <base64 EIP-712 proof, scope write>"
{
"success": true,
"data": {
"goal_id": "3f2b9c1e-8d4a-4f6b-9e2a-7c1d5b8a0f42",
"status": "active",
"next_run_at": "2026-06-04T08:00:00.000Z",
"run_count": 4,
"child_goals_resumed": 0
}
}
Overview
Resumes a paused compute goal, and lifts Stop now.- A recurring goal’s next run is scheduled from its cron (
schedule.cron, UTC). - Any other goal is woken now and continues where it was. The time it was paused does not count toward the reminders and answer deadlines of the questions it put to people. Its own timers, approval expiries and deadline keep running while it is paused.
- Goals paused with it are resumed with it. A goal you paused on its own stays paused.
Authentication
A signed write proof or an access token: see Authentication schemes. Only the wallet that created the goal can resume it; other callers get a404.
Path Parameters
string
required
Goal ID to resume
Request Body
Response
string
The resumed goal ID
string
activestring
When it next runs, ISO 8601 (UTC): the next scheduled run, or now
number
Runs completed so far
number
Goals paused with this one that were resumed with it
curl -X POST https://win.oneshotagent.com/v1/compute/3f2b9c1e-8d4a-4f6b-9e2a-7c1d5b8a0f42/resume \
-H "Content-Type: application/json" \
-H "X-Agent-ID: 0xYourWalletAddress" \
-H "x-agent-proof: <base64 EIP-712 proof, scope write>"
{
"success": true,
"data": {
"goal_id": "3f2b9c1e-8d4a-4f6b-9e2a-7c1d5b8a0f42",
"status": "active",
"next_run_at": "2026-06-04T08:00:00.000Z",
"run_count": 4,
"child_goals_resumed": 0
}
}
Only a
paused goal can be resumed. Otherwise the call returns invalid_state. A goal that runs on the older planner returns not_pausable, and a goal OneShot holds while it reviews failures on its side returns 409 held_for_review.