GET
/
v1
/
pathway
/
chat
/
{id}
curl --request GET \
  --url https://us.api.bland.ai/v1/pathway/chat/{id} \
  --header 'authorization: <authorization>'
{
    data: [
        {
            "role": "user",
            "content": "message"
        },
        ... // more messages
    ]
}

Headers

authorization
string
required

Your API key for authentication.

Path Parameters

id
uuid
required

The chat ID created from the /pathway/chat/create endpoint.

Response

errors
array

List of errors or null.

data
array

Message objects for the conversation history.

{
    data: [
        {
            "role": "user",
            "content": "message"
        },
        ... // more messages
    ]
}