Export Chats to CSV
Authentication
AuthorizationBearer
Retrieve your API Key from Dashboard.
Query parameters
id
This is the unique identifier for the chat to filter by.
assistantId
This is the unique identifier for the assistant that will be used for the chat.
assistantIdAny
Filter by multiple assistant IDs. Provide as comma-separated values.
squadId
This is the unique identifier for the squad that will be used for the chat.
sessionId
This is the unique identifier for the session that will be used for the chat.
previousChatId
This is the unique identifier for the previous chat to filter by.
columns
Columns to include in the CSV export
email
This is the email address to send the export to.
Required if userId is not available in the request context.
format
This is the format of the export.
@default csv
Allowed values:
page
This is the page number to return. Defaults to 1.
sortOrder
This is the sort order for pagination. Defaults to 'DESC'.
Allowed values:
limit
This is the maximum number of items to return. Defaults to 100.
createdAtGt
This will return items where the createdAt is greater than the specified value.
createdAtLt
This will return items where the createdAt is less than the specified value.
createdAtGe
This will return items where the createdAt is greater than or equal to the specified value.
createdAtLe
This will return items where the createdAt is less than or equal to the specified value.
updatedAtGt
This will return items where the updatedAt is greater than the specified value.
updatedAtLt
This will return items where the updatedAt is less than the specified value.
updatedAtGe
This will return items where the updatedAt is greater than or equal to the specified value.
updatedAtLe
This will return items where the updatedAt is less than or equal to the specified value.