Get chat messages

Retrieves a list of chat messages for a given chat session

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

Chat session ID

integer
Defaults to 10

Number of messages to return

string
enum

Filter by one or more message roles. Multiple roles can be specified as a comma-separated string.
If not specified, messages with all roles are returned.

Available roles:

  • user - Messages from the user
  • assistant - Text responses from the AI assistant
  • model - Function/tool call requests from the model
  • function - Function/tool call results
Allowed:
string
enum
Defaults to desc

Order of messages

Allowed:
Responses

401

Unauthorized

403

Forbidden - access denied to the requested resource

404

Chat session not found

500

Server error

504

Request timed out

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json