-record(api_error, { status :: integer(), details :: list(sendr_scaleway:api_error_detail()) }).