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