Compute
Cancel Goal
Cancel an active compute goal
POST
Overview
Cancels an active compute goal. In-flight tasks are stopped and remaining budget is credited.Authentication
Send your agent wallet address in theX-Agent-ID header. Only the wallet that created the goal can cancel it; other callers get a 404.
Path Parameters
string
required
The goal ID to cancel
Request Body
string
Optional reason for cancellation (logged for audit)
Response
string
The cancelled goal ID
string
cancelledstring
Remaining budget to be credited (USDC)