---
title: "Chat with next-gen assistant"
slug: "chat-with-next-gen-assistant"
updated: 2026-02-11T02:27:31Z
published: 2026-02-11T02:27:31Z
canonical: "help.unleash.so/chat-with-next-gen-assistant"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://help.unleash.so/llms.txt
> Use this file to discover all available pages before exploring further.
# Chat with next-gen assistant
Post/chats/v2
Chat with next-gen assistant
SecurityAPI Key: BearerHeader parameter nameAuthorization
Enter the token with the `Bearer: ` prefix, e.g. "Bearer abcde12345".
Header parametersunleash-account
Email address of the user to impersonate. This header allows the caller to perform actions on behalf of the specified user.
Body parametersExpand Allobject messages Array of object (ChatMessageRequest) RequiredMin items1object textstring | null
rolestring Valid values[
"User",
"System",
"Assistant"
]
assistantIdstring | null
threadIdstring | null
Expand Allobject messages Array of object (ChatMessageRequest) RequiredMin items1object textstring | null
rolestring Valid values[
"User",
"System",
"Assistant"
]
assistantIdstring | null
threadIdstring | null
Expand Allobject messages Array of object (ChatMessageRequest) RequiredMin items1object textstring | null
rolestring Valid values[
"User",
"System",
"Assistant"
]
assistantIdstring | null
threadIdstring | null
Responses200
Success
Expand Allobject textstring | null
toolCalls Array of object (ToolCall) | null object idstring
namestring
typestring
callIdstring
argumentsstring
referenceobject (ReferenceChatv2) referenceIds Array of string | null string
positioninteger
sourcesobject (Sources) sourcesIds Array of string | null string
toolobject (Tool) toolCallStatusobject (ToolCallStatus) toolCallIdstring
statusstring Valid values[
"Start",
"End",
"Failed"
]
toolStepobject (ToolStep) stepDescriptionstring
toolIdstring
responseobject (ToolResponse) namestring
toolIdstring
resourcesobject (ToolResources) enterpriseobject (EnterpriseToolResources) results Array of object (Resource) | null object idstring | null
appIdstring | null
typestring | null
externalIdstring | null
namestring | null
dataobject | null property*
titlestring | null
subtitlestring | null
urlstring | null
webSearchobject (WebSearchToolResources) sources Array of object (WebSource) | null object idstring
urlstring
iconstring
titlestring
siteNamestring
descriptionstring
customobject (CustomToolResources) property*
requestIdstring | null
Expand Allobject textstring | null
toolCalls Array of object (ToolCall) | null object idstring
namestring
typestring
callIdstring
argumentsstring
referenceobject (ReferenceChatv2) referenceIds Array of string | null string
positioninteger
sourcesobject (Sources) sourcesIds Array of string | null string
toolobject (Tool) toolCallStatusobject (ToolCallStatus) toolCallIdstring
statusstring Valid values[
"Start",
"End",
"Failed"
]
toolStepobject (ToolStep) stepDescriptionstring
toolIdstring
responseobject (ToolResponse) namestring
toolIdstring
resourcesobject (ToolResources) enterpriseobject (EnterpriseToolResources) results Array of object (Resource) | null object idstring | null
appIdstring | null
typestring | null
externalIdstring | null
namestring | null
dataobject | null property*
titlestring | null
subtitlestring | null
urlstring | null
webSearchobject (WebSearchToolResources) sources Array of object (WebSource) | null object idstring
urlstring
iconstring
titlestring
siteNamestring
descriptionstring
customobject (CustomToolResources) property*
requestIdstring | null
400
Bad Request
Expand Allobject typestring | null
titlestring | null
statusinteger (int32) | null
detailstring | null
instancestring | null
errorsobject | null property* Array of string additionalPropertiesstring
property*
Expand Allobject typestring | null
titlestring | null
statusinteger (int32) | null
detailstring | null
instancestring | null
errorsobject | null property* Array of string additionalPropertiesstring
property*
Expand Allobject typestring | null
titlestring | null
statusinteger (int32) | null
detailstring | null
instancestring | null
errorsobject | null property* Array of string additionalPropertiesstring
property*