Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ partial void ProcessAgentRunsCreateResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const run = await bb.agents.runs.create({<br/>
/// agentId: "agent-id",<br/>
/// task: "Find the pricing page on example.com.",<br/>
/// });<br/>
/// console.log(run);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AgentRun> AgentRunsCreateAsync(

global::Browserbase.AgentRunsCreateRequest request,
Expand All @@ -72,6 +83,17 @@ partial void ProcessAgentRunsCreateResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const run = await bb.agents.runs.create({<br/>
/// agentId: "agent-id",<br/>
/// task: "Find the pricing page on example.com.",<br/>
/// });<br/>
/// console.log(run);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AutoSDKHttpResponse<global::Browserbase.AgentRun>> AgentRunsCreateAsResponseAsync(

global::Browserbase.AgentRunsCreateRequest request,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ partial void ProcessAgentRunsGetResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const run = await bb.agents.runs.retrieve("run-id");<br/>
/// console.log(run);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AgentRun> AgentRunsGetAsync(
string runId,
global::Browserbase.AutoSDKRequestOptions? requestOptions = default,
Expand All @@ -70,6 +78,14 @@ partial void ProcessAgentRunsGetResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const run = await bb.agents.runs.retrieve("run-id");<br/>
/// console.log(run);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AutoSDKHttpResponse<global::Browserbase.AgentRun>> AgentRunsGetAsResponseAsync(
string runId,
global::Browserbase.AutoSDKRequestOptions? requestOptions = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ partial void ProcessAgentRunsListResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const runs = await bb.agents.runs.list({<br/>
/// status: "COMPLETED",<br/>
/// limit: 20,<br/>
/// });<br/>
/// console.log(runs);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AgentRunsListResponse> AgentRunsListAsync(
global::Browserbase.AgentRunsListStatus? status = default,
string? agentId = default,
Expand Down Expand Up @@ -104,6 +115,17 @@ partial void ProcessAgentRunsListResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const runs = await bb.agents.runs.list({<br/>
/// status: "COMPLETED",<br/>
/// limit: 20,<br/>
/// });<br/>
/// console.log(runs);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AutoSDKHttpResponse<global::Browserbase.AgentRunsListResponse>> AgentRunsListAsResponseAsync(
global::Browserbase.AgentRunsListStatus? status = default,
string? agentId = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ partial void ProcessAgentRunsMessagesResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const messages = await bb.agents.runs.listMessages("run-id", {<br/>
/// limit: 20,<br/>
/// });<br/>
/// console.log(messages);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AgentRunsMessagesResponse> AgentRunsMessagesAsync(
global::System.Guid runId,
string? since = default,
Expand Down Expand Up @@ -98,6 +108,16 @@ partial void ProcessAgentRunsMessagesResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const messages = await bb.agents.runs.listMessages("run-id", {<br/>
/// limit: 20,<br/>
/// });<br/>
/// console.log(messages);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AutoSDKHttpResponse<global::Browserbase.AgentRunsMessagesResponse>> AgentRunsMessagesAsResponseAsync(
global::System.Guid runId,
string? since = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ partial void ProcessAgentRunsStopResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// curl --request POST \<br/>
/// --url https://api.browserbase.com/v1/agents/runs/run-id/stop \<br/>
/// --header "X-BB-API-Key: $BROWSERBASE_API_KEY"
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AgentRun> AgentRunsStopAsync(
string runId,
global::Browserbase.AutoSDKRequestOptions? requestOptions = default,
Expand All @@ -70,6 +75,11 @@ partial void ProcessAgentRunsStopResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// curl --request POST \<br/>
/// --url https://api.browserbase.com/v1/agents/runs/run-id/stop \<br/>
/// --header "X-BB-API-Key: $BROWSERBASE_API_KEY"
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AutoSDKHttpResponse<global::Browserbase.AgentRun>> AgentRunsStopAsResponseAsync(
string runId,
global::Browserbase.AutoSDKRequestOptions? requestOptions = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ partial void ProcessAgentsCreateResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const agent = await bb.agents.create({<br/>
/// name: "Job Finder",<br/>
/// systemPrompt: "Use official company career pages.",<br/>
/// });<br/>
/// console.log(agent);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.Agent> AgentsCreateAsync(

global::Browserbase.AgentsCreateRequest request,
Expand All @@ -72,6 +83,17 @@ partial void ProcessAgentsCreateResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const agent = await bb.agents.create({<br/>
/// name: "Job Finder",<br/>
/// systemPrompt: "Use official company career pages.",<br/>
/// });<br/>
/// console.log(agent);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AutoSDKHttpResponse<global::Browserbase.Agent>> AgentsCreateAsResponseAsync(

global::Browserbase.AgentsCreateRequest request,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ partial void ProcessAgentsDeleteResponse(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// await bb.agents.delete("agent-id");
/// </remarks>
public async global::System.Threading.Tasks.Task AgentsDeleteAsync(
string agentId,
global::Browserbase.AutoSDKRequestOptions? requestOptions = default,
Expand All @@ -63,6 +70,13 @@ await AgentsDeleteAsResponseAsync(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// await bb.agents.delete("agent-id");
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AutoSDKHttpResponse> AgentsDeleteAsResponseAsync(
string agentId,
global::Browserbase.AutoSDKRequestOptions? requestOptions = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ partial void ProcessAgentsGetResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const agent = await bb.agents.retrieve("agent-id");<br/>
/// console.log(agent);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.Agent> AgentsGetAsync(
string agentId,
global::Browserbase.AutoSDKRequestOptions? requestOptions = default,
Expand All @@ -70,6 +78,14 @@ partial void ProcessAgentsGetResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const agent = await bb.agents.retrieve("agent-id");<br/>
/// console.log(agent);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AutoSDKHttpResponse<global::Browserbase.Agent>> AgentsGetAsResponseAsync(
string agentId,
global::Browserbase.AutoSDKRequestOptions? requestOptions = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ partial void ProcessAgentsListResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const agents = await bb.agents.list({ limit: 20 });<br/>
/// console.log(agents);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AgentsListResponse> AgentsListAsync(
global::System.DateTime? startAt = default,
global::System.DateTime? endAt = default,
Expand Down Expand Up @@ -92,6 +100,14 @@ partial void ProcessAgentsListResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const agents = await bb.agents.list({ limit: 20 });<br/>
/// console.log(agents);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AutoSDKHttpResponse<global::Browserbase.AgentsListResponse>> AgentsListAsResponseAsync(
global::System.DateTime? startAt = default,
global::System.DateTime? endAt = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ partial void ProcessAgentsUpdateResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const agent = await bb.agents.update("agent-id", {<br/>
/// name: "Official Job Finder",<br/>
/// });<br/>
/// console.log(agent);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.Agent> AgentsUpdateAsync(
string agentId,

Expand All @@ -78,6 +88,16 @@ partial void ProcessAgentsUpdateResponseContent(
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::Browserbase.ApiException"></exception>
/// <remarks>
/// import Browserbase from "@browserbasehq/sdk";<br/>
/// const bb = new Browserbase({<br/>
/// apiKey: process.env.BROWSERBASE_API_KEY,<br/>
/// });<br/>
/// const agent = await bb.agents.update("agent-id", {<br/>
/// name: "Official Job Finder",<br/>
/// });<br/>
/// console.log(agent);
/// </remarks>
public async global::System.Threading.Tasks.Task<global::Browserbase.AutoSDKHttpResponse<global::Browserbase.Agent>> AgentsUpdateAsResponseAsync(
string agentId,

Expand Down
Loading