Skip to main content
POST
Create a new conversation

Authorizations

Authorization
string
header
required

Your DUST API key is a Bearer token.

Path Parameters

wId
string
required

ID of the workspace

Body

application/json
message
object
required
contentFragments
object[]

The list of content fragments to attach to this conversation (optional)

title
string

The title of the conversation

Example:

"My conversation"

skipToolsValidation
boolean

Whether to skip the tools validation of the agent messages triggered by this user message (optional, defaults to false)

Example:

false

blocking
boolean

Whether to wait for the agent to generate the initial message. If true the query will wait for the agent's answer. If false (default), the API will return a conversation ID directly and you will need to use streaming events to get the messages.

Example:

true

spaceId
string

The sId of the space (project) in which to create the conversation (optional). If not provided, the conversation is created outside projects

Example:

"space_abc123"

Response

Conversation created successfully.

conversation
object