Resolve an approval request
Changed onApprove or deny a pending approval request. If approved, the gateway resumes the full task pipeline (stages 2–8: credit debit → compute → IPFS → fingerprint → receipt). If denied, the task is marked FAILED and no credits are consumed. Both JWT and API key authentication are supported — enabling programmatic resolution from SDKs and scripts without the dashboard.
Request
- Base URLhttps://api.agentchain.cloud
- URLhttps://api.agentchain.cloud/api/v1/approvals/{id}
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Approval request ID
Request body
Response
Approval resolved successfully
Example response
{
"success": true
}Changes
- warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
from the response with the status - info
removed the non-success response with the status
- warning
- info
endpoint added
- info