Skip to content

Upsert chat messages

PUT
/api/workspaces/{workspaceId}/chats/{id}/messages
workspaceId
required
string
id
required
string
object
messages
required
Array<object>
object
key
additional properties
localAcp
object
providerId
required
string
>= 1 characters
sessionId
required
string
>= 1 characters
modelId
required
string
>= 1 characters

Successful response

object
success

Whether the request succeeded.

boolean
data

Endpoint-specific response payload.

message
string
Example
Operation completed
error
string
Example
Error message

Invalid request

object
success
boolean
error
string
Example
Error message

Internal server error

object
success
boolean
error
string
Example
Error message