Amazon Bedrock Bedrock Logging API

The Bedrock Logging API from Amazon Bedrock — 1 operation(s) for bedrock logging.

GitHub OpenAPI

Operations 3

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

DELETE /logging/modelinvocations Delete the model invocation logging configuration · Delete Model Invocation Logging Configuration #
Ask an LLM
“How do I stop logging model invocations?”
“Can I remove the invocation logging configuration entirely?”
Tell an agent destructive · confirm first
Delete the model invocation logging configuration.
Turn off invocation logging by removing the configuration.
GET /logging/modelinvocations Get the model invocation logging configuration · Get Model Invocation Logging Configuration #
Ask an LLM
“What is the current configuration for logging model invocations?”
“Which S3 bucket and prefix are set for model invocation logs?”
Tell an agent
Show the model invocation logging configuration.
Get the current invocation logging settings.
PUT /logging/modelinvocations Set the model invocation logging configuration · Put Model Invocation Logging Configuration #
Ask an LLM
“How do I start logging model invocations to an S3 bucket?”
“Can I change the S3 bucket used for model invocation logs?”
Tell an agent
Set the model invocation logging configuration to {config}.
Enable invocation logging with settings {config}.

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-logging-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-logging-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Bedrock Logging API
  version: '2023-04-20'
  description: Generated from AWS's published Smithy model for Amazon Bedrock. 3 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.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /logging/modelinvocations:
    delete:
      operationId: DeleteModelInvocationLoggingConfiguration
      summary: Delete Model Invocation Logging Configuration
      description: Delete the invocation logging.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteModelInvocationLoggingConfigurationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      tags:
      - Logging
    get:
      operationId: GetModelInvocationLoggingConfiguration
      summary: Get Model Invocation Logging Configuration
      description: Get the current configuration values for model invocation logging.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetModelInvocationLoggingConfigurationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      tags:
      - Logging
    put:
      operationId: PutModelInvocationLoggingConfiguration
      summary: Put Model Invocation Logging Configuration
      description: Set the configuration values for model invocation logging.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutModelInvocationLoggingConfigurationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                loggingConfig:
                  $ref: '#/components/schemas/LoggingConfig'
              required:
              - loggingConfig
      tags:
      - Logging
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: bedrock
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    CloudWatchConfig:
      type: object
      properties:
        logGroupName:
          type: string
          description: The log group name.
        roleArn:
          type: string
          description: The role Amazon Resource Name (ARN).
        largeDataDeliveryS3Config:
          $ref: '#/components/schemas/S3Config'
      required:
      - logGroupName
      - roleArn
    DeleteModelInvocationLoggingConfigurationResponse:
      type: object
      properties: {}
    GetModelInvocationLoggingConfigurationResponse:
      type: object
      properties:
        loggingConfig:
          $ref: '#/components/schemas/LoggingConfig'
    InternalServerException:
      type: object
      properties:
        message:
          type: string
    LoggingConfig:
      type: object
      properties:
        cloudWatchConfig:
          $ref: '#/components/schemas/CloudWatchConfig'
        s3Config:
          $ref: '#/components/schemas/S3Config'
        textDataDeliveryEnabled:
          type: boolean
          description: Set to include text data in the log delivery.
        imageDataDeliveryEnabled:
          type: boolean
          description: Set to include image data in the log delivery.
        embeddingDataDeliveryEnabled:
          type: boolean
          description: Set to include embeddings data in the log delivery.
        videoDataDeliveryEnabled:
          type: boolean
          description: Set to include video data in the log delivery.
        audioDataDeliveryEnabled:
          type: boolean
          description: Set to include audio data in the log delivery.
    PutModelInvocationLoggingConfigurationResponse:
      type: object
      properties: {}
    S3Config:
      type: object
      properties:
        bucketName:
          type: string
          description: S3 bucket name.
        keyPrefix:
          type: string
          description: S3 prefix.
      required:
      - bucketName
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
    ValidationException:
      type: object
      properties:
        message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bedrock/service/2023-04-20/bedrock-2023-04-20.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)