Make sure that you've enabled logging for your Azure OpenAI resource:
Go to your Azure OpenAI resource in the Azure Portal.
Navigate to Diagnostic Settings.
Create or edit a diagnostic setting:
Check "RequestResponse" under logs.
Send logs to Log Analytics, Application Insights, or Storage Account (choose Log Analytics or App Insights if you want queryable logs).