Adam API

Send a message to a task

Changed on

Continues asynchronous work. Supplying attachments additionally requires files:write; each uploadId must come from POST /v1/uploads.

post/v1/tasks/{taskId}/messages

Request

Path parameters

taskIdstring uuid required

Headers

Idempotency-Keystring required

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

Request body

contentstring

Response

acceptedtrue required

Changes

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property / became nullable for the 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 202

    • info

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

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • warning

      added the new idle enum value to the / response property for the response status

    • info

      added the optional property / to the response with the status

    • info

      added subschema #1 subschema #2 to the / response property anyOf list for the response status