---
title: wpe context get
description: Get the account context for the WP Engine Headless CLI.
url: https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/context/get/
image: https://developers.wpengine.com/og/docs/headless-platform/reference/cli/wpe/context/get.png
---

# wpe context get

## Description

Get the account context for the WP Engine Headless CLI.

## Usage

Terminal window

```bash
$ wpe context get [OPTIONS]
```

## Extended Description

The `wpe context get` command will print the current account context that the WP Engine Headless CLI is using to deploy applications.

## Options

```
--help, -h    Help for get
```

## Examples

Terminal window

```bash
$ wpe context get
```

The above command will print something similar to the following:

```text
ACCOUNT
myaccount
```

## Was this helpful?

Thanks for the feedback!

```json
{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://developers.wpengine.com/#website","name":"WP Engine Product Documentation","url":"https://developers.wpengine.com/","description":"Resources for developing, deploying, and scaling on WP Engine.","inLanguage":"en-US","keywords":["API documentation","product documentation","headless WordPress","managed WordPress hosting"],"publisher":{"@id":"https://wpengine.com/#organization"}},{"@type":"Organization","@id":"https://wpengine.com/#organization","name":"WP Engine","url":"https://wpengine.com/"},{"@type":"TechArticle","@id":"https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/context/get/#article","mainEntityOfPage":{"@type":"WebPage","@id":"https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/context/get/"},"headline":"wpe context get","description":"Get the account context for the WP Engine Headless CLI.","author":{"@id":"https://wpengine.com/#organization"},"publisher":{"@id":"https://wpengine.com/#organization"},"dateModified":"2024-08-09","inLanguage":"en-US","isPartOf":{"@id":"https://developers.wpengine.com/#website"}},{"@type":"BreadcrumbList","@id":"https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/context/get/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"WP Engine Product Documentation","item":"https://developers.wpengine.com/"},{"@type":"ListItem","position":2,"name":"Headless","item":"https://developers.wpengine.com/docs/headless-platform/"},{"@type":"ListItem","position":3,"name":"wpe context get","item":"https://developers.wpengine.com/docs/headless-platform/reference/cli/wpe/context/get/"}]}]}
```
