ART Framework API Docs
    Preparing search index...

    Interface A2ATaskResult

    Represents the result of an A2A task execution.

    A2ATaskResult

    interface A2ATaskResult {
        data?: any;
        durationMs?: number;
        error?: string;
        metadata?: {
            sources?: { sourceName: string; url?: string; [key: string]: any }[];
            [key: string]: any;
        };
        success: boolean;
    }
    Index

    Properties

    data?: any

    The data returned by the task execution.

    durationMs?: number

    Execution duration in milliseconds.

    error?: string

    Error message if the task failed.

    metadata?: {
        sources?: { sourceName: string; url?: string; [key: string]: any }[];
        [key: string]: any;
    }

    Additional metadata about the execution.

    success: boolean

    Whether the task execution was successful.