---
title: "Returns a list of dateranges for the user"
method: GET
path: "/dateranges"
tags: ["dateranges"]
---

# Returns a list of dateranges for the user

`GET /dateranges`

This API allows users to store commonly used date ranges so that they can be reused throughout the product.

## Query parameters

- `locale` string
- `filterByIds` string
- `limit` integer
- `page` integer
- `expansion` string[]
- `includeType` string[]

## Response `200`

successful operation

- AnalyticsDateRange
  - `id` string — System generated id
  - `name` string
  - `description` string
  - `rsid` string — The report suite id for which the component was created/updated
  - `reportSuiteName` string — The report suite name for which the component was created/updated
  - `owner` Owner
    - `id` integer, required — the login id of the owner
    - `name` string — the friendly full login name of the owner, included when the expansion parameter ownerFullName is true
    - `login` string — the friendly full login name of the owner, included when the expansion parameter ownerFullName is true
  - `definition` object
  - `tags` Tag[]
    - `id` integer — the tag id
    - `name` string — the tag name
    - `description` string — the tag description
    - `components` TaggedComponent[] — the list of components that have been tagged with this tag
      - `componentType` string
      - `componentId` string
      - `tags` Tag[]
  - `siteTitle` string
  - `modified` string, date-time
  - `created` string, date-time

## Changes

- **2022-05-10** `dcd4514630c4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/adobe/apis/adobe-analytics-apis/changes/dateranges/get.md)

---

[API](https://skmtc.dev/adobe/apis/adobe-analytics-apis.md) · [All operations](https://skmtc.dev/adobe/apis/adobe-analytics-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adobe/adobe-analytics-apis/revisions/dcd4514630c4/schema)
