@@ -501,9 +501,9 @@ export interface TaskView {
501501 * View model for representing a session that a task belongs to
502502 *
503503 * Attributes: id: Unique identifier for the session status: Current status of the
504- * session live_url: URL where the browser can be viewed live in real-time.
505- * started_at: Timestamp when the session was created and started. finished_at:
506- * Timestamp when the session was stopped (None if still active).
504+ * session (active/stopped) live_url: URL where the browser can be viewed live in
505+ * real-time. started_at: Timestamp when the session was created and started.
506+ * finished_at: Timestamp when the session was stopped (None if still active).
507507 */
508508 session : TaskView . Session ;
509509
@@ -542,9 +542,9 @@ export namespace TaskView {
542542 * View model for representing a session that a task belongs to
543543 *
544544 * Attributes: id: Unique identifier for the session status: Current status of the
545- * session live_url: URL where the browser can be viewed live in real-time.
546- * started_at: Timestamp when the session was created and started. finished_at:
547- * Timestamp when the session was stopped (None if still active).
545+ * session (active/stopped) live_url: URL where the browser can be viewed live in
546+ * real-time. started_at: Timestamp when the session was created and started.
547+ * finished_at: Timestamp when the session was stopped (None if still active).
548548 */
549549 export interface Session {
550550 id : string ;
@@ -633,19 +633,20 @@ export interface TaskCreateParams {
633633 task : string ;
634634
635635 /**
636- * Configuration settings for the AI agent
636+ * Configuration settings for the agent
637637 *
638- * Attributes: llm: The LLM model to use for the agent profile_id: Unique
639- * identifier of the agent profile to use for the task
638+ * Attributes: llm: The LLM model to use for the agent start_url: Optional URL to
639+ * start the agent on (will not be changed as a step) profile_id: Unique identifier
640+ * of the agent profile to use for the task
640641 */
641642 agentSettings ?: TaskCreateParams . AgentSettings ;
642643
643644 /**
644645 * Configuration settings for the browser session
645646 *
646647 * Attributes: session_id: Unique identifier of existing session to continue
647- * profile_id: Unique identifier of browser profile to use save_browser_data:
648- * Whether to save browser state/data for the user to download later
648+ * profile_id: Unique identifier of browser profile to use (use if you want to
649+ * start a new session)
649650 */
650651 browserSettings ?: TaskCreateParams . BrowserSettings ;
651652
@@ -660,29 +661,30 @@ export interface TaskCreateParams {
660661
661662export namespace TaskCreateParams {
662663 /**
663- * Configuration settings for the AI agent
664+ * Configuration settings for the agent
664665 *
665- * Attributes: llm: The LLM model to use for the agent profile_id: Unique
666- * identifier of the agent profile to use for the task
666+ * Attributes: llm: The LLM model to use for the agent start_url: Optional URL to
667+ * start the agent on (will not be changed as a step) profile_id: Unique identifier
668+ * of the agent profile to use for the task
667669 */
668670 export interface AgentSettings {
669671 llm ?: TasksAPI . LlmModel ;
670672
671673 profileId ?: string | null ;
674+
675+ startUrl ?: string | null ;
672676 }
673677
674678 /**
675679 * Configuration settings for the browser session
676680 *
677681 * Attributes: session_id: Unique identifier of existing session to continue
678- * profile_id: Unique identifier of browser profile to use save_browser_data:
679- * Whether to save browser state/data for the user to download later
682+ * profile_id: Unique identifier of browser profile to use (use if you want to
683+ * start a new session)
680684 */
681685 export interface BrowserSettings {
682686 profileId ?: string | null ;
683687
684- saveBrowserData ?: boolean ;
685-
686688 sessionId ?: string | null ;
687689 }
688690}
0 commit comments