import type * as Extend from "../index"; export interface WorkflowRunSummary { /** The type of object. In this case, it will always be `"workflow_run"`. */ object: "workflow_run"; /** * The ID of the workflow run. * * Example: `"workflow_run_Zk9mNP12Qw4-yTv8BdR3H"` */ id: string; status: Extend.WorkflowRunStatus; workflow: Extend.WorkflowSummary; workflowVersion: Extend.WorkflowVersionSummary; /** * A URL to view this workflow run in the Extend dashboard. * * Example: `"https://dashboard.extend.ai/workflows/workflow_run_xKm9pNv3qWsY_jL2tR5Dh"` */ dashboardUrl: string; /** * The user of the person who reviewed the workflow run. Will be null if the workflow run has not been reviewed. * * Example: `"jane.doe@example.com"` */ reviewedByUser: string | null; /** * The time (in UTC) at which the workflow run was reviewed. Will follow the RFC 3339 format. Will be null if the workflow run has not been reviewed. * * Example: `"2024-03-21T16:45:00Z"` */ reviewedAt: string | null; /** * The time (in UTC) at which the workflow was initially created. Will follow the RFC 3339 format. Will be null if the run hasn't started yet. * * Example: `"2024-03-21T15:30:00Z"` */ initialRunAt: string | null; /** * The start time (in UTC) that the workflow actually started executing. This occurs after the `initialRunAt` time. Will follow the RFC 3339 format. Will be null if not started. * * Example: `"2024-03-21T15:30:00Z"` */ startTime: string | null; /** * The end time (in UTC) that the workflow finished. Will follow the RFC 3339 format. Will be null if not finished. * * Example: `"2024-03-21T15:35:00Z"` */ endTime: string | null; /** * The batch ID of the workflow run. If that workflow run was created from a batch of files, all runs in that batch will have the same batch ID. * * Example: `"batch_7Ws31-F5"` */ batchId: string | null; /** * The note that was added when the workflow run was rejected. * * Example: `"Invalid invoice format"` */ rejectionNote: string | null; createdAt: Extend.CreatedAt; updatedAt: Extend.UpdatedAt; /** * Usage credits consumed by this workflow run. Omits `breakdown` — fetch the full workflow run by id to see the per-line items for every contributing child run. * * **Availability:** Will not be returned for runs created before October 7, 2025 or for customers on legacy billing systems. */ usage: Extend.RunUsageSummary | null; }