{
  "info": {
    "_postman_id": "c2cdf09c-e6d0-424c-9bcb-ad0735647771",
    "name": "ForgeRock Access Management Access Requests Rules API",
    "description": "REST API for ForgeRock Access Management (AM) providing authentication, authorization, session management, and policy evaluation. Supports OAuth 2.0 and OpenID Connect flows, authentication trees/journeys, policy-based authorization decisions, and realm management.\n\nContact Support:\n Name: ForgeRock",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:42:16.000Z",
    "updatedAt": "2026-07-28T01:42:16.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-c2cdf09c-e6d0-424c-9bcb-ad0735647771"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "rules",
          "item": [
            {
              "name": "{ruleId}",
              "item": [
                {
                  "name": "ForgeRock Get a rule",
                  "id": "5c2f4fb3-21d0-45ae-8995-042f2dd0396b",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/api/rules/:ruleId",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "api",
                        "rules",
                        ":ruleId"
                      ],
                      "variable": [
                        {
                          "id": "4116da19-982a-4285-8f18-dd058e52c7aa",
                          "key": "ruleId",
                          "value": "<string>",
                          "description": "(Required) The rule identifier"
                        }
                      ]
                    },
                    "description": "Retrieve details of a specific assignment rule."
                  },
                  "response": [
                    {
                      "id": "774b7500-0b09-47b1-8d4f-e2cbae6592c5",
                      "name": "Rule details",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "iPlanetDirectoryPro",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/rules/:ruleId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "rules",
                            ":ruleId"
                          ],
                          "variable": [
                            {
                              "key": "ruleId"
                            }
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"id\": \"<string>\",\n  \"entitlement\": \"<string>\",\n  \"application\": \"<string>\",\n  \"conditions\": [\n    {\n      \"attribute\": \"<string>\",\n      \"operator\": \"equals\",\n      \"value\": \"<string>\"\n    },\n    {\n      \"attribute\": \"<string>\",\n      \"operator\": \"startsWith\",\n      \"value\": \"<string>\"\n    }\n  ],\n  \"confidenceScore\": \"<number>\",\n  \"coverageCount\": \"<integer>\"\n}",
                      "createdAt": "2026-07-28T01:42:16.000Z",
                      "updatedAt": "2026-07-28T01:42:16.000Z",
                      "uid": "35240-774b7500-0b09-47b1-8d4f-e2cbae6592c5"
                    },
                    {
                      "id": "2ba557e4-a6bd-42c9-ad1b-a78b58e33a08",
                      "name": "Rule not found",
                      "originalRequest": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          },
                          {
                            "description": "Added as a part of security scheme: apikey",
                            "key": "iPlanetDirectoryPro",
                            "value": "<API Key>"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/rules/:ruleId",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "rules",
                            ":ruleId"
                          ],
                          "variable": [
                            {
                              "key": "ruleId"
                            }
                          ]
                        }
                      },
                      "status": "Not Found",
                      "code": 404,
                      "_postman_previewlanguage": "json",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "application/json"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"code\": \"<integer>\",\n  \"reason\": \"<string>\",\n  \"message\": \"<string>\"\n}",
                      "createdAt": "2026-07-28T01:42:16.000Z",
                      "updatedAt": "2026-07-28T01:42:16.000Z",
                      "uid": "35240-2ba557e4-a6bd-42c9-ad1b-a78b58e33a08"
                    }
                  ],
                  "createdAt": "2026-07-28T01:42:16.000Z",
                  "updatedAt": "2026-07-28T01:42:16.000Z",
                  "uid": "35240-5c2f4fb3-21d0-45ae-8995-042f2dd0396b"
                }
              ],
              "id": "1f7ac57c-d352-4a16-ad52-c94f257ee68b",
              "createdAt": "2026-07-28T01:42:16.000Z",
              "updatedAt": "2026-07-28T01:42:16.000Z",
              "uid": "35240-1f7ac57c-d352-4a16-ad52-c94f257ee68b"
            },
            {
              "name": "ForgeRock List assignment rules",
              "id": "eb27d027-b758-4d1d-8bd8-141eb12f3753",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/api/rules?maxResults=25&offset=0&entitlement=<string>&application=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "api",
                    "rules"
                  ],
                  "query": [
                    {
                      "description": "Maximum number of results to return",
                      "key": "maxResults",
                      "value": "25"
                    },
                    {
                      "description": "Offset for pagination",
                      "key": "offset",
                      "value": "0"
                    },
                    {
                      "description": "Filter by entitlement name",
                      "key": "entitlement",
                      "value": "<string>"
                    },
                    {
                      "description": "Filter by application name",
                      "key": "application",
                      "value": "<string>"
                    }
                  ]
                },
                "description": "Query entitlement assignment rules derived from the AI model. Rules explain why specific entitlements are assigned based on user attribute combinations."
              },
              "response": [
                {
                  "id": "ad4528b3-5f9e-4f5a-8e64-a5c1f8de0cd4",
                  "name": "List of rules",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "iPlanetDirectoryPro",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/api/rules?maxResults=25&offset=0&entitlement=<string>&application=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "api",
                        "rules"
                      ],
                      "query": [
                        {
                          "description": "Maximum number of results to return",
                          "key": "maxResults",
                          "value": "25"
                        },
                        {
                          "description": "Offset for pagination",
                          "key": "offset",
                          "value": "0"
                        },
                        {
                          "description": "Filter by entitlement name",
                          "key": "entitlement",
                          "value": "<string>"
                        },
                        {
                          "description": "Filter by application name",
                          "key": "application",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"result\": [\n    {\n      \"id\": \"<string>\",\n      \"entitlement\": \"<string>\",\n      \"application\": \"<string>\",\n      \"conditions\": [\n        {\n          \"attribute\": \"<string>\",\n          \"operator\": \"equals\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"attribute\": \"<string>\",\n          \"operator\": \"startsWith\",\n          \"value\": \"<string>\"\n        }\n      ],\n      \"confidenceScore\": \"<number>\",\n      \"coverageCount\": \"<integer>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"entitlement\": \"<string>\",\n      \"application\": \"<string>\",\n      \"conditions\": [\n        {\n          \"attribute\": \"<string>\",\n          \"operator\": \"contains\",\n          \"value\": \"<string>\"\n        },\n        {\n          \"attribute\": \"<string>\",\n          \"operator\": \"startsWith\",\n          \"value\": \"<string>\"\n        }\n      ],\n      \"confidenceScore\": \"<number>\",\n      \"coverageCount\": \"<integer>\"\n    }\n  ],\n  \"totalResults\": \"<integer>\"\n}",
                  "createdAt": "2026-07-28T01:42:16.000Z",
                  "updatedAt": "2026-07-28T01:42:16.000Z",
                  "uid": "35240-ad4528b3-5f9e-4f5a-8e64-a5c1f8de0cd4"
                }
              ],
              "createdAt": "2026-07-28T01:42:16.000Z",
              "updatedAt": "2026-07-28T01:42:16.000Z",
              "uid": "35240-eb27d027-b758-4d1d-8bd8-141eb12f3753"
            }
          ],
          "id": "c47f7427-bc08-45f5-9b4b-e5959945ec50",
          "createdAt": "2026-07-28T01:42:16.000Z",
          "updatedAt": "2026-07-28T01:42:16.000Z",
          "uid": "35240-c47f7427-bc08-45f5-9b4b-e5959945ec50"
        }
      ],
      "id": "9d9e26fd-d4af-49cf-bd09-1f44b5dc44d4",
      "createdAt": "2026-07-28T01:42:16.000Z",
      "updatedAt": "2026-07-28T01:42:16.000Z",
      "uid": "35240-9d9e26fd-d4af-49cf-bd09-1f44b5dc44d4"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "iPlanetDirectoryPro",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "deployment",
      "value": "am.example.com"
    },
    {
      "key": "baseUrl",
      "value": "https://{{deployment}}/am"
    }
  ]
}