@adcp/client API Reference - v3.3.3
    Preparing search index...

    Interface NotificationMetadata

    Metadata for agent-initiated notifications Same as WebhookMetadata but includes notification-specific fields

    interface NotificationMetadata {
        operation_id: string;
        context_id?: string;
        task_id?: string;
        agent_id: string;
        task_type: string;
        status?: string;
        error?: string;
        timestamp: string;
        notification_type: "scheduled" | "final" | "delayed";
        sequence_number?: number;
        next_expected_at?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    operation_id: string

    Client-provided operation ID

    context_id?: string

    Server's context ID

    task_id?: string

    Server's task ID

    agent_id: string

    Agent ID

    task_type: string

    Task type/tool name

    status?: string

    Task status (completed, failed, needs_input, working, etc)

    error?: string

    Error message if status is failed

    timestamp: string

    Timestamp

    notification_type: "scheduled" | "final" | "delayed"

    Notification type

    sequence_number?: number

    Sequence number of this notification

    next_expected_at?: string

    When next notification is expected (not present for 'final')