# AI Gateway Logs

Logs provide detailed, request-level records for all AI Gateway API calls, enabling deeper inspection of individual requests and failures.

Logs are designed to help you monitor API activity, diagnose issues, and audit usage behavior. You can download logs to view details.

<div align="left" data-with-frame="true"><figure><img src="/files/ms806z6CJpeEOfa1e6Iv" alt=""><figcaption></figcaption></figure></div>

### Common Use Cases

Logs are especially useful for:

* Debugging failed or unexpected API responses
* Investigating latency or timeout issues
* Tracking provider availability and reliability
* Supporting internal auditing and compliance reviews


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/ai-gateway/ai-gateway-logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
