add batch_id to history task items

This commit is contained in:
bymyself
2025-06-21 16:45:50 -07:00
parent 38fefde06d
commit 35d98dcea8
3 changed files with 24 additions and 3 deletions

View File

@@ -71,6 +71,13 @@ components:
description: Task result message or details
status:
$ref: '#/components/schemas/TaskExecutionStatus'
batch_id:
type: [string, 'null']
description: ID of the batch this task belongs to
end_time:
type: [string, 'null']
format: date-time
description: ISO timestamp when task execution ended
required: [ui_id, client_id, kind, timestamp, result]
TaskExecutionStatus:
type: object