AdminAgentMessages
Get one AdminAgentMessage
Retrieve a single AdminAgentMessage record by its Id.
GET
Get one AdminAgentMessage
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-Read role.Path Parameters
integer
required
The Id of the AdminAgentMessage record to retrieve.
Code Examples
Response
200
integer
ID of the admin agent session linked to this message.
integer
Role of the message sender: User, Assistant, System, ToolCall, or ToolResult.
string
The text content of the message.
string
Name of the tool that was called or produced a result.
string
JSON-formatted arguments passed to the tool.
string
JSON-formatted result returned by the tool.
integer
Number of LLM tokens consumed by this message.
integer
User who wrote the message (people only).
string
Display value for Author.FullName..
string
Display value for Author.Email..
integer
Agent when the assistant was asked to answer, Chat when the message was for the people in the conversation.
string
JSON with the users and/or agent mentioned in the message.
integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response