Skip to content

get_session_logs

Retrieve the parent agent transcript for a Polygraph session as JSON.

This tool returns parent transcript entries only and never requests child repository logs. By default it preserves and returns the complete parent transcript; pass tail and/or page only when a paginated response is desired.

NameTypeRequiredDescription
sessionIdstringyesThe Polygraph session ID, or a supported Polygraph app session URL. Supported URL paths are /s/<session-id> and /orgs/<org-id>/sessions/<session-id>. URL inputs are normalized to the session ID; the MCP always uses the current Polygraph API configuration.
tailnumbernoNumber of parent transcript entries per page. Omit both tail and page to return the complete parent transcript.
pagenumberno1-based page of parent transcript entries, where page 1 is newest. Supplying page without tail uses the CLI page size default of 20; omit both for the complete transcript.