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

    Interface CheckGovernanceOptions

    interface CheckGovernanceOptions {
        agentUrl: string;
        planId: string;
        caller: string;
        tool?: string;
        payload?: Record<string, unknown>;
        governanceContext?: string;
        purchaseType?: string;
        authToken?: string;
    }
    Index

    Properties

    agentUrl: string

    URL of the governance agent's MCP endpoint.

    planId: string

    Campaign governance plan identifier.

    caller: string

    URL of the agent making the request (your seller agent).

    tool?: string

    The AdCP tool being governed (e.g., 'create_media_buy').

    payload?: Record<string, unknown>

    The full tool arguments as they would be sent to the seller.

    governanceContext?: string

    Opaque governance context from a prior check_governance response.

    purchaseType?: string

    Purchase type for the governance check.

    authToken?: string

    Auth token for the governance agent.