openapi: 3.1.0 info: title: ForgeRock Access Management Access Requests Reconciliation 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. version: 7.3.0 contact: name: ForgeRock url: https://www.forgerock.com license: name: Proprietary url: https://www.forgerock.com/terms x-provider: forgerock x-api: access-management servers: - url: https://{deployment}/am description: ForgeRock Access Management server variables: deployment: default: am.example.com description: The AM deployment hostname security: - ssoToken: [] - bearerAuth: [] tags: - name: Reconciliation description: Trigger and manage reconciliation operations paths: /recon/{mappingName}: post: operationId: triggerReconciliation summary: ForgeRock Trigger reconciliation description: Trigger a reconciliation operation for the specified mapping. The mapping defines the source and target systems and the synchronization rules. tags: - Reconciliation parameters: - name: mappingName in: path required: true description: The sync mapping name (e.g., systemLdapAccounts_managedUser) schema: type: string - name: _action in: query required: true description: Must be recon schema: type: string enum: - recon responses: '200': description: Reconciliation initiated content: application/json: schema: $ref: '#/components/schemas/ReconciliationResult' '404': description: Mapping not found content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' /recon: get: operationId: listReconciliations summary: ForgeRock List reconciliation runs description: Query reconciliation run records. Returns details about past and in-progress reconciliation operations. tags: - Reconciliation parameters: - $ref: '#/components/parameters/QueryFilter' - $ref: '#/components/parameters/PageSize' - $ref: '#/components/parameters/SortKeys' responses: '200': description: List of reconciliation records content: application/json: schema: $ref: '#/components/schemas/ReconciliationList' /recon/{reconId}: get: operationId: getReconciliation summary: ForgeRock Get reconciliation details description: Retrieve details about a specific reconciliation run. tags: - Reconciliation parameters: - name: reconId in: path required: true description: The reconciliation run identifier schema: type: string responses: '200': description: Reconciliation details content: application/json: schema: $ref: '#/components/schemas/ReconciliationResult' '404': description: Reconciliation not found content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' components: schemas: ReconciliationList: type: object properties: result: type: array items: $ref: '#/components/schemas/ReconciliationResult' resultCount: type: integer ReconciliationResult: type: object description: Reconciliation run result properties: _id: type: string description: Reconciliation run identifier state: type: string description: Current state enum: - SUCCESS - FAILED - ACTIVE - CANCELED stage: type: string mapping: type: string description: The mapping name started: type: string format: date-time ended: type: string format: date-time progress: type: object properties: source: type: object properties: existing: type: object properties: processed: type: integer total: type: string target: type: object properties: existing: type: object properties: processed: type: integer total: type: string situationSummary: type: object description: Summary of situations found during reconciliation additionalProperties: type: integer statusSummary: type: object description: Summary of action outcomes additionalProperties: type: integer ErrorResponse: type: object description: Standard CREST error response properties: code: type: integer reason: type: string message: type: string parameters: QueryFilter: name: _queryFilter in: query description: CREST query filter expression schema: type: string SortKeys: name: _sortKeys in: query description: Comma-separated sort fields (prefix with - for descending) schema: type: string PageSize: name: _pageSize in: query description: Number of results per page schema: type: integer minimum: 1 securitySchemes: ssoToken: type: apiKey in: header name: iPlanetDirectoryPro description: AM SSO token obtained from authentication bearerAuth: type: http scheme: bearer bearerFormat: JWT description: OAuth 2.0 access token