Create an externally controlled task
Changed onCreates an idle task for an external client. No Adam model is selected, no inference or agent run starts, and no compute is provisioned. Attachments are immutable task inputs from POST /v1/uploads and additionally require files:read and files:write.
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 new optional request property
- 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