Send a query to an workflow

Always targets the latest run; runId cannot be pinned for Temporal query operations.

post/workflow/{id}/query/{query}

Path parameters

idstring required

The workflow id

querystring required

The query name

Request body

payloadobject

The payload sent to the query operation

Response

Success

Changes

Changed in 2 of the 20 revisions of this API.334

  • 01552bfa957923See the full diff
    • added to the response body oneOf list for the response status

      response-body-one-of-added

    • the response's body type changed from object to no type for status

      response-body-type-changed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

  • 0f0e49049ef114See the full diff
    • the response's body type changed from no type to object for status

      response-body-type-changed

    • removed from the response body oneOf list for the response status

      response-body-one-of-removed

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog