costData is an object containing cost and rate limit data. Its structure is documented in the CostEndpointResponse type definition. For an example of how to use this plugin, checkout the example ...