const result = await c.env.API_RATE_LIMITER.limit({ key: 'some-key' }); { success: true } as defined in the outcome interface:remaining and what the reset time from now will be.limit method only allow to provide a key in the options:cost option (default 1 if not provided) so based on request or request params the count can be dynamically.expand request param to include nested resources, which could be counted as more expensive then.
