Amazon Bedrock Bedrock Harnesses API

The Bedrock Harnesses API from Amazon Bedrock — 3 operation(s) for bedrock harnesses.

GitHub OpenAPI

Operations 6

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

POST /harnesses/invoke Invoke a harness with messages · Invoke Harness #
Ask an LLM
“How do I send a chat message to an agent running in a harness?”
“Can I set a system prompt and allowed tools for one harness invocation?”
Tell an agent
Invoke harness {harnessArn} with messages {messages} in session {session}.
Send {messages} to harness {harnessArn} using qualifier {qualifier}.
POST /harnesses Create an agent harness · Create Harness #
Ask an LLM
“How do I create a harness that runs an agent with a system prompt and tools?”
“Can I set environment variables and a memory configuration on a harness?”
Tell an agent
Create harness {harnessName} with execution role {executionRoleArn}.
Create harness {harnessName} with system prompt {systemPrompt} and allowed tools {allowedTools}.
GET /harnesses List agent harnesses · List Harnesses #
Ask an LLM
“Which harnesses are available for my agent?”
“Can I page through harnesses with a next token?”
Tell an agent
List my harnesses.
List harnesses, {maxResults} at a time.
DELETE /harnesses/{harnessId} Delete a harness · Delete Harness #
Ask an LLM
“How do I delete a harness?”
“Can I keep a harness's managed memory after deleting it?”
Tell an agent destructive · confirm first
Delete harness {harnessId}.
Delete harness {harnessId} and keep its managed memory ({deleteManagedMemory}).
GET /harnesses/{harnessId} Get a harness · Get Harness #
Ask an LLM
“What model and tools does a harness use?”
“Can I fetch a specific harness version?”
Tell an agent
Get harness {harnessId}.
Show harness {harnessId} version {harnessVersion}.
PATCH /harnesses/{harnessId} Update a harness · Update Harness #
Ask an LLM
“How do I change the allowed tools on an existing harness?”
“Can I raise the maximum token limit on a harness?”
Tell an agent
Update harness {harnessId} to use allowed tools {allowedTools}.
Set harness {harnessId} max tokens to {maxTokens}.

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-harnesses-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-harnesses-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Bedrock Harnesses API
  version: '2023-04-20'
  description: Generated from AWS's published Smithy model for Amazon Bedrock. 6 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-control.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


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