---
title: amp context
description: "Reference for amp context, which resolves the active credential and reports the organization it authenticates against."
product: general
token_estimate: 198
---
# amp context

> For AI agents: a documentation index is available at [/docs/llms.txt](/docs/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

`amp context` resolves the active credential and reports the authenticated organization.

```bash
amp context
```

In an interactive terminal, `amp context` prints a human-readable summary. Pipe the output to a file or another command, or pass `--json`, to get raw API JSON instead.

`amp context` requires the `projects:read` scope. If it fails with a scope error, go to [Authentication](https://amplitude.com/docs/developers/cli/authentication#required-scopes) to confirm your credential's scopes, or [Troubleshooting](https://amplitude.com/docs/developers/cli/troubleshooting) for other credential issues.

