Tela SDK for JavaScript
    Preparing search index...

    Type Alias AsyncCompletionCreateResult

    type AsyncCompletionCreateResult = {
        compatibilityDate: string;
        createdAt: string;
        credits_used: number;
        deletedAt: any;
        id: string;
        inputContent: {
            files: any[];
            messages: any[];
            variables: Record<string, unknown>;
        };
        metadata: {
            promptVersion: {
                modelConfigurations: {
                    model: string;
                    structuredOutput: {
                        enabled: boolean;
                        schema: {
                            description: string;
                            properties: {
                                clickbaitMessages: {
                                    description: string;
                                    id: string;
                                    items: { id: string; type: string };
                                    type: string;
                                };
                            };
                            required: string[];
                            title: string;
                            type: string;
                        };
                    };
                    temperature: number;
                    type: string;
                };
                variablesDefinitions: { name: string; required: boolean; type: string }[];
            };
        }[];
        outputContent: null;
        promptApplicationId: string;
        promptId: string;
        promptVersionId: string;
        rawInput: {
            async: boolean;
            canvas_id: string;
            variables: Record<string, unknown>;
        };
        rawOutput: any;
        status: ExecutionStatus;
        updatedAt: string;
        workspaceId: string;
    }
    Index

    Properties

    compatibilityDate: string
    createdAt: string
    credits_used: number
    deletedAt: any
    id: string
    inputContent: {
        files: any[];
        messages: any[];
        variables: Record<string, unknown>;
    }
    metadata: {
        promptVersion: {
            modelConfigurations: {
                model: string;
                structuredOutput: {
                    enabled: boolean;
                    schema: {
                        description: string;
                        properties: {
                            clickbaitMessages: {
                                description: string;
                                id: string;
                                items: { id: string; type: string };
                                type: string;
                            };
                        };
                        required: string[];
                        title: string;
                        type: string;
                    };
                };
                temperature: number;
                type: string;
            };
            variablesDefinitions: { name: string; required: boolean; type: string }[];
        };
    }[]
    outputContent: null
    promptApplicationId: string
    promptId: string
    promptVersionId: string
    rawInput: {
        async: boolean;
        canvas_id: string;
        variables: Record<string, unknown>;
    }
    rawOutput: any
    updatedAt: string
    workspaceId: string