The DevXP engineering team hosts office hours every Thursday at 11 a.m.
Pacific Time where we answer your questions live and help you get up and
running with Flatfile. Join
us!
Listing Agents
To view all agents in your environment, use the following command:Downloading Agents
Todownload
command allows you to download a copy of the agent’s source code to your local machine. This is useful when you need to:
- Examine the code of a deployed agent
- Make modifications to an existing agent
- Back up your agent code
- Debug issues with a deployed agent
Use the
list
command to get the slug or id of the agent you want to manage.Delete An Agent
Thedelete
command allows you to remove a deployed agent from your Flatfile environment. This is useful when you no longer need an agent or want to clean up your environment.
To delete an agent, use the following command:
npx flatfile delete <slug>
Options
Option | Description |
---|---|
--slug or -s | The slug of the agent to delete |
--agentId or -ag | The ID of the agent to delete |