Create and start a task
Changed onStarts asynchronous work. Supplying attachments additionally requires files:write; each uploadId must come from POST /v1/uploads.
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.
Headers
Required unique key. For 24 hours, retries with the same key and body replay the original response.
Request body
Response
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 response201 - info
response property
task/projectIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response201 - 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