- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Hi,
on a R81.20 with web_api 1.9, I'm trying to run run-clish-command command via web_api:
https://xxx.yyy.zzz.www:nnn/web_api/run-clish-command
but I always get the same error:
{
"code": "generic_err_command_not_found",
"message": "Requested API command: [run-clish-command] not found"
}
Web api are enabled, policies are ok: before running the run-clish-command command I correctly execute login command and I use the x-chkp-sid parameter with the sid I get from login command , and I can use other web_api commands with success (for example: add-host or publish).
I get the errors only with run-clish-command and install-policy commands.
Can you help me?
run-clish-command is not a valid API endpoint.
run-script is what you want: https://sc1.checkpoint.com/documents/latest/APIs/#cli/run-script~v1.9%20
Note that this executes commands in expert mode.
If you want to do certain things in clish, you might want to look at the Gaia API instead.
See: https://sc1.checkpoint.com/documents/latest/GaiaAPIs/#introduction~v1.7%20
As for your issue with install-policy, please provide your precise API call along with the result received.
run-clish-command is not a valid API endpoint.
run-script is what you want: https://sc1.checkpoint.com/documents/latest/APIs/#cli/run-script~v1.9%20
Note that this executes commands in expert mode.
If you want to do certain things in clish, you might want to look at the Gaia API instead.
See: https://sc1.checkpoint.com/documents/latest/GaiaAPIs/#introduction~v1.7%20
As for your issue with install-policy, please provide your precise API call along with the result received.
Thank you PhoneBoy,
run-script works like a charm.
Also, to add host objects I'm using Management API web_api/add-host. I'd like to use GAIA API but I can't find any command to add host on the GAIA API Reference link. Am I missing something?
Anything related to the Access Policy must be done through the management API.
The Gaia API is for configuring the device at the operating system level (interfaces, routes, DNS, etc)
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 19 | |
| 16 | |
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY