Amazon CodeGuru Profiler Internal API

The Internal API from Amazon CodeGuru Profiler — 4 operation(s) for internal.

GitHub OpenAPI

Operations 4

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

GET /internal/findingsReports Summarize findings reports across the account · Get Findings Report Account Summary #
Ask an LLM
“Which of my profiling groups have findings reports across my whole AWS account?”
“Can I see a CodeGuru Profiler findings summary for every profiling group at once?”
Tell an agent
Summarize the findings reports for all profiling groups in my account.
Show the account-wide findings summary, daily reports only: {dailyReportsOnly}.
GET /internal/profilingGroups/{profilingGroupName}/recommendations Get Recommendations #
GET /internal/profilingGroups/{profilingGroupName}/findingsReports List Findings Reports #
POST /internal/profilingGroups/{profilingGroupName}/anomalies/{anomalyInstanceId}/feedback Give feedback on a detected anomaly · Submit Feedback #
Ask an LLM
“How do I tell the profiler whether a detected anomaly was useful?”
“Can I mark an anomaly as a false alarm and add a comment?”
Tell an agent
Mark anomaly {anomalyInstanceId} in profiling group {profilingGroupName} as {type} feedback.
Send {type} feedback on anomaly {anomalyInstanceId} for {profilingGroupName} with the comment {comment}.

Documentation

Specifications

Schemas & Data

Other Resources

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-codeguru-profiler:amazon-codeguru-profiler-internal-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-codeguru-profiler-internal-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon CodeGuru Profiler Internal API
  version: '2019-07-18'
  description: Generated from AWS's published Smithy model for Amazon CodeGuru Profiler. 4 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://codeguru-profiler.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /internal/findingsReports:
    get:
      operationId: GetFindingsReportAccountSummary
      summary: Get Findings Report Account Summary
      description: Returns a list of FindingsReportSummary objects that contain analysis results for all profiling groups
        in your AWS account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetFindingsReportAccountSummaryResponse'
        '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'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: The nextToken value returned from a previous paginated GetFindingsReportAccountSummary request where
          maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the
          previous results that returned the nextToken value. This token should be treated as an opaque identifier that is
          only used to retrieve the next items in a list and not for other programmatic purposes.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results returned by GetFindingsReportAccountSummary in paginated output. When this
          parameter is used, GetFindingsReportAccountSummary only returns maxResults results in a single page along with a
          nextToken response element. The remaining results of the initial request can be seen by sending another GetFindingsReportAccountSummary
          request with the returned nextToken value.
      - name: dailyReportsOnly
        in: query
        schema:
          type: boolean
        description: A Boolean value indicating whether to only return reports from daily profiles. If set to True, only analysis
          data from daily profiles is returned. If set to False, analysis data is returned from smaller time windows (for
          example, one hour).
      tags:
      - Internal
  /internal/profilingGroups/{profilingGroupName}/recommendations:
    get:
      operationId: GetRecommendations
      summary: Get Recommendations
      description: Returns a list of Recommendation objects that contain recommendations for a profiling group for a given
        time period. A list of Anomaly objects that contains details about anomalies detected in the profiling group for the
        same time period is also returned.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRecommendationsResponse'
        '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'
      parameters:
      - name: profilingGroupName
        in: path
        required: true
        schema:
          type: string
        description: The name of the profiling group to get analysis data about.
      - name: startTime
        in: query
        required: true
        schema:
          type: string
          format: date-time
        description: The end time of the profile to get analysis data about. You must specify startTime and endTime. This
          is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June
          1, 2020 1:15:02 PM UTC.
      - name: endTime
        in: query
        required: true
        schema:
          type: string
          format: date-time
        description: The start time of the profile to get analysis data about. You must specify startTime and endTime. This
          is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June
          1, 2020 1:15:02 PM UTC.
      - name: locale
        in: query
        schema:
          type: string
        description: The language used to provide analysis. Specify using a string that is one of the following BCP 47 language
          codes. de-DE - German, Germany en-GB - English, United Kingdom en-US - English, United States es-ES - Spanish, Spain
          fr-FR - French, France it-IT - Italian, Italy ja-JP - Japanese, Japan ko-KR - Korean, Republic of Korea pt-BR -
          Portugese, Brazil zh-CN - Chinese, China zh-TW - Chinese, Taiwan
      tags:
      - Internal
  /internal/profilingGroups/{profilingGroupName}/findingsReports:
    get:
      operationId: ListFindingsReports
      summary: List Findings Reports
      description: List the available reports for a given profiling group and time range.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListFindingsReportsResponse'
        '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'
      parameters:
      - name: profilingGroupName
        in: path
        required: true
        schema:
          type: string
        description: The name of the profiling group from which to search for analysis data.
      - name: startTime
        in: query
        required: true
        schema:
          type: string
          format: date-time
        description: The start time of the profile to get analysis data about. You must specify startTime and endTime. This
          is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June
          1, 2020 1:15:02 PM UTC.
      - name: endTime
        in: query
        required: true
        schema:
          type: string
          format: date-time
        description: The end time of the profile to get analysis data about. You must specify startTime and endTime. This
          is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June
          1, 2020 1:15:02 PM UTC.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The nextToken value returned from a previous paginated ListFindingsReportsRequest request where maxResults
          was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous
          results that returned the nextToken value. This token should be treated as an opaque identifier that is only used
          to retrieve the next items in a list and not for other programmatic purposes.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of report results returned by ListFindingsReports in paginated output. When this parameter
          is used, ListFindingsReports only returns maxResults results in a single page along with a nextToken response element.
          The remaining results of the initial request can be seen by sending another ListFindingsReports request with the
          returned nextToken value.
      - name: dailyReportsOnly
        in: query
        schema:
          type: boolean
        description: A Boolean value indicating whether to only return reports from daily profiles. If set to True, only analysis
          data from daily profiles is returned. If set to False, analysis data is returned from smaller time windows (for
          example, one hour).
      tags:
      - Internal
  /internal/profilingGroups/{profilingGroupName}/anomalies/{anomalyInstanceId}/feedback:
    post:
      operationId: SubmitFeedback
      summary: Submit Feedback
      description: Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitFeedbackResponse'
        '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'
      parameters:
      - name: profilingGroupName
        in: path
        required: true
        schema:
          type: string
        description: The name of the profiling group that is associated with the analysis data.
      - name: anomalyInstanceId
        in: path
        required: true
        schema:
          type: string
        description: The universally unique identifier (UUID) of the AnomalyInstance object that is included in the analysis
          data.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  description: The feedback tpye. Thee are two valid values, Positive and Negative.
                comment:
                  type: string
                  description: Optional feedback about this anomaly.
              required:
              - type
      tags:
      - Internal
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: codeguru-profiler
  schemas:
    Anomaly:
      type: object
      properties:
        metric:
          $ref: '#/components/schemas/Metric'
        reason:
          type: string
          description: The reason for which metric was flagged as anomalous.
        instances:
          type: array
          items:
            $ref: '#/components/schemas/AnomalyInstance'
          description: A list of the instances of the detected anomalies during the requested period.
      required:
      - metric
      - reason
      - instances
    AnomalyInstance:
      type: object
      properties:
        id:
          type: string
          description: The universally unique identifier (UUID) of an instance of an anomaly in a metric.
        startTime:
          type: string
          format: date-time
          description: The start time of the period during which the metric is flagged as anomalous. This is specified using
            the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
            PM UTC.
        endTime:
          type: string
          format: date-time
          description: The end time of the period during which the metric is flagged as anomalous. This is specified using
            the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
            PM UTC.
        userFeedback:
          $ref: '#/components/schemas/UserFeedback'
      required:
      - id
      - startTime
    FindingsReportSummary:
      type: object
      properties:
        id:
          type: string
          description: The universally unique identifier (UUID) of the recommendation report.
        profilingGroupName:
          type: string
          description: The name of the profiling group that is associated with the analysis data.
        profileStartTime:
          type: string
          format: date-time
          description: The start time of the profile the analysis data is about. This is specified using the ISO 8601 format.
            For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
        profileEndTime:
          type: string
          format: date-time
          description: The end time of the period during which the metric is flagged as anomalous. This is specified using
            the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
            PM UTC.
        totalNumberOfFindings:
          type: integer
          description: The total number of different recommendations that were found by the analysis.
    GetFindingsReportAccountSummaryResponse:
      type: object
      properties:
        reportSummaries:
          type: array
          items:
            $ref: '#/components/schemas/FindingsReportSummary'
          description: The return list of FindingsReportSummary objects taht contain summaries of analysis results for all
            profiling groups in your AWS account.
        nextToken:
          type: string
          description: The nextToken value to include in a future GetFindingsReportAccountSummary request. When the results
            of a GetFindingsReportAccountSummary request exceed maxResults, this value can be used to retrieve the next page
            of results. This value is null when there are no more results to return.
      required:
      - reportSummaries
    GetRecommendationsResponse:
      type: object
      properties:
        profilingGroupName:
          type: string
          description: The name of the profiling group the analysis data is about.
        profileStartTime:
          type: string
          format: date-time
          description: The start time of the profile the analysis data is about. This is specified using the ISO 8601 format.
            For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
        profileEndTime:
          type: string
          format: date-time
          description: The end time of the profile the analysis data is about. This is specified using the ISO 8601 format.
            For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
        recommendations:
          type: array
          items:
            $ref: '#/components/schemas/Recommendation'
          description: The list of recommendations that the analysis found for this profile.
        anomalies:
          type: array
          items:
            $ref: '#/components/schemas/Anomaly'
          description: The list of anomalies that the analysis has found for this profile.
      required:
      - profilingGroupName
      - profileStartTime
      - profileEndTime
      - recommendations
      - anomalies
    InternalServerException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ListFindingsReportsResponse:
      type: object
      properties:
        findingsReportSummaries:
          type: array
          items:
            $ref: '#/components/schemas/FindingsReportSummary'
          description: The list of analysis results summaries.
        nextToken:
          type: string
          description: The nextToken value to include in a future ListFindingsReports request. When the results of a ListFindingsReports
            request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when
            there are no more results to return.
      required:
      - findingsReportSummaries
    Match:
      type: object
      properties:
        targetFramesIndex:
          type: integer
          description: The target frame that triggered a match.
        frameAddress:
          type: string
          description: The location in the profiling graph that contains a recommendation found during analysis.
        thresholdBreachValue:
          type: number
          description: The value in the profile data that exceeded the recommendation threshold.
    Metric:
      type: object
      properties:
        frameName:
          type: string
          description: The name of the method that appears as a frame in any stack in a profile.
        type:
          type: string
          description: A type that specifies how a metric for a frame is analyzed. The supported value AggregatedRelativeTotalTime
            is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in
            a profile.
        threadStates:
          type: array
          items:
            type: string
          description: The list of application runtime thread states that is used to calculate the metric value for the frame.
      required:
      - frameName
      - type
      - threadStates
    Pattern:
      type: object
      properties:
        id:
          type: string
          description: The universally unique identifier (UUID) of this pattern.
        name:
          type: string
          description: The name for this pattern.
        description:
          type: string
          description: The description of the recommendation. This explains a potential inefficiency in a profiled application.
        resolutionSteps:
          type: string
          description: A string that contains the steps recommended to address the potential inefficiency.
        targetFrames:
          type: array
          items:
            type: array
            items:
              type: string
          description: A list of frame names that were searched during the analysis that generated a recommendation.
        thresholdPercent:
          type: number
          description: The percentage of time an application spends in one method that triggers a recommendation. The percentage
            of time is the same as the percentage of the total gathered sample counts during analysis.
        countersToAggregate:
          type: array
          items:
            type: string
          description: A list of the different counters used to determine if there is a match.
    Recommendation:
      type: object
      properties:
        allMatchesCount:
          type: integer
          description: How many different places in the profile graph triggered a match.
        allMatchesSum:
          type: number
          description: How much of the total sample count is potentially affected.
        pattern:
          $ref: '#/components/schemas/Pattern'
        topMatches:
          type: array
          items:
            $ref: '#/components/schemas/Match'
          description: List of the matches with most impact.
        startTime:
          type: string
          format: date-time
          description: The start time of the profile that was used by this analysis. This is specified using the ISO 8601
            format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
        endTime:
          type: string
          format: date-time
          description: End time of the profile that was used by this analysis. This is specified using the ISO 8601 format.
            For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
      required:
      - allMatchesCount
      - allMatchesSum
      - pattern
      - topMatches
      - startTime
      - endTime
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    SubmitFeedbackResponse:
      type: object
      properties: {}
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    UserFeedback:
      type: object
      properties:
        type:
          type: string
          description: Optional Positive or Negative feedback submitted by the user about whether the recommendation is useful
            or not.
      required:
      - type
    ValidationException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/codeguruprofiler/service/2019-07-18/codeguruprofiler-2019-07-18.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)