> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blindsight.io/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS Bedrock Converse proxy

> The proxy signs the upstream call with AWS SigV4 using the credentials
you pass in the `X-Blindsight-AWS-*` headers. Streaming
(`converse-stream`) is not available. Authenticate to Blindsight with
`X-API-Key` (permission `runtime:scan`).




## OpenAPI

````yaml /api-reference/openapi-runtime-security.yaml post /api/runtime-security/proxy/bedrock/model/{modelId}/converse
openapi: 3.1.0
info:
  title: Blindsight Runtime Security API
  version: 1.0.0
  summary: 'LLM firewall: prompt-injection, PII, and agent tool-call protection.'
  description: >
    Drop-in firewall for LLM traffic. Three integration modes:

      * **Scan API**, explicit `/scan/input` and `/scan/output` calls.
      * **Reverse proxy**, wire-compatible with the OpenAI, Anthropic, Gemini,
        Vertex and Bedrock APIs; swap the SDK's `base_url` to enable scanning
        at the network boundary.
      * **Tool-call scan**, a check of agent tool arguments before execution.

    **Authentication.** Send a Blindsight API key in the `X-API-Key` header.

    Each key carries permissions, and an endpoint needs one of them:


    | Permission | Value | Endpoints |

    | --- | --- | --- |

    | Scan prompts and responses | `runtime:scan` | `/scan/*` and `/proxy/*` |

    | Read threat events | `runtime:events:read` | `/events`,
    `/events/{uuid}/explain`, `/analytics`, `/drift`, `/health`,
    `/service-status` and the other read endpoints |

    | Read firewall configuration | `runtime:config:read` | `GET /config` |

    | Write firewall configuration | `runtime:config:write` | `PUT /config` |


    `runtime:*` (Full Runtime Access) and full platform access cover all of

    them. A key acts as the person who created it and can never do more than

    that person can.


    All timestamps are UTC, ISO 8601, ending in `Z`, unless an endpoint says

    otherwise.


    See the Runtime Security guides for prose docs, SDK examples, and a

    walk-through of verdicts and configuration.
  contact:
    name: Blindsight Support
    url: https://blindsight.example.com/support
  license:
    name: Proprietary
servers:
  - url: https://platform.blindsight.io
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Scan
    description: Single-call scan endpoints for input, output, batch, and tool calls.
  - name: Proxy
    description: >-
      Wire-compatible reverse-proxy endpoints for OpenAI, Anthropic, Gemini,
      Vertex and Bedrock.
  - name: Configuration
    description: Workspace-scoped firewall settings.
  - name: Analytics
    description: Read-only analytics, event log, and drift endpoints.
  - name: Health
    description: Firewall readiness and service status.
paths:
  /api/runtime-security/proxy/bedrock/model/{modelId}/converse:
    post:
      tags:
        - Proxy
      summary: AWS Bedrock Converse proxy
      description: |
        The proxy signs the upstream call with AWS SigV4 using the credentials
        you pass in the `X-Blindsight-AWS-*` headers. Streaming
        (`converse-stream`) is not available. Authenticate to Blindsight with
        `X-API-Key` (permission `runtime:scan`).
      operationId: proxyBedrockConverse
      parameters:
        - $ref: '#/components/parameters/AppId'
        - name: modelId
          in: path
          required: true
          schema:
            type: string
          example: anthropic.claude-3-5-sonnet-20241022-v2:0
        - name: X-Blindsight-AWS-Access-Key-Id
          in: header
          required: true
          schema:
            type: string
        - name: X-Blindsight-AWS-Secret-Access-Key
          in: header
          required: true
          schema:
            type: string
        - name: X-Blindsight-AWS-Session-Token
          in: header
          required: false
          schema:
            type: string
          description: Only for temporary credentials.
        - name: X-Blindsight-AWS-Region
          in: header
          required: true
          schema:
            type: string
          example: us-east-1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
            example:
              messages:
                - role: user
                  content:
                    - text: Hello
      responses:
        '200':
          description: The Bedrock Converse response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Blocked, invalid body, or missing or invalid region
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockError'
        '401':
          description: >-
            No Blindsight credential, or missing AWS credentials
            (`missing_credentials`)
        '403':
          $ref: '#/components/responses/Forbidden'
        '502':
          description: Upstream error, or the reply was blocked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BedrockError'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  parameters:
    AppId:
      name: X-Blindsight-App-Id
      in: header
      required: false
      schema:
        type: string
      description: |
        UUID of the App the traffic belongs to. Optional: a key limited to one
        App, or a workspace with exactly one App, uses that App. A key limited
        to several Apps must send it.
  schemas:
    BedrockError:
      type: object
      properties:
        message:
          type: string
        type:
          type: string
          description: >-
            `blindsight_blocked`, `missing_credentials`, `missing_region`,
            `upstream_blocked` or `sign_error`.
  responses:
    Forbidden:
      description: >-
        The key does not have the permission this endpoint needs, or its owner
        no longer holds it
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
    Unavailable:
      description: The firewall is disabled or still starting
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: |
        Blindsight API key (`ak_...`). The permissions it needs are listed in
        the API description and on each operation: `runtime:scan` for scan and
        proxy routes, `runtime:events:read` for events, analytics, drift,
        health and service status, `runtime:config:read` to read the
        configuration and `runtime:config:write` to change it.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.