Read an agent's session
get_sessionRead one of an agent's conversation sessions: its status, title, channel, message count, and when it started and last changed. Pass events: true for the transcript, the session's first events up to limit (default 50, at most 200). A transcript holds what users said to the agent and what the agent did, so it may hold personal data and secrets: quote only what the person's question needs, and do not repeat the rest. A session of another agent reads as not found. Requires connecting a Valet account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. The agent's name. | |
| limit | No | With events: the most events to return. Defaults to 50. | |
| events | No | True to include the transcript. Omit for the session's details alone. | |
| session | Yes | Required. The session id, as list_sessions names it. | |
| org_name | No | The Valet organization the agent belongs to. Omit to use the organization the account joined first. |