# Insights External Services Lenovo Warranty API

*Applies to: Patch My PC Advanced Insights*

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2F3y2gbgIP2IXwGEG1DkiN%2Fimage.png?alt=media&#x26;token=e8634231-8315-4e28-8a9a-f84523914b26" alt=""><figcaption><p>Device Warranty Page</p></figcaption></figure>

Advanced Insights (this is not relevant for Patch Insights)  will display the warranty status of Lenovo devices in the device modal display. We need to provide a warranty API token to be able to get this data.

To apply for a warranty API token you need to request one from your Lenovo account manager.

Once you have successfully obtained your API key log into Advanced Insights and navigate to the Administration area. Go to Settings - External Services and check the "Is Enabled" and "Enable Warranty Caching" option.

Enter the provided Lenovo warranty text for the Lenovo API Client token and click save all.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2F4ENNilsZOiYg8OHFEnzB%2Fimage.png?alt=media&#x26;token=b2de4465-aa6a-492e-8f73-d70fb9d30dcf" alt=""><figcaption><p>External Services Warranty Lenovo API Key</p></figcaption></figure>

You can then navigate to the Warranty dashboard and click the Bulk Processing object in the top left to initiate warranty lookup.


---

# 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.patchmypc.com/patch-my-pc-insights/insights-external-services-lenovo-warranty-api.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.
