Getting raw response from the webapi - https://workiq.svc.cloud.microsoft/rest/conversations/89ede178-2e87-4ebe-844f-4002b832e475/chat

Harsh Mishra 0 Reputation points Microsoft Employee
2026-08-27T07:09:30.51+00:00

Hello, I'm seeing raw output instead of formatted and expected output. Can you please check if there are any changes to the api.

Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.

0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-08-27T07:09:47.5433333+00:00

    If the response appears as raw streamed chunks instead of a single formatted response, the request is likely hitting a streamed pattern rather than a complete synchronous response.

    For the Work IQ Chat API, the synchronous endpoint is:

    POST https://workiq.svc.cloud.microsoft/rest/conversations/{conversationId}/chat
    

    The streamed endpoint is different:

    POST https://workiq.svc.cloud.microsoft/rest/conversations/{conversationId}/chatOverStream
    

    The documented chat endpoint remains the synchronous endpoint, and chatOverStream is the streamed endpoint. The examples also show the same request body shape for chat, such as:

    {
      "message": {
        "text": "What meeting do I have at 9 AM tomorrow morning?"
      },
      "locationHint": {
        "timeZone": "America/New_York"
      }
    }
    

    Checks to make:

    1. Verify the request is going to /chat, not /chatOverStream.
    2. Verify the client code is not treating the response as an event stream.
    3. If the output resembles incremental chunks, disable streaming behavior in the caller and use the synchronous request pattern.

    There is no context indicating a documented API change where /chat now returns only raw streamed output by default.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.