Skip to main content
GET
/
conversations
/
{id}
Get Conversation by Id
curl --request GET \
  --url https://api.pal.ai/v1/conversations/{id}
{
  "conversation": {
    "id": "<string>",
    "applicationId": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "deletedAt": "<string>",
    "messages": [
      {
        "id": "<string>",
        "content": "<string>",
        "role": "user",
        "type": "<string>",
        "parentMessageId": "<string>",
        "searchResultSet": {
          "documents": [
            {
              "id": "<string>",
              "title": "<string>",
              "contentPreview": "<string>",
              "url": "<string>"
            }
          ],
          "sections": [
            {
              "id": "<string>",
              "applicationId": "<string>",
              "heading": "<string>",
              "text": "<string>",
              "documentId": "<string>",
              "indexOrder": "<string>",
              "indexId": "<string>",
              "indexName": "<string>",
              "indexInfo": "<string>",
              "deletedAt": "<string>",
              "updatedAt": "<string>",
              "createdAt": "<string>"
            }
          ]
        },
        "createdAt": "<string>",
        "updatedAt": "<string>",
        "deletedAt": "<string>",
        "conversationId": "<string>",
        "feedback": "thumbsUp",
        "": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pal.ai/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required

Query Parameters

applicationId
string
required

The application id the conversation belongs to.

Response

200 - application/json

OK

conversation
Conversation · object