Messages
post/messages

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

task_idstring required
streaming_status'IN_PROGRESS' | 'DONE' nullable
created_atstring date-time nullable

Optional timestamp for the message. Workflow callers should pass workflow.now() (Temporal's deterministic monotonic clock) so that two awaited messages.create calls from the same workflow are guaranteed to have monotonic timestamps regardless of HTTP scheduling at the server. If omitted, the server's wall clock at insert time is used.

Response

Successful Response

idstring nullable

The task message's unique id

task_idstring required

ID of the task this message belongs to

streaming_status'IN_PROGRESS' | 'DONE' nullable
created_atstring date-time nullable

The timestamp when the message was created

updated_atstring date-time nullable

The timestamp when the message was last updated

Changes

    • info

      added the new optional request property //

    • info

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

    • warning

      removed the request property //

    • warning

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