Skip to main content
POST
Export a conversation

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Tenant
number
required

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Path Parameters

id
integer
required

The conversation identifier

Body

application/json
format
enum<string>
required

The export format.

Available options:
json,
csv,
txt,
html
message_count
integer | null

The number of messages to export.

Required range: 1 <= x <= 10000
export_all
boolean | null

Whether to export all messages.

include_context
boolean | null

Whether to include context messages.

Response

The response is of type object.