v2
latestOpenAPI 3.1.02026-08-05267431678.1 KBopenai-compat
Codex Session Savings
Return cumulative routing savings for one Codex session.
Args: session_id: Codex session id (the request prompt_cache_key). auth: Authenticated request context; the billing team it resolves is applied as the read scope so sessions are not cross-team readable.
Returns: Cumulative savings for the session, or a found=False payload when nothing has accumulated.
get/v1/codex/session-savings/{session_id}
Path parameters
session_idstring required
Response
Successful Response