Tela SDK for JavaScript
    Preparing search index...

    Interface Task<TOutput>

    A task as returned by the Tela API.

    interface Task<TOutput = unknown> {
        approvedAt: string | null;
        approvedBy: string | null;
        completionRunId: string | null;
        createdAt: string;
        createdBy: string;
        deletedAt: string | null;
        id: string;
        inputContent: TaskInputContent | null;
        metadata: Record<string, unknown> | null;
        name: string;
        originalOutputContent: TaskOutputContent<TOutput> | null;
        outputContent: TaskOutputContent<TOutput> | null;
        promptApplicationId: string;
        promptVersionId: string;
        rawInput: Record<string, unknown> | null;
        reference?: number | null;
        status: TaskStatus;
        tags: string[];
        updatedAt: string;
        workflowRunId: string | null;
        workspaceId: string;
    }

    Type Parameters

    • TOutput = unknown
    Index

    Properties

    approvedAt: string | null
    approvedBy: string | null
    completionRunId: string | null
    createdAt: string
    createdBy: string
    deletedAt: string | null
    id: string
    inputContent: TaskInputContent | null
    metadata: Record<string, unknown> | null
    name: string
    originalOutputContent: TaskOutputContent<TOutput> | null
    outputContent: TaskOutputContent<TOutput> | null
    promptApplicationId: string
    promptVersionId: string
    rawInput: Record<string, unknown> | null
    reference?: number | null
    status: TaskStatus
    tags: string[]
    updatedAt: string
    workflowRunId: string | null
    workspaceId: string