---
title: amp projects
description: "Reference for amp projects list and api-keys get, which list the projects your credential can access and retrieve a project's ingestion API key."
product: general
lang: en
last_updated: 2026-11-18
token_estimate: 441
---
# amp projects

`amp projects` lists the projects your active credential can access and retrieves a project's ingestion API key. Both commands require the `projects:read` scope.

## `amp projects list`

Returns projects visible to the authenticated principal.

> 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 projects list --limit 10
```

| Flag | Type | Required | Description |
| --- | --- | --- | --- |
| `--cursor` | string | No | Opaque cursor from `pagination.next_cursor` on the previous response. Numeric offsets are capped by the underlying search index (10,000 results per query). Well-formed pagination stops before that window; requests whose cursor would exceed it return 400 `pagination_not_supported`. Alias: `--next-cursor`. |
| `--limit` | integer | No | Number of items to return. Defaults to 50, max 200. |
| `--sort` | string | No | Sort field. Prefix with `-` for descending. Supported values are `updated_at` and `name`. |
| `--q` | string | No | Full-text search query. Alias: `--query`. |

Requires the `projects:read` scope.

## `amp projects api-keys get`

Provides the API key for a project. A project ID is required when the organization has more than one project.

Retrieves a project's primary ingestion API key.

```bash
amp projects api-keys get --project <project_id>
```

| Flag | Type | Required | Description |
| --- | --- | --- | --- |
| `--project` | string | No | The project ID. Required when the organization has more than one project. Alias: `--project-id`. |
| `--raw` | boolean | No | Print only the ingestion API key. Cannot be combined with --json. |

Requires the `projects:read` scope.

