v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465766489.0 KB

Creates and initializes a browser session in Amazon Bedrock AgentCore. The session enables agents to navigate and interact with web content, extract information from websites, and perform web-based tasks as part of their response generation.

To create a session, you must specify a browser identifier and a name. You can also configure the viewport dimensions to control the visible area of web content. The session remains active until it times out or you explicitly stop it using the StopBrowserSession operation.

The following operations are related to StartBrowserSession:

put/browsers/{browserIdentifier}/sessions/start

Path parameters

browserIdentifierstring required

The unique identifier of the browser to use for this session. This identifier specifies which browser environment to initialize for the session.

Headers

X-Amzn-Trace-Idstring

The trace identifier for request tracking.

traceparentstring

The parent trace information for distributed tracing.

Request body

namestring

The name of the browser session. This name helps you identify and manage the session. The name does not need to be unique.

sessionTimeoutSecondsinteger

The duration in seconds (time-to-live) after which the session automatically terminates, regardless of ongoing activity. Defaults to 3600 seconds (1 hour). Recommended minimum: 60 seconds. Maximum allowed: 28,800 seconds (8 hours).

clientTokenstring

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request, but does not return an error. This parameter helps prevent the creation of duplicate sessions if there are temporary network issues.

Response

Success

browserIdentifierstring required

The identifier of the browser.

sessionIdstring required

The unique identifier of the created browser session.

createdAtstring date-time required

The timestamp when the browser session was created.