@@ -501,9 +501,9 @@ export interface TaskView {
501
501
* View model for representing a session that a task belongs to
502
502
*
503
503
* 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).
507
507
*/
508
508
session : TaskView . Session ;
509
509
@@ -542,9 +542,9 @@ export namespace TaskView {
542
542
* View model for representing a session that a task belongs to
543
543
*
544
544
* 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).
548
548
*/
549
549
export interface Session {
550
550
id : string ;
@@ -633,19 +633,20 @@ export interface TaskCreateParams {
633
633
task : string ;
634
634
635
635
/**
636
- * Configuration settings for the AI agent
636
+ * Configuration settings for the agent
637
637
*
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
640
641
*/
641
642
agentSettings ?: TaskCreateParams . AgentSettings ;
642
643
643
644
/**
644
645
* Configuration settings for the browser session
645
646
*
646
647
* 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)
649
650
*/
650
651
browserSettings ?: TaskCreateParams . BrowserSettings ;
651
652
@@ -660,29 +661,30 @@ export interface TaskCreateParams {
660
661
661
662
export namespace TaskCreateParams {
662
663
/**
663
- * Configuration settings for the AI agent
664
+ * Configuration settings for the agent
664
665
*
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
667
669
*/
668
670
export interface AgentSettings {
669
671
llm ?: TasksAPI . LlmModel ;
670
672
671
673
profileId ?: string | null ;
674
+
675
+ startUrl ?: string | null ;
672
676
}
673
677
674
678
/**
675
679
* Configuration settings for the browser session
676
680
*
677
681
* 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)
680
684
*/
681
685
export interface BrowserSettings {
682
686
profileId ?: string | null ;
683
687
684
- saveBrowserData ?: boolean ;
685
-
686
688
sessionId ?: string | null ;
687
689
}
688
690
}
0 commit comments