/** * Pipeline node execution tracking — read-only access to per-node execution * status, timing, and output data within pipeline executions. */ import type { RequestOptions } from "../base-client"; import type { RequestBuilder } from "../request-builder"; /** Node execution status */ export type PipelineNodeExecutionStatus = "pending" | "running" | "completed" | "failed" | "skipped"; /** Pipeline node execution response type */ export interface PipelineNodeExecution { id: string; pipeline_execution_id: string; pipeline_node_id: string; node_key: string; node_type: "prompt" | "command" | "connector_exec" | "checkpoint"; phase?: "define" | "plan" | "build" | "verify" | "review" | "ship" | null; status: PipelineNodeExecutionStatus; agent_execution_id?: string | null; input?: Record | null; output?: Record | null; error?: Record | null; tokens_used?: number | null; credits_charged?: string | null; duration_ms?: number | null; started_at?: string | null; completed_at?: string | null; quality_scores?: Record | null; criteria?: Array> | null; inserted_at: string; updated_at: string; } /** * Creates the pipeline node executions namespace with read-only operations. * * @example * ```typescript * const nodeExecs = await admin.pipelineNodeExecutions.listByExecution(executionId); * const nodeExec = await admin.pipelineNodeExecutions.get(nodeExecId); * ``` */ export declare function createPipelineNodeExecutionsNamespace(rb: RequestBuilder): { /** * Get a pipeline node execution by ID. * * @param id - Pipeline node execution UUID * @param options - Request options * @returns The pipeline node execution */ get(id: string, options?: RequestOptions): Promise; /** * List node executions for a pipeline execution. * * @param pipelineExecutionId - Pipeline execution UUID * @param options - Request options * @returns Array of node executions for the pipeline execution */ listByExecution(pipelineExecutionId: string, options?: RequestOptions): Promise; }; //# sourceMappingURL=pipeline-node-executions.d.ts.map