**Source URL:** https://general.veevavault.dev/regulatory/vault-toolbox/vs-code-extension/guides/api-history

# Using API History

Vault Toolbox logs every Vault API call it makes during your current session, so you can troubleshoot a failed action by inspecting the exact request and response. API History clears when you reload the window or restart Visual Studio Code and does not serve as an audit trail.

To view API History:

<Steps>
1.  Select the **Vault Toolbox** icon in the lefthand panel.
2.  Select the **API History** (<Icon name="ph:clock-counter-clockwise" />) tab.
3.  Select a call to expand it and view its full request and response, including headers and body.
    
    <ThemeImage srcLight="/images/toolbox/vscode-extension/api_history_light.png" srcDark="/images/toolbox/vscode-extension/api_history_dark.png" alt="Vault Toolbox Visual Studio Code Extension API History" />
</Steps>

The newest calls appear first, each showing its method, endpoint, and status, with the time, duration, and environment underneath. Vault Toolbox retains the most recent 100 calls and redacts the `Authorization` header and the username and password on login calls.

Many actions elsewhere in Vault Toolbox, such as [deploying MDL](/regulatory/vault-toolbox/vs-code-extension/guides/mdl) or [Vault Java SDK code](/regulatory/vault-toolbox/vs-code-extension/guides/vault-java-sdk-code), show a **View API Call** button on their success or failure notification. Clicking it navigates you to that call's entry in the API History with its information expanded.

## Filtering and Clearing

Use the **Filter calls…** search bar to narrow the list by method, endpoint, status, or environment name. Click (<Icon name="ph:trash" />) **Clear history** to clear the log.

## Opening in a Tab

Click (<Icon name="ph:arrow-square-out" />) **Open in Editor** to relocate the API History into a full editor tab. Your filter and expanded call carry over, and only one copy of the list is active at a time.

---

**Previous:** [Downloading SDK Runtime Logs](/regulatory/vault-toolbox/vs-code-extension/guides/developer-logs/sdk-runtime-logs)  
**Next:** [References](/regulatory/vault-toolbox/vs-code-extension/references)