Logging and Auditing
AISIX Cloud gives operators two evidence trails: request logs for managed gateway traffic and an audit log for Cloud state changes. Together, they help teams understand what happened to a request and who changed the resources that affect traffic.
Use request logs when the question is about a specific managed gateway request. Use the audit log when the question is about a configuration change, access change, or other Cloud action.
Request Logs
Request logs are built from managed gateway telemetry. They show individual request outcomes, including request time, status, requested model, caller API key, latency, token counts, and attempt details when available.

Freshly completed requests can take a few seconds to appear because data planes flush telemetry in batches.
Start with request logs when you need to verify a live request, inspect an upstream error, confirm a policy rejection, or check how routing and failover resolved a request.
Audit Log
The audit log records Cloud state changes for compliance review and operational investigation. It shows who created, updated, or deleted resources such as environments, models, API keys, provider keys, budgets, policies, and admin tokens.
Use the audit log when traffic behavior changes after a configuration update. Request logs can show the request outcome, while the audit log can show whether a Cloud resource changed before that outcome.
Audit log access is restricted to organization owners and admins in AISIX Cloud.
Investigate a Request Outcome
Send the request through the managed gateway endpoint with a caller API key and model alias that belong to the same environment as the gateway.
After the request completes, check request logs for a matching request time, status, requested model, and caller API key. If the request used routing or failover, inspect the resolved model or attempt details when they are available.
An upstream authentication, quota, or provider-side error can still prove that the managed gateway path is working. In this case, the request reached AISIX. AISIX selected the configured model and provider key, then the upstream provider returned an error.
Do not treat a provider error as a resource-projection failure unless the log shows the wrong model, provider key, or environment.