Open Policy Agent TypeScript Packages
    Preparing search index...

    Hierarchy

    • ClientSDK
      • OpaApiClient
    Index

    Constructors

    Properties

    _baseURL: null | URL
    _options: SDKOptions & { hooks?: SDKHooks }

    Methods

    • Verify the server is operational

      Parameters

      • Optionalbundles: boolean
      • Optionalplugins: boolean
      • OptionalexcludePlugin: string[]
      • Optionaloptions: RequestOptions

      Returns Promise<HealthResponse>

      The health API endpoint executes a simple built-in policy query to verify that the server is operational. Optionally it can account for bundle activation as well (useful for “ready” checks at startup).