OpenAI
Track OpenAI API calls, completions, and agent runs — get notified when something completes, errors, or takes too long.
What This Integration Does
OpenAI can send responses and events from its API usage. NotiLens receives those events and instantly notifies you.
No complex infrastructure required for standard OpenAI API usage.
Why Use NotiLens with OpenAI?
Stop manually checking logs and dashboards. Get only the OpenAI usage and event alerts that matter, delivered instantly to one app.
How to Connect OpenAI with NotiLens
1. Create an OpenAI Integration in the NotiLens App
- Start integrating OpenAI by selecting the OpenAI integration in the NotiLens app.
- Update the Topic and Description if needed (optional).
- Copy the generated Webhook URL.
Sample NotiLens webhook URL:
https://hook.notilens.com/webhook/<topic_id>/send
2. Send Events from Your OpenAI Account
- Open https://platform.openai.com/.
- Go to Settings → Webhooks.
- Click Create, add a name, and paste the webhook URL copied earlier.
-
From Event Types, select the events you want to get notified for
(for example:
batch.completed,response.failed). - Click Create.
- Copy the Secret Key from the popup screen.
3. Configure Your Secret Key (Optional)
- Open the webhook settings in the NotiLens app.
- Edit the Secret Key and paste the copied value.
- Click Update Secret.
- Done.
Using a secret key ensures that only trusted OpenAI-related events are accepted by your NotiLens topic.
After updating the secret key, you can send a test notification from OpenAI by clicking the ✔ icon and selecting an event to confirm everything is working correctly.
Common OpenAI Events
| Event | Description | Use Case |
|---|---|---|
| response.completed | Response successfully generated | Track successful AI outputs |
| response.failed | Response generation failed | Error and reliability monitoring |
| response.created | Response request received | Request activity tracking |
| batch.completed | Batch job finished successfully | Bulk processing alerts |
| batch.failed | Batch job failed | Operational issue detection |
| file.processed | Uploaded file processed | Data pipeline monitoring |