API to run login task (#2920)

This commit is contained in:
Shuchang Zheng
2025-07-16 15:35:36 -07:00
committed by GitHub
parent 71540849bf
commit e5cb4d1fd2
2 changed files with 178 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
from pydantic import BaseModel
from skyvern.schemas.runs import ProxyLocation
class LoginRequest(BaseModel):
credential_id: str
url: str | None = None
prompt: str | None = None
webhook_url: str | None = None
proxy_location: ProxyLocation | None = None
totp_identifier: str | None = None
totp_url: str | None = None
browser_session_id: str | None = None
extra_http_headers: dict[str, str] | None = None
max_screenshot_scrolling_times: int | None = None