Skip to content

Get session and process status

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

Returns the status of the user’s chat session and any running agent processes. Use this to monitor progress of long-running actions.

Session status

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