harnessed_agent/models/hermes_executions.json
2026-04-16 15:40:17 +08:00

138 lines
3.7 KiB
JSON

{
"summary": [
{
"name": "hermes_executions",
"title": "Hermes Agent Executions",
"primary": "id",
"catelog": "entity"
}
],
"fields": [
{
"name": "id",
"title": "Execution ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Primary key - UUID format"
},
{
"name": "user_id",
"title": "User ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Owner user ID for multi-user isolation"
},
{
"name": "workflow_id",
"title": "Workflow ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Parent workflow ID"
},
{
"name": "task_id",
"title": "Task ID",
"type": "str",
"length": 32,
"nullable": "no",
"comments": "Executed task ID"
},
{
"name": "execution_status",
"title": "Execution Status",
"type": "str",
"length": 16,
"nullable": "no",
"default": "pending",
"comments": "Status: pending, running, completed, failed, cancelled"
},
{
"name": "start_time",
"title": "Start Time",
"type": "timestamp",
"nullable": "yes",
"comments": "Execution start timestamp"
},
{
"name": "end_time",
"title": "End Time",
"type": "timestamp",
"nullable": "yes",
"comments": "Execution end timestamp"
},
{
"name": "duration_seconds",
"title": "Duration Seconds",
"type": "long",
"nullable": "yes",
"comments": "Total execution duration in seconds"
},
{
"name": "result_json",
"title": "Result JSON",
"type": "text",
"nullable": "yes",
"comments": "JSON result of task execution"
},
{
"name": "error_message",
"title": "Error Message",
"type": "text",
"nullable": "yes",
"comments": "Error message if execution failed"
},
{
"name": "retry_count",
"title": "Retry Count",
"type": "short",
"length": 2,
"nullable": "no",
"default": "0",
"comments": "Number of retries attempted"
},
{
"name": "created_at",
"title": "Created At",
"type": "timestamp",
"nullable": "no",
"comments": "Creation timestamp"
},
{
"name": "updated_at",
"title": "Updated At",
"type": "timestamp",
"nullable": "no",
"comments": "Last update timestamp"
}
],
"indexes": [
{
"name": "idx_executions_user_id",
"idxtype": "index",
"idxfields": ["user_id"]
},
{
"name": "idx_executions_workflow_id",
"idxtype": "index",
"idxfields": ["workflow_id"]
},
{
"name": "idx_executions_task_id",
"idxtype": "index",
"idxfields": ["task_id"]
},
{
"name": "idx_executions_status",
"idxtype": "index",
"idxfields": ["execution_status"]
},
{
"name": "idx_executions_created",
"idxtype": "index",
"idxfields": ["created_at"]
}
]
}