# AI 网关日志

日志提供了所有 AI 网关 API 调用的**请求级详细记录**，便于对单个请求及失败情况进行深入排查。

日志旨在帮助你监控 API 活动、诊断问题并审计使用行为。你可以下载日志以查看完整的请求详情。

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

#### 常见使用场景

日志在以下场景中尤为有用：

* 调试失败或返回结果异常的 API 请求
* 排查请求延迟或超时问题
* 跟踪不同模型提供方的可用性与稳定性
* 支持内部审计与合规性检查


---

# 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/cn/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.
