Skip to content
Back to feed

September 10, 2026 · TwelveLabs

Video segmentation tasks now fail when they hit the response or context limit

In video segmentation, an analysis task fails when its reaches the maximum response length or the context window before completing. The error.message field states the limit the analysis reached.

Previously, the task completed with status set to ready, result.finish_reason set to length, and an empty or partial segment list in result.data.

A failed task returns no result object. If your code checks finish_reason to detect truncation, check status instead.

General analysis is unchanged. A truncated response still completes with status set to ready, the partial output in result.data, and a warning in the error field.

For details, see the Segment videos page.

Latest TwelveLabs API changes

All TwelveLabs API changes