# AI Gateway - View the user agent of requests in AI Gateway logs

Publisher-attributed story with a reviewed brief or permitted publisher paragraph. The original publisher is responsible for the linked reporting.

- Publisher: Cloudflare Developers
- Category: AI
- Original publication time: 2026-06-12T00:00:00Z
- First observed by NexusTechWire: 2026-10-01T15:54:34Z
- Original source: https://developers.cloudflare.com/changelog/post/2026-06-12-user-agent-logging/
- NexusTechWire record: https://nexustechwire.com/news/news-1bba53d60f46719bfc7c

## From the publisher

AI Gateway logs now capture the user agent of the client that made each request, making it easier to identify which SDK, library, or application sent the traffic flowing through your gateway. For example, you can tell apart requests coming from openai-python versus a custom application or a Cloudflare Worker. The user agent appears alongside the other details in each log entry, and you can filter logs by user agent (equals, does not equal, or contains) in the dashboard. For more information, refer to Logging.

Source license: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Publisher excerpt shortened and converted to plain text. Original source license applies.

Read the full original: [Cloudflare Developers](https://developers.cloudflare.com/changelog/post/2026-06-12-user-agent-logging/)

This record does not reproduce the complete article or represent independent confirmation of every source claim.
