show webhook failure front (#3044)

This commit is contained in:
LawyZheng
2025-08-01 15:37:44 +08:00
committed by GitHub
parent 88018418af
commit b93f0e0f79
4 changed files with 45 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ export type Task = {
title: string | null;
url: string;
webhook_callback_url: string | null;
webhook_failure_reason: string | null;
navigation_goal: string | null;
data_extraction_goal: string | null;
navigation_payload: Record<string, unknown> | string | null;
@@ -122,6 +123,7 @@ export type TaskApiResponse = {
screenshot_url: string | null;
recording_url: string | null;
failure_reason: string | null;
webhook_failure_reason: string | null;
errors: Array<Record<string, unknown>>;
max_steps_per_run: number | null;
task_v2: TaskV2 | null;
@@ -302,6 +304,7 @@ export type WorkflowRunStatusApiResponse = {
recording_url: string | null;
outputs: Record<string, unknown> | null;
failure_reason: string | null;
webhook_failure_reason: string | null;
downloaded_file_urls: Array<string> | null;
total_steps: number | null;
total_cost: number | null;
@@ -348,6 +351,7 @@ export type TaskV2 = {
output: Record<string, unknown> | null;
summary: string | null;
webhook_callback_url: string | null;
webhook_failure_reason: string | null;
totp_verification_url: string | null;
totp_identifier: string | null;
proxy_location: ProxyLocation | null;