Agents are listeners deployed server-side on Flatfile’s secure cloud.
Commands
The Flatfile CLI provides the following commands:Before You Begin
You can add a.env file to bypass having to enter your API Key when running
the develop command.
Develop
Runnpx flatfile develop from terminal to launch a local listener. As your
code changes, file changes are detected and will be reflected immediately.
- In your terminal, you’ll see a detailed log of each HTTP request made within a listener. It includes the request timing and status, enabling tracking and debugging of HTTP operations.
- A pub/sub stream system will deliver Events with a latency of approximately 10-50ms. This provides a local development experience closely resembling the production environment speed.
- Events that are being processed will be shown, along with their respective handlers. You can then respond to those Events accordingly.