---
title: FapiAuditContext
description: Context for audit information during FAPI interactions.
component: pinggateway
version: 2025.11
page_id: pinggateway:reference:FapiAuditContext
canonical_url: https://docs.pingidentity.com/pinggateway/2025.11/reference/FapiAuditContext.html
revdate: 2025-10-22T14:04:06Z
section_ids:
  properties: Properties
  more_information: More information
---

# FapiAuditContext

Context for audit information during FAPI interactions.

## Properties

The context is named `fapiAudit` and is accessible at `${contexts.fapiAudit}`. The context has the following properties:

* `"apiClient"`: *[ApiClient](../_attachments/apidocs/org/forgerock/openig/fapi/apiclient/ApiClient.html)*

  The `ApiClient`; this is empty for requests unless the request is to an OAuth 2.0 endpoint.

* `"contextualInfo"`: *[map](preface.html#definition-map)*

  Map of custom contextual information about a request. For example, [FapiTokenFilterChain](FapiTokenFilterChain.html) populates the `grant_type` and `scope` keys.

* * `"endUserId"`: *[string](preface.html#definition-string)*
  * `"interactionId"`: *[string](preface.html#definition-string)*

  The FAPI interaction ID or an empty string if not available. The FAPI filter chains populate this value.

## More information

[org.forgerock.openig.fapi.audit.FapiAuditContext](../_attachments/apidocs/org/forgerock/openig/fapi/audit/FapiAuditContext.html)
