Skip to content

archive_session

Archive a Polygraph session.

Once archived, no further modifications, new PRs, or status changes can be made.

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.
cleanbooleannoRemove local session worktrees after archiving the session.