> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.vapi.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.vapi.ai/_mcp/server.

# API request logs

> Use Vapi API request logs to inspect recorded requests to the Vapi API, review stored request and response details, check status codes, and debug integrations.

The **API** tab shows requests recorded after they reached Vapi's API logging layer, along with their stored request and response details. Use it to investigate logged requests from scripts and integrations.

Requests rejected before request logging, such as some authentication or authorization failures, might not appear. The API tab is therefore not a complete record of every request attempted against the Vapi API.

New to the API? See the [API reference](/api-reference) for endpoints and schemas. See [API keys](/security-and-privacy/api-keys) for creating and scoping keys. This page is about reading the request logs.

## Access API request logs

* **Dashboard:** [Logs → API](https://dashboard.vapi.ai/logs/api)
* **API:** No Logs endpoint. Use the Dashboard to view API request logs.

## The API request list

The API tab lists logged requests, most recent first. Each row shows:

* **Timestamp**: when the request reached Vapi's API logging layer.
* **Resource**: the API resource the request targeted, such as `assistant`, `phone-number`, `tool`, or `squad`.
* **Request duration**: how long Vapi took to respond, in seconds.
* **Request HTTP method**: the method used, such as `GET`, `POST`, `PATCH`, or `DELETE`.
* **Response HTTP code**: how the API responded. A `2xx` code generally indicates success, while a `4xx` or `5xx` code indicates an unsuccessful response. Some endpoints use an expected redirect, such as the `302` returned when downloading call logs.

Use the search box to narrow the visible rows to the resource, method, or response code you are investigating.

API request logging has no separate enable or disable switch, and the assistant's **Logging** setting does not control it. See [Retention and logging configuration](/observability/logs/overview#retention-and-logging-configuration) for availability and compliance behavior.

## Opening an API request log

Select a request to open its details, organized into three tabs:

* **Request**: stored request details, including the method, URL, path, query, selected non-sensitive headers, request body when captured, and timing information. The `Authorization` header and other sensitive headers are excluded. Sensitive body values can be redacted.
* **Response**: the HTTP code and response body when captured.
* **Miscellaneous**: any stored error and the organization ID.

## Debug with API request logs

Reach for the API tab when a request did not do what you expected:

* **A logged request returned an error.** Start with the response **code**. A `400` can indicate an invalid request body, a `404` can indicate a wrong endpoint or resource ID, and a `5xx` indicates a server-side failure. Check the endpoint's [API reference](/api-reference) for its expected schema and responses.
* **A rejected request is not listed.** Authentication, authorization, rate limiting, and routing checks can reject a request before it reaches request logging. Use the response returned to your client, then check your [API key](/security-and-privacy/api-keys), endpoint, and request configuration.
* **Confirm the stored request details.** Compare the method, path, query, selected non-sensitive headers, and captured body against what your code intended to send. The log is a sanitized representation, not an exact copy of the request.
* **Tie a request to a resource.** Use the **Resource** column and the stored request path, query, or body to identify the endpoint and resource involved.

## Related

* Endpoints and schemas: [API reference](/api-reference)
* Creating and scoping keys: [API keys](/security-and-privacy/api-keys)
* What happened on a call: [Call logs](/observability/logs/call-logs)