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

    Interface Activity

    Activity event for logging/observability

    interface Activity {
        type:
            | "governance_check"
            | "protocol_request"
            | "protocol_response"
            | "status_change"
            | "webhook_received"
            | "webhook_duplicate"
            | "governance_outcome";
        operation_id: string;
        agent_id: string;
        context_id?: string;
        task_id?: string;
        task_type: string;
        status?: string;
        payload?: any;
        idempotency_key?: string;
        timestamp: string;
    }
    Index

    Properties

    type:
        | "governance_check"
        | "protocol_request"
        | "protocol_response"
        | "status_change"
        | "webhook_received"
        | "webhook_duplicate"
        | "governance_outcome"
    operation_id: string
    agent_id: string
    context_id?: string
    task_id?: string
    task_type: string
    status?: string
    payload?: any

    Full AdCP response payload. Populated on webhook_received and protocol/status events. INTENTIONALLY omitted on webhook_duplicate to avoid re-logging potentially-sensitive data on every retry — the originating webhook_received event already carries it. Correlate the two via idempotency_key.

    idempotency_key?: string

    Webhook idempotency key when available. Present on webhook_received and webhook_duplicate events from MCP envelopes, enabling correlation between a first delivery and its retry echoes.

    timestamp: string