---
title: getActivePages
slug: performance-edge/api/getactivepages
docTags: 
createdAt: 2026-06-23T07:45:06.559Z
---

Describe pages active on the page, indexed by page ID. It also includes descriptions for URL-targeted experiments.

```javascript
window.optimizelyEdge.get('state').getActivePages()
> {'123': {id: '123', name: 'Landing Page'}, ...}
```

## Parameters

None

## Returns

An object mapping page ID (key) to page object (see below)

| Parameter        | Type   | Description             |
| ---------------- | ------ | ----------------------- |
| **page**         | object | Description of the page |
| **page.id**      | string | ID of the page          |
| **page.apiName** | string | API name of the page    |

