Overview
Extend the maximum lifetime of an existing task when a game runs longer than expected. This updates the task’smax_life_hours value. The worker reads the updated value while the task is running, so the task can continue past the original lifetime without needing to create a new task or change the SRT URL.
Use this endpoint before the task reaches its current maximum lifetime.
Path Parameters
Request Body Parameters
Example Request
Example Response
Response Fields
Error Responses
Task not found or not owned by caller
Invalid lifetime
Notes
- The limit is based on hours since task creation, not hours from the time you call this endpoint.
max_life_hourscan be increased up to48.- Use Get Task Info or List Tasks to confirm the updated
task_payload.max_life_hoursandtime_remaining_hours. - Use Kill Task when the game is finished and the task should stop immediately.

