RoutineRun interface
從執行歷史 API 回傳的單一例程執行。
屬性
| action_correlation_id | 下游動作相關識別碼(若有)提供。 |
| action_type | 執行例行嘗試時所派遣的動作類型。 |
| agent_endpoint_id | 記錄為例行嘗試所記錄的舊有端點範圍代理識別碼。 |
| agent_id | 為例行嘗試所記錄的專案範圍代理識別碼。 |
| attempt_source | 創建例行嘗試的來源路徑。 |
| conversation_id | 回應 API 派遣所使用的對話識別碼。 |
| dispatch_id | 與例行嘗試相關聯的派遣識別碼。 |
| ended_at | 標的運算達到終止狀態的時間點。 |
| error_message | 截斷失敗訊息會被捕捉,以捕捉失敗嘗試(若有)。 |
| error_status_code | 下游錯誤狀態碼會被捕捉,表示嘗試失敗(如有)。 |
| error_type | 在有失敗嘗試時,捕捉的完全限定錯誤類型。 |
| id | 例行嘗試的唯一執行識別碼。 |
| phase | 例行嘗試的 AgentExtensions 生命週期階段。 |
| response_id | 下游回應或呼叫識別碼(如有)提供。 |
| scheduled_fire_at | 預定的火災時間會被記錄為計時器並安排送達。 |
| session_id | 用於調用 API 派遣的託管代理會話識別碼。 |
| started_at | 就是基礎跑動開始的時間點。 |
| status | 執行狀態。 |
| task_id | 工作區任務識別碼會連結到例行程序嘗試(若有)。 |
| triggered_at | 這是例行嘗試所記錄的邏輯觸發時間。 |
| trigger_event_payload | 從觸發例行嘗試的事件中擷取的事件有效載荷(若可用)。 |
| trigger_name | 產生例行嘗試的設定觸發器名稱。 |
| trigger_type | 觸發器類型,產生了例行的嘗試。 |
屬性詳細資料
action_correlation_id
下游動作相關識別碼(若有)提供。
action_correlation_id?: string
屬性值
string
action_type
agent_endpoint_id
記錄為例行嘗試所記錄的舊有端點範圍代理識別碼。
agent_endpoint_id?: string
屬性值
string
agent_id
為例行嘗試所記錄的專案範圍代理識別碼。
agent_id?: string
屬性值
string
attempt_source
conversation_id
回應 API 派遣所使用的對話識別碼。
conversation_id?: string
屬性值
string
dispatch_id
與例行嘗試相關聯的派遣識別碼。
dispatch_id?: string
屬性值
string
ended_at
標的運算達到終止狀態的時間點。
ended_at?: Date
屬性值
Date
error_message
截斷失敗訊息會被捕捉,以捕捉失敗嘗試(若有)。
error_message?: string
屬性值
string
error_status_code
下游錯誤狀態碼會被捕捉,表示嘗試失敗(如有)。
error_status_code?: number
屬性值
number
error_type
在有失敗嘗試時,捕捉的完全限定錯誤類型。
error_type?: string
屬性值
string
id
例行嘗試的唯一執行識別碼。
id: string
屬性值
string
phase
response_id
下游回應或呼叫識別碼(如有)提供。
response_id?: string
屬性值
string
scheduled_fire_at
預定的火災時間會被記錄為計時器並安排送達。
scheduled_fire_at?: Date
屬性值
Date
session_id
用於調用 API 派遣的託管代理會話識別碼。
session_id?: string
屬性值
string
started_at
就是基礎跑動開始的時間點。
started_at?: Date
屬性值
Date
status
執行狀態。
status?: string
屬性值
string
task_id
工作區任務識別碼會連結到例行程序嘗試(若有)。
task_id?: string
屬性值
string
triggered_at
這是例行嘗試所記錄的邏輯觸發時間。
triggered_at?: Date
屬性值
Date
trigger_event_payload
從觸發例行嘗試的事件中擷取的事件有效載荷(若可用)。
trigger_event_payload?: Record<string, any>
屬性值
Record<string, any>
trigger_name
產生例行嘗試的設定觸發器名稱。
trigger_name?: string
屬性值
string