---
schema_version: "1"
id: 14a39de4335fcae402fb2efe9f52ab413f71f5ad004976a4b0ec29c3e6e6eb5d
title: Dashboards Examples
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/api_analytics/guides/examples/examples-analytics-rest-api-dashboards-intro.md
canonical_url: https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/examples-analytics-rest-api-dashboards-intro.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c2c806323ab2adb02beaa4e34be95a33bda7acdd756431b271d19ef73aef69a8
products:
  - Salesforce Reports and Dashboards REST API Developer Guide
  - analytics
---

# Dashboards Examples

Learn how to refresh, create, edit, copy, and delete dashboards.

-   **[Get List of Recently Used Dashboards](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/analytics-api-dashboard-get-list.md)**  


    You can get a list of recently used dashboards by using the Dashboard resource.

-   **[Get Dashboard Results](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/analytics-api-dashboard-get-results.md)**  


    You can get dashboard metadata, data, and status by sending a GET request to the Dashboard Results resource.

-   **[Filter Dashboard Results](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/analytics-api-dashboard-filter-results.md)**  


    You can filter dashboard results, status, or refresh requests, by using filter parameters.

-   **[Get Dashboard Status](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/analytics-api-dashboard-get-status.md)**  


    You can get the dashboard status by sending a GET request to the Dashboard Status resource.

-   **[Refresh a Dashboard](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/analytics-api-dashboard-refresh.md)**  


    You can refresh a dashboard by using a PUT Dashboard Results request. Dynamic dashboards can also be refreshed via the REST API.

-   **[Save a Dashboard](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/analytics-api-dashboard-save-dashboard.md)**  


    You can save changes to a dashboard by sending a PATCH request to the Dashboard Results resource.

-   **[Save a Dashboard with a Custom Lightning Web Component (Beta)](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/analytics-api-dashboard-save-lwc-in-dashboard.md)**  


    You can save a dashboard with a custom Lightning web component by sending a PATCH request to the Dashboard Results resource.

-   **[Set a Sticky Dashboard Filter](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/analytics-api-dashboard-set-filter.md)**  


    Set a default filter value which gets applied to a dashboard when you open it. The default filter value you specify only applies to you (other people won’t see it when they open the dashboard). If you change the filter value while viewing the dashboard, then the filter value you set in the user interface overwrites the value you set via the API. To set sticky filters for a dashboard, `canUseStickyFilter` must equal `true`.

-   **[Return Details About Dashboard Components](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/analytics-api-dashboard-example-return-details-about-dashboard-components.md)**  


    Get details about one or more dashboard components using a POST request.

-   **[Get Dashboard Metadata](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/analytics-api-dashboard-example-get-dashboard-metadata.md)**  


    Get details about dashboard metadata using a GET request.

-   **[Clone a Dashboard](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/sforce-analytics-rest-api-clone-dashboard.md)**  


    Creates a copy of a dashboard by sending a POST request to the Dashboard List resource.

-   **[Delete a Dashboard](https://developer.salesforce.com/docs/analytics/salesforce-analytics-rest-api/guide/dashboards/analytics-api-dashboard-delete.md)**  


