> For the complete documentation index, see [llms.txt](https://wiki.crosswatch.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.crosswatch.app/crosswatch/advanced-and-api/api-reference/data-insights-and-tools.md).

# Data, insights, and tools

Use these endpoints to inspect and manage CrossWatch data.

### Status and insights

| Endpoint group                    | Purpose                                                 |
| --------------------------------- | ------------------------------------------------------- |
| `/api/dashboard/widgets`          | Dashboard widget data.                                  |
| `/api/insights`                   | Aggregated insights.                                    |
| `/api/stats` and `/api/stats/raw` | Calculated and raw statistics.                          |
| `/api/state/wall`                 | Provider state wall.                                    |
| `/api/activity/*`                 | Recent activity and searchable history.                 |
| `/api/events/*`                   | Event search, groups, acknowledgement, and correlation. |

### Metadata and media data

| Endpoint group              | Purpose                                         |
| --------------------------- | ----------------------------------------------- |
| `/api/metadata/*`           | Search, resolve, and bulk-resolve metadata.     |
| `/art/tmdb/{typ}/{tmdb_id}` | Resolve or proxy TMDb artwork.                  |
| `/api/watchlist/*`          | Read and delete consolidated watchlist entries. |
| `/api/playback_progress/*`  | Read and update resumable playback items.       |
| `/api/manual/*`             | Apply watched, watchlist, and rating actions.   |

### Tools

| Endpoint group     | Purpose                                               |
| ------------------ | ----------------------------------------------------- |
| `/api/playlists/*` | Configure playlist endpoints, rulesets, and mappings. |
| `/api/editor/*`    | Load, edit, import, and export local datasets.        |
| `/api/analyzer/*`  | Diagnose state and apply supported fixes.             |
| `/api/export/*`    | Read export options, preview rows, and download CSV.  |

Several actions can produce mixed provider results. Check every result entry, not only the HTTP status.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.crosswatch.app/crosswatch/advanced-and-api/api-reference/data-insights-and-tools.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
