Data minimization is an important design consideration when mitigating the risk of exposing data through API queries. This involves limiting the amount of data returned from an API query to only the data that is required for the task at hand. This reduces the risk of exposing sensitive or confidential data, as well as reducing the risk of data overload. Additionally, data minimization helps to ensure that the API query is not overly complex, which can lead to performance issues.