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
}
}
Budget and control
Resume Goal
Resume a paused recurring 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
}
}
Overview
Resumes a paused recurring compute goal. The next run is scheduled from the goal’s cron (schedule.cron, UTC). One-off goals can’t be resumed.
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
Next scheduled run, ISO 8601 (UTC)
number
Runs completed so far
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
}
}
Only a recurring goal that is
paused can be resumed. Otherwise the call returns not_recurring or invalid_state.