> Source: [sk166217](https://support.checkpoint.com/results/sk/sk166217)

# sk166217 - Management API "show gateways-and-servers details-level full" does not show policy installation information

| Property | Value |
|----------|-------|
| Solution ID | sk166217 |
| Date Created | 2020-04-07 |
| Last Modified | 2022-09-15 |
| Technical Level | General |
| Products | Security Management Server, Multi-Domain Security Management Server |
| Versions | R81.10 (EOS), R81 (EOS), R81 (EOS), R81.10 (EOS) |
| OS | Gaia |

## Symptoms

- * The output of these API queries does **not** contain information about policy installation (Access Control and Threat Prevention), specifically installation date and policy name:

  `mgmt_cli -r true -d [<IP Address of Domain>] login enter-last-published-session true > /var/tmp/sid.txt`

  `mgmt_cli -s /var/tmp/sid.txt show gateways-and-servers details-level full`
* The output of this API query contains the information about policy installation:

  `mgmt_cli -r true -d [<IP Address of Domain>] show gateways-and-servers details-level full`
* This issue might also occur when running these API calls using other API tools (Web Services, SmartConsole CLI, Gaia CLI).

## Cause

By design, when you enter the last published session with the Management API, the output does not show these details:

* Access Policy Installed (Boolean)
* Access Policy Name (String)
* Access Policy Installation Date (Object)
* Threat Policy Installed (Boolean)
* Threat Policy Name (String)
* Threat Policy Installation Date (Object)

Note - Depending on the number of configured Security Gateway objects, the total amount of returned data might exceed the API limit.

## Solution

To get these details about policies, do **not** use the "`enter-last-published-session`" parameter in the Management API.

For more information, see the [Management API Reference](https://sc1.checkpoint.com/documents/latest/APIs/index.html#introduction).

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
