Messages

Resolve Task (Streaming)

Resolves a pending task in a chat and returns a Server-Sent Events stream. Events include the initial assistant-message snapshot, content chunk deltas, final usage, and a closing message snapshot. The response is text/event-stream; each event is data: <JSON>\n\n where the JSON conforms to MessageStreamEvent.

post/chats/{chatId}/messages/resolve/stream

Path parameters

chatIdstring required

The unique identifier of the chat.

Request body

Response

A single Server-Sent Events payload emitted by the streaming send-message endpoint. Each SSE event is data: <JSON>\n\n where the JSON conforms to one of the union members.

Changes

Changed in 3 of the 34 revisions of this API.10

    • added the new optional request property task/oneOf[subschema #4]/permissions/items/toolDisplayName (media type: application/json)

      new-optional-request-property

    • added the new optional request property task/oneOf[subschema #4]/permissions/items/toolDisplayName (media type: application/x-www-form-urlencoded)

      new-optional-request-property

    • added the new optional request property task/oneOf[subschema #4]/permissions/items/toolDisplayName (media type: multipart/form-data)

      new-optional-request-property

    • added the optional property oneOf[subschema #1]/parts/items/oneOf[subschema #7]/suggestedPermissions/items/toolDisplayName to the response with the 200 status

      response-optional-property-added

    • added the optional property oneOf[subschema #1]/parts/items/oneOf[subschema #7]/toolDisplayName to the response with the 200 status

      response-optional-property-added

    • added subschema #5 to the task request property oneOf list (media type: application/json)

      request-property-one-of-added

    • added subschema #5 to the task request property oneOf list (media type: application/x-www-form-urlencoded)

      request-property-one-of-added

    • added subschema #5 to the task request property oneOf list (media type: multipart/form-data)

      request-property-one-of-added

    • added subschema #4 to the oneOf[subschema #1]/parts/items/oneOf[subschema #8]/data response property anyOf list for the response status 200

      response-property-any-of-added

    • endpoint added

      endpoint-added

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