Skip to main content
POST
Create a content fragment

Authorizations

Authorization
string
header
required

Your DUST API key is a Bearer token.

Path Parameters

wId
string
required

ID of the workspace

cId
string
required

ID of the conversation

Body

application/json
title
string
required
content
string
required
contentType
string
required

MIME type of the content

context
object
required
url
string | null
fileId
string | null

Response

Successfully created content fragment

contentFragment
object

A content fragment (file or content node attachment) in a conversation.