Skip to main content
mrafat
Staff
Staff
Feb 4, 2026 8:59 AM UTC

Technical Tip: Verify FortiGuard service status of managed FortiGates through FortiManager API

Description

 

This article describes the FortiManager API request that collects the FortiGuard service status of the managed FortiGates.

 

Scope

 

FortiManager.

 

Solution

 

The following is the FortiManager request, which is equivalent to the output of the FortiGate CLI command 'get sys fortiguard-service status'.

 

FGT_CLI.png

 

Request:

 

{
   "id" : "1",
   "method": "exec",
    "params": [ 
        {
            "url": "sys/proxy/json",
            "data": {
                "target": [ "adom/<ADOM-Name>/device/<Device-Name>" ],
                "action": "get",
                "resource": "/api/v2/monitor/license/status"
            } 
        } 
    ],
   "session" : "sessionstring"
}
 
Response:
 
{
"cid": 1,
"id": "1",
"result": [
{
"data": [
{
"response": {
"http_method": "GET",
"results": {
"fortiguard": {
"type": "cloud_service_status",
"supported": true,
"connected": false,
"has_connected": false,
"connection_issue": true,
"update_server_usa": false,
"next_scheduled_update": 1769532382,
"scheduled_updates_enabled": true
},
"forticare": {
"type": "cloud_service_status",
"status": "registered",
"registration_status": "registered",
"registration_supported": true,
"account": "emea_lab@fortilab.net",
"support": {
"enhanced": {
"status": "licensed",
"support_level": "24x7",
"expires": 1794528000
},
,…etc
 

Troubleshooting:

The following commands can be used on the FortiManager CLI to debug the API Calls:

 

diagnose debug service httpd 255

diagnose debug service main 255

diagnose debug enable

 

 

Related article:

 

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024