Skip to content

Get conversation history

GET
/api/v1/chat/history
curl --request GET \
--url http://localhost:11044/api/v1/chat/history \
--header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'

Returns the full conversation history for the current session.

Conversation history

Media type*/*
object

No active session

Media type*/*

A refusal from the chat surface: the word error and the reason, written to be shown

object
message
required

What was refused and why, such as no open stream, no active session, or an unknown command

string
status
required

Always error. A client may branch on it rather than on the status code

string

Example

error