Longbridge OpenAPI SDK
    Preparing search index...

    Interface SubagentFinishedPayload

    Payload of a subagent_finished stream event

    interface SubagentFinishedPayload {
        nodeId: string;
        toolUseId: string;
        status: string;
        startedAt: number;
        elapsedTime: number;
        error: string;
        outputs: SubagentOutputs;
    }
    Index
    nodeId: string

    ID of the node that spawned the subagent

    toolUseId: string

    Matches the toolUseId of SubagentStarted

    status: string

    succeeded / failed

    startedAt: number

    Start time, Unix timestamp in seconds

    elapsedTime: number

    Total subagent duration in seconds

    error: string

    Error description on failure

    Subagent result: goal, result, and the timeline of tool calls it made