return pbs id on workflow run endpoint (#2699)

This commit is contained in:
Shuchang Zheng
2025-06-12 13:39:16 -07:00
committed by GitHub
parent d69e15ab65
commit fa0fce4904
4 changed files with 30 additions and 0 deletions

View File

@@ -365,6 +365,11 @@ class BaseRunResponse(BaseModel):
description="URL to the application UI where the run can be viewed",
examples=["https://app.skyvern.com/tasks/tsk_123", "https://app.skyvern.com/workflows/wpid_123/wr_123"],
)
browser_session_id: str | None = Field(
default=None,
description="ID of the Skyvern persistent browser session used for this run",
examples=["pbs_123"],
)
class TaskRunResponse(BaseRunResponse):