Adam API

Create an externally controlled task

Changed on

Creates 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.

post/v1/tasks/external

Request

Headers

Idempotency-Keystring required

Required unique key. For 24 hours, retries with the same key and body replay the original response.

Request body

promptstring

The user's request to save in task history. This does not start an Adam agent.

titlestring
projectIdstring uuid

Response

Changes

    • info

      added the new optional request property

    • info

      added the optional property ///// to the response with the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property / became nullable for the status

    • info

      added subschema #3 subschema #4 subschema #5 subschema #7 to the /// response property anyOf list for the response status

    • info

      removed subschema #3 subschema #4 subschema #5 subschema #7 from the /// response property anyOf list for the response status

    • info

      response property task/pendingInteraction/anyOf[subschema #1]/prompt list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

      response property task/projectId list-of-types was narrowed by removing types null from media type application/json of response 201

    • 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