AdminAgentMessages
Search AdminAgentMessages
Search and list AdminAgentMessage records with filtering, sorting, and pagination.
GET
Search AdminAgentMessages
An individual message within an admin agent session conversation. Messages can be from the user, assistant, system, or tool calls/results. Each message tracks its role, content, and any tool interactions including tool name, arguments, and results. Token usage is tracked per message for cost monitoring.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the AdminAgentMessage-List role.Query Parameters
Pagination & Sorting
Filters
Filter by agent when the assistant was asked to answer, Chat when the message was for the people in the conversation.
Range Filters
Code Examples
Simple listing
Filtering by CreatedOn
Range filters
Response
200
The list of AdminAgentMessage records matching the query. See the Get one AdminAgentMessage endpoint for the full list of properties returned for each record.
Example Response