# Dashboard Analytics

## Dashboard Analytics Service

APIs for DSS analytics dashboard primarily consists of 2 APIs. The one which is used to get configuration based on which the dashboard is painted. The other one is the API which gets the data needed for the visualization to paint different graphs.

{% openapi src="<https://raw.githubusercontent.com/egovernments/DIGIT-Specs/master/Common%20Services/dashboard-analytics.yaml>" path="/getDashboardConfig/{dashboardId}" method="get" %}
<https://raw.githubusercontent.com/egovernments/DIGIT-Specs/master/Common%20Services/dashboard-analytics.yaml>
{% endopenapi %}

{% openapi src="<https://raw.githubusercontent.com/egovernments/DIGIT-Specs/master/Common%20Services/dashboard-analytics.yaml>" path="/getChartV2" method="post" %}
<https://raw.githubusercontent.com/egovernments/DIGIT-Specs/master/Common%20Services/dashboard-analytics.yaml>
{% endopenapi %}


---

# 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://specs.digit.org/common-service-specs/dashboard-analytics.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.
