Get Agent In Context Messages

GET
/v1/agents/:agent_id/memory/messages

Retrieve the messages in the context of a specific agent.

Path parameters

agent_idstringRequired

Response

Successful Response

roleenum
Allowed values: assistantusertoolfunctionsystem

The role of the participant.

created_by_idstringOptional

The id of the user that made this object.

last_updated_by_idstringOptional

The id of the user that made this object.

created_atdatetimeOptional

The timestamp when the object was created.

updated_atdatetimeOptional

The timestamp when the object was last updated.

idstringOptionalformat: "^message-[a-fA-F0-9]{8}"

The human-friendly ID of the Message

textstringOptional

The text of the message.

agent_idstringOptional

The unique identifier of the agent.

modelstringOptional

The model used to make the function call.

namestringOptional

The name of the participant.

tool_callslist of objectsOptional

The list of tool calls requested.

tool_call_idstringOptional

The id of the tool call.

Errors

Built with