Amazon DevOps Guru List Log Anomalies API

The List Log Anomalies API from Amazon DevOps Guru — 1 operation(s) for list log anomalies.

GitHub OpenAPI
Business capability
Observability Management BC-4220.20

Operations 1

POST /list-log-anomalies List Anomalous Log Groups #

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-devops-guru:amazon-devops-guru-list-log-anomalies-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-devops-guru-list-log-anomalies-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon DevOps Guru List Log Anomalies API
  version: '2020-12-01'
  description: Generated from AWS's published Smithy model for Amazon DevOps Guru. 1 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://devops-guru.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /list-log-anomalies:
    post:
      operationId: ListAnomalousLogGroups
      summary: List Anomalous Log Groups
      description: Returns the list of log groups that contain log anomalies.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAnomalousLogGroupsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '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:
                InsightId:
                  type: string
                  description: The ID of the insight containing the log groups.
                MaxResults:
                  type: integer
                  description: The maximum number of results to return with a single call. To retrieve the remaining results,
                    make another call with the returned nextToken value.
                NextToken:
                  type: string
                  description: The pagination token to use to retrieve the next page of results for this operation. If this
                    value is null, it retrieves the first page.
              required:
              - InsightId
      tags:
      - List Log Anomalies
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: devops-guru
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
    AnomalousLogGroup:
      type: object
      properties:
        LogGroupName:
          type: string
          description: The name of the CloudWatch log group.
        ImpactStartTime:
          type: string
          format: date-time
          description: The time the anomalous log events began. The impact start time indicates the time of the first log
            anomaly event that occurs.
        ImpactEndTime:
          type: string
          format: date-time
          description: The time the anomalous log events stopped.
        NumberOfLogLinesScanned:
          type: integer
          description: The number of log lines that were scanned for anomalous log events.
        LogAnomalyShowcases:
          type: array
          items:
            $ref: '#/components/schemas/LogAnomalyShowcase'
          description: The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous
            log events.
    InternalServerException:
      type: object
      properties:
        Message:
          type: string
        RetryAfterSeconds:
          type: integer
          description: The number of seconds after which the action that caused the internal server exception can be retried.
      required:
      - Message
    ListAnomalousLogGroupsResponse:
      type: object
      properties:
        InsightId:
          type: string
          description: The ID of the insight containing the log groups.
        AnomalousLogGroups:
          type: array
          items:
            $ref: '#/components/schemas/AnomalousLogGroup'
          description: The list of Amazon CloudWatch log groups that are related to an insight.
        NextToken:
          type: string
          description: The pagination token to use to retrieve the next page of results for this operation. If there are no
            more pages, this value is null.
      required:
      - InsightId
      - AnomalousLogGroups
    LogAnomalyClass:
      type: object
      properties:
        LogStreamName:
          type: string
          description: The name of the Amazon CloudWatch log stream that the anomalous log event belongs to. A log stream
            is a sequence of log events that share the same source.
        LogAnomalyType:
          type: string
          enum:
          - KEYWORD
          - KEYWORD_TOKEN
          - FORMAT
          - HTTP_CODE
          - BLOCK_FORMAT
          - NUMERICAL_POINT
          - NUMERICAL_NAN
          - NEW_FIELD_NAME
          description: The type of log anomaly that has been detected.
        LogAnomalyToken:
          type: string
          description: The token where the anomaly was detected. This may refer to an exception or another location, or it
            may be blank for log anomalies such as format anomalies.
        LogEventId:
          type: string
          description: The ID of the log event.
        Explanation:
          type: string
          description: The explanation for why the log event is considered an anomaly.
        NumberOfLogLinesOccurrences:
          type: integer
          description: The number of log lines where this anomalous log event occurs.
        LogEventTimestamp:
          type: string
          format: date-time
          description: The time of the first occurrence of the anomalous log event.
    LogAnomalyShowcase:
      type: object
      properties:
        LogAnomalyClasses:
          type: array
          items:
            $ref: '#/components/schemas/LogAnomalyClass'
          description: A list of anomalous log events that may be related.
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
        ResourceId:
          type: string
          description: The ID of the Amazon Web Services resource that could not be found.
        ResourceType:
          type: string
          description: The type of the Amazon Web Services resource that could not be found.
      required:
      - Message
      - ResourceId
      - ResourceType
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
        QuotaCode:
          type: string
          description: The code of the quota that was exceeded, causing the throttling exception.
        ServiceCode:
          type: string
          description: The code of the service that caused the throttling exception.
        RetryAfterSeconds:
          type: integer
          description: The number of seconds after which the action that caused the throttling exception can be retried.
      required:
      - Message
    ValidationException:
      type: object
      properties:
        Message:
          type: string
          description: A message that describes the validation exception.
        Reason:
          type: string
          enum:
          - UNKNOWN_OPERATION
          - CANNOT_PARSE
          - FIELD_VALIDATION_FAILED
          - OTHER
          - INVALID_PARAMETER_COMBINATION
          - PARAMETER_INCONSISTENT_WITH_SERVICE_STATE
          description: The reason the validation exception was thrown.
        Fields:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
      required:
      - Message
    ValidationExceptionField:
      type: object
      properties:
        Name:
          type: string
          description: The name of the field.
        Message:
          type: string
          description: The message associated with the validation exception with information to help determine its cause.
      required:
      - Name
      - Message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/devops-guru/service/2020-12-01/devops-guru-2020-12-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)