> For the complete documentation index, see [llms.txt](https://docs.patchmypc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patchmypc.com/patch-my-pc-insights/insights-external-services-lenovo-warranty-api.md).

# 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&amp;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%2FX8Ws9UlZySMmChRr8k6K%2F5.jpg?alt=media&amp;token=0fbeae63-1c65-475a-8d56-2f3db00c47c3" alt="External Services Warranty Lenovo API Key"><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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.patchmypc.com/patch-my-pc-insights/insights-external-services-lenovo-warranty-api.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
