From 40d00f2faaee0784dd7cb94082d77bd42582884b Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Thu, 30 Jul 2026 19:40:25 -0500 Subject: [PATCH] docs(tasks): add trigger_lookup_failed so an empty upcoming is not read as a dead schedule chat#1918 --- api-reference/openapi/releases.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api-reference/openapi/releases.json b/api-reference/openapi/releases.json index 2d608a8..8fd1c45 100644 --- a/api-reference/openapi/releases.json +++ b/api-reference/openapi/releases.json @@ -3893,7 +3893,12 @@ "type": "string", "format": "date-time" }, - "description": "Next scheduled run times, sourced from the latest Trigger.dev run payload." + "description": "Next scheduled run times, sourced from the latest Trigger.dev run payload. Empty when the task has no schedule, when the schedule has genuinely produced no runs yet, or when `trigger_lookup_failed` is true — check that flag before concluding a schedule is dead." + }, + "trigger_lookup_failed": { + "type": "boolean", + "description": "True when the Trigger.dev lookup for this task errored, so `recent_runs`, `upcoming` and `timezone` could not be read and are not authoritative. False when the lookup succeeded (including when it legitimately returned nothing) or when the task has no `trigger_schedule_id` to look up.", + "example": false }, "owner_email": { "type": "string",