Skip to main content
POST
/
api
/
v2
/
agents
/
{agentId}
/
conversations
/
{conversationId}
/
retry
Retry a message
curl --request POST \
  --url https://www.chatbase.co/api/v2/api/v2/agents/{agentId}/conversations/{conversationId}/retry \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "messageId": "msg-abc123",
  "stream": true
}
'
"<string>"

Authorizations

Authorization
string
header
required

API key from your account settings

Path Parameters

agentId
string
required

The agent ID

Minimum string length: 1
Example:

"5QHA6VB-DIAbBhxwqxfdi"

conversationId
string
required

The conversation ID

Minimum string length: 1
Example:

"a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d"

Body

application/json
messageId
string
required

The ID of the message to retry from

Minimum string length: 1
Example:

"msg-abc123"

stream
boolean
default:true

Whether to stream the response as SSE. Defaults to true.

Response

Successful response

Streaming text response