NodeRingsDocs

Get Conversation History

GetConversationHistory returns the full message history for a conversation

GET
/v1/chat/conversations/{conversationId}/history
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Path Parameters

conversationIdstring

Conversation ID

Response Body

application/json

curl -X GET "https://api.noderings.com/v1/chat/conversations/{conversationId}/history" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}"
{
  "conversationId": "string",
  "title": "string",
  "messages": [
    {
      "role": "string",
      "content": "string",
      "functionCalls": [
        {
          "id": "string",
          "name": "string",
          "arguments": "string"
        }
      ],
      "functionCallId": "string"
    }
  ]
}