---
title: amp context
description: "Reference for amp context, which resolves the active credential and reports the authenticated organization."
product: general
lang: en
last_updated: 2026-11-18
token_estimate: 172
---
# amp context

`amp context` resolves the active credential and reports the authenticated organization. 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.

## `amp context`

Returns the authenticated principal and organization 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`.

```bash
amp context
```

Requires the `projects:read` scope.

