Skip to main content
GET
/
api
/
v1
/
chat
/
{thread_id}
/
messages
Get Chat Thread Messages
curl --request GET \
  --url http://localhost:8000/api/v1/chat/{thread_id}/messages \
  --header 'Authorization: Bearer <token>'
[
  {
    "role": "<string>",
    "content": "<string>",
    "date_added": "2023-11-07T05:31:56Z",
    "date_updated": "2023-11-07T05:31:56Z",
    "frontend_actions": []
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

thread_id
string
required

Query Parameters

limit__last_n
integer | null
offset
integer | null

Response

Successful Response

role
string
required
content
string
required
date_added
string<date-time>
required
date_updated
string<date-time>
required
frontend_actions
enum<string>[]

The Front-end actions.

Available options:
enable_submit_button,
disable_submit_button