-record(retry_event, { endpoint :: binary(), attempt :: integer(), max_attempts :: integer(), delay_ms :: integer(), error :: anthropic@error:anthropic_error(), request_id :: binary() }).