Usage
Flags
Examples
Run and poll separately (recommended)
Run with wait
Input from file
With custom timeout
Output
Sync providers
For sync providers, the result is returned immediately — no polling needed:Async providers
For async providers, the run starts in the background. Poll withmonid runs get or use --wait:
--wait, the CLI polls automatically until the run completes:
Provider errors
If the provider returned an error, the run still showsStatus: COMPLETED (the run itself finished) but the Response line shows the provider’s HTTP status:
Infrastructure errors
If Monid itself failed to execute the run, the status isFAILED:
Status vs Provider HTTP Status
Every completed run has two independent indicators:Status: COMPLETED+Response: HTTP 200= success, data returnedStatus: COMPLETED+Response: HTTP 404= run finished, but provider found no dataStatus: COMPLETED+Response: HTTP 500= run finished, but provider had an errorStatus: FAILED= infrastructure error (our fault), no provider response
Next Steps
monid runs get— Check run status and retrieve resultsmonid inspect— Verify input schema before running