Amazon Bedrock Bedrock Sessions API

The Bedrock Sessions API from Amazon Bedrock — 16 operation(s) for bedrock sessions.

GitHub OpenAPI

Operations 19

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PATCH /sessions/{sessionIdentifier} End a session · End Session #
Ask an LLM
“How do I end a session so I can still read its content but not add to it?”
“Can I end a session and keep its content?”
Tell an agent destructive · confirm first
End session {session}.
Close session {session} so it can no longer accept new content.
PUT /sessions/ Create a session for LangGraph or LlamaIndex apps · Create Session #
Ask an LLM
“How do I create a session to store conversations for a LangGraph or LlamaIndex app?”
“Can I encrypt a new session with my own KMS key?”
Tell an agent
Create a session with metadata {metadata}.
Create a session encrypted with KMS key {key}.
POST /sessions/ List sessions in my account · List Sessions #
Ask an LLM
“Which sessions exist in my AWS account?”
“Can I list all my sessions?”
Tell an agent
List all sessions in my account.
Show every session in my account.
GET /sessions/{sessionIdentifier}/ Get a session's details · Get Session #
Ask an LLM
“What details are stored in a session?”
“Can I look up one session by its ID?”
Tell an agent
Get session {session}.
Show the details of session {session}.
PUT /sessions/{sessionIdentifier}/ Update a session's metadata or encryption settings · Update Session #
Ask an LLM
“Can I change the metadata stored on a session?”
“Is it possible to update the encryption settings of an existing session?”
Tell an agent
Update session {sessionIdentifier} with metadata {sessionMetadata}.
Rename session {sessionIdentifier} to a new name.
DELETE /sessions/{sessionIdentifier}/ Delete an ended session · Delete Session #
Ask an LLM
“How do I permanently delete a session I already ended?”
“Can I delete an active session?”
Tell an agent destructive · confirm first
Delete session {session}.
Permanently remove the ended session {session}.
POST /browsers/{browserIdentifier}/sessions/invoke Send an OS-level action to a browser session · Invoke Browser #
Ask an LLM
“How do I click a button or type text in a browser session?”
“Can I take a screenshot of a browser session?”
Tell an agent
Invoke action {action} on browser session {session} of browser {browser}.
Send the {action} command to browser {browser} session {session}.
POST /browsers/{browserIdentifier}/sessions/list List browser sessions for a browser · List Browser Sessions #
Ask an LLM
“Which browser sessions are running for a given browser?”
“Can I list only the stopped browser sessions?”
Tell an agent
List browser sessions for browser {browser}.
Show browser sessions for {browser} with status {status}.
PUT /browsers/{browserIdentifier}/sessions/start Start a browser session for web navigation · Start Browser Session #
Ask an LLM
“How do I start a browser session so my agent can browse the web?”
“Can I set a viewport and timeout when starting a browser session?”
Tell an agent
Start a browser session named {name} for browser {browser}.
Start browser {browser} session {name} with a {seconds}-second timeout.
PUT /browsers/{browserIdentifier}/sessions/stop Stop a browser session · Stop Browser Session #
Ask an LLM
“How do I stop a browser session so it can't be restarted?”
“Can I stop a browser session by its session ID?”
Tell an agent destructive · confirm first
Stop browser {browser} session {session}.
Terminate the browser session {session} on {browser}.
PUT /browsers/{browserIdentifier}/sessions/streams/update Update a browser stream · Update Browser Stream #
Ask an LLM
“How do I update a stream on a browser session?”
“Can I update a browser stream by its session ID?”
Tell an agent
Update the stream on browser {browser} session {session} with {update}.
Apply stream update {update} to browser {browser} session {session}.
GET /browsers/{browserIdentifier}/sessions/get Get a browser session's details · Get Browser Session #
Ask an LLM
“What is the status and viewport of a browser session?”
“Can I look up a browser session by its session ID?”
Tell an agent
Get browser {browser} session {session}.
Show the configuration of browser session {session} on {browser}.
DELETE /capacity-providers/{capacityProviderId}/sessions/{sessionId} Delete a capacity provider session · Delete Capacity Provider Session #
Ask an LLM
“How do I delete a session tied to a capacity provider?”
“Can I remove a capacity provider session?”
Tell an agent destructive · confirm first
Delete capacity provider session {session} on provider {provider}.
Remove the capacity provider session {session} from {provider}.
POST /code-interpreters/{codeInterpreterIdentifier}/sessions/list List code interpreter sessions for a code interpreter · List Code Interpreter Sessions #
Ask an LLM
“Which code interpreter sessions are running for a given interpreter?”
“Can I list only the stopped code interpreter sessions?”
Tell an agent
List code interpreter sessions for interpreter {interpreter}.
Show code interpreter sessions for {interpreter} with status {status}.
PUT /code-interpreters/{codeInterpreterIdentifier}/sessions/start Start a code interpreter session · Start Code Interpreter Session #
Ask an LLM
“How do I start a code interpreter session so my agent can run code?”
“Can I set a timeout when starting a code interpreter session?”
Tell an agent
Start a code interpreter session named {name} for interpreter {interpreter}.
Start code interpreter {interpreter} session {name} with a {seconds}-second timeout.
PUT /code-interpreters/{codeInterpreterIdentifier}/sessions/stop Stop a code interpreter session · Stop Code Interpreter Session #
Ask an LLM
“How do I stop a code interpreter session so it can't be restarted?”
“Can I stop a code interpreter session by its session ID?”
Tell an agent destructive · confirm first
Stop code interpreter {interpreter} session {session}.
Terminate the code interpreter session {session} on {interpreter}.
GET /code-interpreters/{codeInterpreterIdentifier}/sessions/get Get a code interpreter session's details · Get Code Interpreter Session #
Ask an LLM
“What is the status of a code interpreter session?”
“Can I look up a code interpreter session by its session ID?”
Tell an agent
Get code interpreter {interpreter} session {session}.
Show the configuration of code interpreter session {session} on {interpreter}.
POST /memories/{memoryId}/actor/{actorId}/sessions/{sessionId} List events in an AgentCore Memory session · List Events #
Ask an LLM
“What events happened in an AgentCore Memory session?”
“Can I filter the events in a Memory session?”
Tell an agent
List events in Memory {memory} for actor {actor} session {session}.
Show events in Memory {memory} session {session} for actor {actor} matching {filter}.
POST /memories/{memoryId}/actor/{actorId}/sessions List sessions in an AgentCore Memory · List Sessions #
Ask an LLM
“Which sessions exist in an AgentCore Memory resource?”
“Can I list Memory sessions for one actor?”
Tell an agent
List sessions in Memory {memory} for actor {actor}.
Show Memory {memory} sessions for actor {actor} matching {filter}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-bedrock:amazon-bedrock-sessions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-bedrock-sessions-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Bedrock Sessions API
  version: '2023-04-20'
  description: Generated from AWS's published Smithy model for Amazon Bedrock. 19 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://bedrock-agentcore.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (101 KB total) ---
# Full source: https://artifacts.apis.io/amazon-bedrock/openapi/amazon-bedrock-sessions-api-openapi.yml