@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Function supportsExperimentalFeature

    • Check if the agent has opted into a specific experimental AdCP surface.

      Experimental surfaces carry x-status: experimental in the spec and their fields may change between minor releases. Consumers should gate any reliance on experimental fields on a positive check here.

      Parameters

      • capabilities: AdcpCapabilities

        — normalized capabilities from parseCapabilitiesResponse

      • featureId: string

        — dot-namespaced id (e.g. brand.rights_lifecycle)

      Returns boolean

      if (supportsExperimentalFeature(caps, 'brand.rights_lifecycle')) {
      // safe to call acquire_rights / release_rights and read their responses
      }