---
title: State
slug: performance-edge/api/state
createdAt: 2026-06-23T07:42:57.393Z
---

The "state" module provides functions for querying the current state of project entities (primarily for QA and integration purposes). You can use the State APIs as soon as the microsnippet loads (anytime after the script tag that invokes the Edge Decider).

```javascript
let state = window.optimizelyEdge.get('state');
```

