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
The goal ID to cancel
Request Body
Optional reason for cancellation (logged for audit)
Response
The cancelled goal ID
cancelledRemaining budget to be credited (USDC)