{
  "opencollection": "1.0.0",
  "info": {
    "name": "Amazon Bedrock Runtime API",
    "version": "2023-09-30"
  },
  "items": [
    {
      "info": {
        "name": "Inference",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Amazon Bedrock Invoke a model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://bedrock-runtime.{region}.amazonaws.com/model/:modelId/invoke",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "modelId",
                "value": "",
                "type": "path",
                "description": "The identifier of the model to invoke (e.g., anthropic.claude-3-sonnet-20240229-v1:0)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Invokes the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a single response body."
        },
        {
          "info": {
            "name": "Amazon Bedrock Invoke a model with response streaming",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://bedrock-runtime.{region}.amazonaws.com/model/:modelId/invoke-with-response-stream",
            "headers": [
              {
                "name": "Content-Type",
                "value": ""
              },
              {
                "name": "X-Amzn-Bedrock-Accept",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "modelId",
                "value": "",
                "type": "path",
                "description": "The identifier of the model to invoke."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Invokes the specified Amazon Bedrock model to run inference using the prompt and parameters provided in the request body. The response is streamed back in real time, allowing the client to begin processing results before the full response is generated."
        }
      ]
    },
    {
      "info": {
        "name": "Converse",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Amazon Bedrock Converse with a model",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://bedrock-runtime.{region}.amazonaws.com/model/:modelId/converse",
            "params": [
              {
                "name": "modelId",
                "value": "",
                "type": "path",
                "description": "The identifier of the model to converse with."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sends messages to the specified Amazon Bedrock model using the Converse API. This provides a consistent interface for multi-turn conversations across different foundation models, with support for system prompts, tool use, and structured message formatting."
        },
        {
          "info": {
            "name": "Amazon Bedrock Converse with a model using streaming",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://bedrock-runtime.{region}.amazonaws.com/model/:modelId/converse-stream",
            "params": [
              {
                "name": "modelId",
                "value": "",
                "type": "path",
                "description": "The identifier of the model to converse with."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sends messages to the specified Amazon Bedrock model and streams the response back in real time. This provides the same consistent multi-turn conversation interface as the Converse API, with the added benefit of streaming for lower perceived latency."
        }
      ]
    }
  ],
  "bundled": true
}