I have 2 different projects in the dashboard, they...
# ask-ai
a
I have 2 different projects in the dashboard, they have different URL. When I do lk project list in the CLI, I only see API keys for the same project uRL
t
Thanks for reaching out, Anne. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! The LiveKit CLI command
lk project list
is meant to show you all the projects you've set up, including their names, URLs, and API keys. If you’re only seeing API keys for one project, don’t worry—it might be because of a couple of reasons: • Only One Project Configured: It’s possible you’ve only added one project to your CLI setup. The CLI keeps track of projects in
~/.livekit/cli-config.yaml
, and only projects added via
lk project add
or
lk cloud auth
will show up here. • Configuration File Location: If you’ve used different ways to authenticate or set things up, some projects might not be saved in that main config file. Here’s what you can do to fix this: 1. Take a peek at your config file with:
cat ~/.livekit/cli-config.yaml
2. Add more projects by running:
lk project add --api-key <key> --api-secret <secret> <project_name>
3. Use cloud authentication to connect multiple projects:
lk cloud auth
4. Try listing projects with JSON output for extra details:
lk project list --json
If you’re still having trouble or have any questions, just let me know—I’m here to help! Sources: cmd/lk/agent.go