Add run lifecycle timestamps - improvments (#2601)

Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
Prakash Maheshwaran
2025-06-11 23:36:49 -04:00
committed by GitHub
parent 90feb96b0f
commit b5bf9d291f
15 changed files with 138 additions and 1 deletions

View File

@@ -44,6 +44,9 @@ async def get_run_response(run_id: str, organization_id: str | None = None) -> R
status=str(task_v1_response.status),
output=task_v1_response.extracted_information,
failure_reason=task_v1_response.failure_reason,
queued_at=task_v1_response.queued_at,
started_at=task_v1_response.started_at,
finished_at=task_v1_response.finished_at,
created_at=task_v1_response.created_at,
modified_at=task_v1_response.modified_at,
app_url=f"{settings.SKYVERN_APP_URL.rstrip('/')}/tasks/{task_v1_response.task_id}",