Cancel a task
Changed onCancels queued, running, or awaiting-input work. Repeated requests are safe; completed and failed tasks remain unchanged.
Request
- Base URLhttps://api.adam.new
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://api.adam.new/auth/oauth2/authorizeToken URLhttps://api.adam.new/auth/oauth2/tokenScopestasks:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Response
The task's current state
Changes
- info
added the optional property
/////to the response with the status
- info
- breaking
the response property
///became nullable for the status - breaking
the response property
/became nullable for the status - info
added
subschema #3subschema #4subschema #5subschema #7to the///response propertyanyOflist for the response status - info
removed
subschema #3subschema #4subschema #5subschema #7from the///response propertyanyOflist for the response status - info
response property
task/pendingInteraction/anyOf[subschema #1]/promptlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
task/projectIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
the
//response's property pattern was changed from^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$to^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$for the status
- breaking