AdminAgentMessages
Create AdminAgentMessage
Create a new AdminAgentMessage record.
POST
Create 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-Create role.Request Body
Required Fields
Agent when the assistant was asked to answer, Chat when the message was for the people in the conversation.
Optional Fields
Code Examples
Response
200
Example Response
400
Example Response