---
schema_version: "1"
id: 5d6dc18d72c02fb9afceb8b10dacc6771d1f5d37e07232bb4cc15e558561253f
title: Lens Bundle Resource
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/bi_dev_guide_rest/bi_resources_lenses_id_bundle.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_resources_lenses_id_bundle.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d08b0e97fa04dc0ddf42e36ab9b9feb51a10182e9f92d4f8ce218543a9f15118
description: Returns or updates the lens bundle with the specified ID or API name.
---
# Lens Bundle Resource

Returns or updates the lens bundle with the specified ID or API name.

## Resource URL

/wave/lenses/<lensIdOrApiName>/bundle

## Formats

JSON

## Available Version

43.0

## HTTP Methods

GET PUT

## GET Request Parameters

| Parameter Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| history​Id | ID | Get a bundled lens resource representation for a specific lens history. | Optional | 43.0 |
| is​Update​Mru | Boolean | Indicates whether to retrieve the bundle if the MRU is updated (true) or not (false). | Optional | 58.0 |

## GET Response Body

[Wave Asset Bundle](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_wave_asset_bundle.htm "The Analytics asset bundled with the associated metadata.")

## PUT Request Parameters

| Parameter Name | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| history | [Asset​Revert​History​Input](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_requests_asset_revert_history_input.htm "The Analytics asset history to use for a revert request.") | Revert a lens to a previous historical record. | Required | 45.0 |

## PUT Response Body

[Wave Asset Bundle](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_responses_wave_asset_bundle.htm "The Analytics asset bundled with the associated metadata.")