> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paperzilla.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I find my project ID for CLI commands?

> Run pz project list to get the Paperzilla project ID you need for feed, search, and project-scoped paper commands.

export const AiAgents = ({path}) => <Tip>
    <b>AI agents</b>: This page is available as <a href={path + '.md'}>markdown</a>. See also the <a href="/llms.txt">docs index</a> and <a href="/llms-full.txt">full docs</a>.
  </Tip>;

<AiAgents path="/answers/how-do-i-find-my-project-id-for-cli-commands" />

Run:

```bash theme={null}
pz project list
```

That prints a table with an `ID` column.

For scripts and AI agents, you can also use:

```bash theme={null}
pz project list --json
```

That returns a compact summary array with `id`, `name`, `mode`, and `visibility`.

Use that ID with project-scoped commands such as:

```bash theme={null}
pz feed <project-id>
pz feed search --project-id <project-id> --query "latent retrieval"
pz paper <paper-id> --project <project-id>
pz feed <project-id> --atom
```

Example flow:

```bash theme={null}
# 1. Find the project ID
pz project list

# 2. Search that project
pz feed search --project-id a1b2c3d4-e5f6-7890-abcd-ef1234567890 --query "proximity graphs"
```

If you want to search by project name instead of copying the ID manually, use the app or an MCP client. The CLI uses the project ID directly.
