@Christopher Watford Thanks for your patience. The diagnostic settings in APIM do have special parameters like Data Masking that control how query parameters are logged.
You can mask or hide sensitive query parameters and headers in diagnostic logs. The hide setting will remove an entity, while mask setting will replace it with the word "hidden". Refer to the API endpoint documentation for more details.
do verify and let me know incase of further queries, I would be happy to assist you.