GET
/
v1
/
messages
/
{app_id}
/
{session_id}
curl --location 'https://api.llmrails.com/v1/messages/{app_id}/{session_id}' \
--header 'X-API-KEY: {token}'
'
{
    "messages": [
        {
            "id": "d5c90567-84b3-4e9e-9527-f5a927b73620",
            "type": 1,
            "message": "Who ordered it ?",
            "created": 1693560933
        },
        {
            "id": "caced2bc-82bb-4178-960b-c5e0dfa8e608",
            "type": 0,
            "message": "The order was issued by President Donald J. Trump.",
            "created": 1693560934
        }
    ]
}
curl --location 'https://api.llmrails.com/v1/messages/{app_id}/{session_id}' \
--header 'X-API-KEY: {token}'
'
{
    "messages": [
        {
            "id": "d5c90567-84b3-4e9e-9527-f5a927b73620",
            "type": 1,
            "message": "Who ordered it ?",
            "created": 1693560933
        },
        {
            "id": "caced2bc-82bb-4178-960b-c5e0dfa8e608",
            "type": 0,
            "message": "The order was issued by President Donald J. Trump.",
            "created": 1693560934
        }
    ]
}

Path Parameters

app_id
string
required
session_id
string
required

Response

200 - application/json
messages
object[]
required