Skip to main content
GET
/
api
/
v1
/
ai
/
conversations
/
history
Get conversation history
curl --request GET \
  --url https://api.dualship.run/api/v1/ai/conversations/history \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Workspace-Id: <x-workspace-id>'
{
  "conversation_id": "conv_abc123",
  "messages": [
    {
      "content": "Hello, how can you help me?",
      "role": "user",
      "timestamp": "2024-01-15T10:00:00Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Headers

X-Workspace-Id
string
required

Workspace ID

Query Parameters

conversation_id
string
required

Conversation ID

Response

Conversation history

Conversation history response

conversation_id
string
Example:

"conv_abc123"

messages
object[]