pub fn record_api_idempotency(key: &str, session_id: &str) -> Result<()>
Remember that an API session-creation key produced this session, so a retry with the same key returns the same session instead of starting another.