Send a Message
Send a message to a Chatbot, Chatflow, Agent, or Text Generator app by passing it as a positional argument todifyctl run app. The reply prints to stdout.
Run a Workflow
Pass the inputs as a single JSON object with--inputs instead of a positional message. The outputs print to stdout as JSON.
Find Your Apps
List the apps in your active workspace withdifyctl get app. Narrow the list with --name or --mode.
Stream a Long Response
Add--stream to print the response as it’s generated instead of all at once at the end.
Continue a Conversation
Copy the conversation ID from the hint that follows each Chatbot or Chatflow reply, then pass it back with--conversation to continue the same conversation.
Get JSON Output for Scripts
Add-o json to any command to get the raw response as pipe-friendly JSON.
Switch Your Workspace
Change your active workspace withdifyctl use workspace. List available workspaces with get workspace.
Inspect an App’s Inputs
Before running an unfamiliar app, check its app type and input schema withdifyctl describe app: names, types, and which inputs are required.