---
title: "PUT /browser-profiles/{profileIdentifier}/save"
method: PUT
path: "/browser-profiles/{profileIdentifier}/save"
---

# PUT /browser-profiles/{profileIdentifier}/save

`PUT /browser-profiles/{profileIdentifier}/save`

Saves the current state of a browser session as a reusable profile in Amazon Bedrock AgentCore. A browser profile captures persistent browser data such as cookies and local storage from an active session, enabling you to reuse this data in future browser sessions.

To save a browser session profile, you must specify the profile identifier, browser identifier, and session ID. The session must be active when saving the profile. Once saved, the profile can be used with the `StartBrowserSession` operation to initialize new sessions with the stored browser state.

Browser profiles are useful for scenarios that require persistent authentication, maintaining user preferences across sessions, or continuing tasks that depend on previously stored browser data.

The following operations are related to `SaveBrowserSessionProfile`:

*   [StartBrowserSession](https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_StartBrowserSession.html)
    
*   [GetBrowserSession](https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_GetBrowserSession.html)

## Path parameters

- `profileIdentifier` string, required

## Headers

- `X-Amzn-Trace-Id` string
- `traceparent` string

## Request body

- object
  - `browserIdentifier` string, required — The unique identifier of the browser associated with the session from which to save the profile.
  - `sessionId` string, required — The unique identifier of the browser session from which to save the profile. The session must be active when saving the profile.
  - `clientToken` string — 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.

## Response `200`

Success

- SaveBrowserSessionProfileResponse
  - `profileIdentifier` string, required — The unique identifier of the saved browser profile.
  - `browserIdentifier` string, required — The unique identifier of the browser associated with the session from which the profile was saved.
  - `sessionId` string, required — The unique identifier of the browser session from which the profile was saved.
  - `lastUpdatedAt` string, date-time, required — The timestamp when the browser profile was last updated. This value is in ISO 8601 format.

## Other responses

- `480` — AccessDeniedException
- `481` — ConflictException
- `482` — ValidationException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException
- `485` — InternalServerException

---

[API](https://skmtc.net/aws/apis/bedrock-agentcore.md) · [All operations](https://skmtc.net/aws/apis/bedrock-agentcore/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock-agentcore/versions/79623b33d495/schema)
