The result object on success.

interface Task {
    artifacts?: Artifact[];
    contextId: string;
    history?: Message1[];
    id: string;
    kind: "task";
    metadata?: {
        [k: string]: unknown;
    };
    status: TaskStatus;
}

Properties

artifacts?: Artifact[]

Collection of artifacts created by the agent.

contextId: string

Server-generated id for contextual alignment across interactions

history?: Message1[]
id: string

Unique identifier for the task

kind: "task"

Event type

metadata?: {
    [k: string]: unknown;
}

Extension metadata.

Type declaration

  • [k: string]: unknown
status: TaskStatus