Interface Thread<ValuesType>

interface Thread<ValuesType> {
    created_at: string;
    interrupts: Record<string, Interrupt<unknown>[]>;
    metadata: Metadata;
    status: ThreadStatus;
    thread_id: string;
    updated_at: string;
    values: ValuesType;
}

Type Parameters

Properties

created_at: string

The time the thread was created.

interrupts: Record<string, Interrupt<unknown>[]>

Interrupts which were thrown in this thread

metadata: Metadata

The thread metadata.

status: ThreadStatus

The status of the thread

thread_id: string

The ID of the thread.

updated_at: string

The last time the thread was updated.

values: ValuesType

The current state of the thread.