Resolve Task (Async)
Changed onResolves a pending task and processes it in the background. Returns immediately with the assistant message ID. Poll GET /chats/:chatId/messages/:messageId and check finishReason to detect completion.
Request
- Base URLhttps://api.v0.dev/v2
- URLhttps://api.v0.dev/v2/chats/{chatId}/messages/resolve/async
- AuthHTTP bearer
Path parameters
The unique identifier of the chat.
Request body
Response
Acknowledgement that an async message has been queued.
Changes
- breaking
removed the enum value
v0-maxof the request property/(media type: application/json) - breaking
removed the enum value
v0-maxof the request property/(media type: application/x-www-form-urlencoded) - breaking
removed the enum value
v0-maxof the request property/(media type: multipart/form-data) - breaking
removed the enum value
v0-max-fastof the request property/(media type: application/json) - breaking
removed the enum value
v0-max-fastof the request property/(media type: application/x-www-form-urlencoded) - breaking
removed the enum value
v0-max-fastof the request property/(media type: multipart/form-data) - breaking
removed the enum value
v0-miniof the request property/(media type: application/json) - breaking
removed the enum value
v0-miniof the request property/(media type: application/x-www-form-urlencoded) - breaking
removed the enum value
v0-miniof the request property/(media type: multipart/form-data) - breaking
removed the enum value
v0-proof the request property/(media type: application/json) - breaking
removed the enum value
v0-proof the request property/(media type: application/x-www-form-urlencoded) - breaking
removed the enum value
v0-proof the request property/(media type: multipart/form-data) - breaking
the
/request property type changed fromstringto no type (media type: application/json) - info
added
subschema #1subschema #2to the/request propertyanyOflist (media type: application/json) - info
added
subschema #1subschema #2to the/request propertyanyOflist (media type: application/x-www-form-urlencoded) - info
added
subschema #1subschema #2to the/request propertyanyOflist (media type: multipart/form-data) - info
the
/request property type was generalized fromstringto no type (media type: application/x-www-form-urlencoded) - info
the
/request property type was generalized fromstringto no type (media type: multipart/form-data)
- breaking
- info
added the new
Datadogenum value to the request property///(media type: application/json) - info
added the new
Datadogenum value to the request property///(media type: application/x-www-form-urlencoded) - info
added the new
Datadogenum value to the request property///(media type: multipart/form-data)
- info