CoreStack Waf Assessment Runs API

Manage Assessment Runs

Operations 17

POST /v1/well-architected-framework/assessment-run-history/batch Get a batch of Assessment Run History details #
POST /v1/well-architected-framework/assessment-run-history/item/{assessment_run_history_id}/violations Get a list of RecordIdentity for resources that have violated the given policy job #
POST /v1/well-architected-framework/assessment-run-history/list Get the history IDs for the given filters #
POST /v1/well-architected-framework/assessment-run-question/batch Get a batch of Assessment Run History Question details #
POST /v1/well-architected-framework/assessment-run-question/list Get the Question IDs for the given filters #
POST /v1/well-architected-framework/assessment-run/batch Get a batch of assessment run details #
POST /v1/well-architected-framework/assessment-run/create Start an assessment run for the assessment definition #
GET /v1/well-architected-framework/assessment-run/item/{assessment_run_id} Fetch the details for an assessment run by ID #
POST /v1/well-architected-framework/assessment-run/item/{assessment_run_id}/answer Answer a question or best practice #
POST /v1/well-architected-framework/assessment-run/item/{assessment_run_id}/milestone Create a milestone - take snapshot of the current state of assessment run including state of questions, best practices, comments and attachments associated alongside #
POST /v1/well-architected-framework/assessment-run/item/{assessment_run_id}/scan Start a scan for an assessment run using the given context #
POST /v1/well-architected-framework/assessment-run/item/{assessment_run_id}/set-state Set the state for an assessment run #
POST /v1/well-architected-framework/assessment-run/list Get all assessment run IDs for the given filters #
POST /v1/well-architected-framework/assessment/report/batch List of assessment run report details #
POST /v1/well-architected-framework/assessment/report/generate Schedule the generation of a report for an assessment run #
GET /v1/well-architected-framework/assessment/report/item/{report_id} Fetch an assessment run report by ID #
POST /v1/well-architected-framework/assessment/report/list Get a list of assessment run report ids for given filters #

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/corestack-wafassessmentruns-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

corestack-wafassessmentruns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CoreStack External Waf Assessment Runs API
  version: 1.0.0
  termsOfService: http://corestack.io/
  license:
    name: CoreStack Inc License
    url: http://corestack.io/licenses/LICENSE-2.0.html
  description: Manage Assessment Runs
servers:
- url: /
tags:
- name: WafAssessmentRuns
  description: Manage Assessment Runs
paths:
  /v1/well-architected-framework/assessment-run-history/batch:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunHistory'
      summary: Get a batch of Assessment Run History details
      description: Get a batch of Assessment Run History details.
      operationId: history-batch
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecordIdentityBatchRequest'
        required: true
  /v1/well-architected-framework/assessment-run-history/item/{assessment_run_history_id}/violations:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RecordIdentity'
      summary: Get a list of RecordIdentity for resources that have violated the given policy job
      description: Get a list of resources that have violated the given policy job
      operationId: violations-list
      parameters:
      - name: assessment_run_history_id
        in: path
        required: true
        description: ID of the Assessment Run History. This can be retrieved using get history IDs Filter API.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunViolationRequest'
        required: true
  /v1/well-architected-framework/assessment-run-history/list:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RecordIdentity'
      summary: Get the history IDs for the given filters
      description: Get the history IDs for the given filters.
      operationId: history-list
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunHistoryRequest'
        required: true
  /v1/well-architected-framework/assessment-run-question/batch:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunQuestion'
      summary: Get a batch of Assessment Run History Question details
      description: Get a batch of Assessment Run History Question details.
      operationId: question-batch
      parameters:
      - description: ID of the Assessment Run History
        name: assessment_run_history_id
        in: query
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecordIdentityBatchRequest'
        required: true
  /v1/well-architected-framework/assessment-run-question/list:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RecordIdentity'
      summary: Get the Question IDs for the given filters
      description: Get the Question IDs for the given filters.
      operationId: question-list
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunQuestionRequest'
        required: true
  /v1/well-architected-framework/assessment-run/batch:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRun'
      summary: Get a batch of assessment run details
      description: Get a batch of assessment run
      operationId: batch@@@10
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecordIdentityBatchRequest'
        required: true
  /v1/well-architected-framework/assessment-run/create:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Started
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRun'
      summary: Start an assessment run for the assessment definition
      description: Create an assessment run for a given Assessment Definition
      operationId: create@@@11
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunCreateRequest'
        required: true
  /v1/well-architected-framework/assessment-run/item/{assessment_run_id}:
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRun'
      summary: Fetch the details for an assessment run by ID
      description: Get an assessment run by ID
      operationId: get@@@11
      parameters:
      - name: assessment_run_id
        in: path
        required: true
        description: ID of Assessment Run. This can retrieved using List Assessment run Filter API
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
  /v1/well-architected-framework/assessment-run/item/{assessment_run_id}/answer:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunQuestion'
      summary: Answer a question or best practice
      description: 'Answer a question or best practice

        Allows adding attachments, comments, and setting state for best practice or question'
      operationId: answer
      parameters:
      - name: assessment_run_id
        in: path
        required: true
        description: ID of Assessment Run. This can retrieved using List Assessment run Filter API
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunAnswerRequest'
        required: true
  /v1/well-architected-framework/assessment-run/item/{assessment_run_id}/milestone:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordIdentity'
      summary: Create a milestone - take snapshot of the current state of assessment run including state of questions, best practices, comments and attachments associated alongside
      description: Create a milestone on the Assessment Run.
      operationId: milestone
      parameters:
      - name: assessment_run_id
        in: path
        required: true
        description: ID of Assessment Run. This can retrieved using List Assessment run Filter API
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WellArchitectedAssessmentRunCreateMilestoneRequest'
        required: true
  /v1/well-architected-framework/assessment-run/item/{assessment_run_id}/scan:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Scan Started
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordIdentity'
      summary: Start a scan for an assessment run using the given context
      description: Start a scan for an assessment run using the given context
      operationId: scan
      parameters:
      - name: assessment_run_id
        in: path
        required: true
        description: ID of Assessment Run. This can retrieved using List Assessment run Filter API
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentContext'
        required: true
  /v1/well-architected-framework/assessment-run/item/{assessment_run_id}/set-state:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRun'
      summary: Set the state for an assessment run
      description: 'Set the state for an assessment run. Used to complete or abandon the run

        Used to complete or abandon the run'
      operationId: set-state@@@5
      parameters:
      - name: assessment_run_id
        in: path
        required: true
        description: ID of Assessment Run. This can retrieved using List Assessment run Filter API
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunSetStateRequest'
        required: true
  /v1/well-architected-framework/assessment-run/list:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RecordIdentity'
      summary: Get all assessment run IDs for the given filters
      description: Get all assessment run identities for the given filters
      operationId: list@@@4
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunRequest'
        required: true
  /v1/well-architected-framework/assessment/report/batch:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WellArchitectedFrameworkReport'
      summary: List of assessment run report details
      description: List of assessment run report details
      operationId: report-batch
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecordIdentityBatchRequest'
        required: true
  /v1/well-architected-framework/assessment/report/generate:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordIdentity'
      summary: Schedule the generation of a report for an assessment run
      description: Create a report for an assessment
      operationId: report-create@@@2
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WellArchitectedFrameworkReportCreateRequest'
        required: true
  /v1/well-architected-framework/assessment/report/item/{report_id}:
    get:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WellArchitectedFrameworkReport'
      summary: Fetch an assessment run report by ID
      description: Get a report for an assessment
      operationId: report-get@@@2
      parameters:
      - name: report_id
        in: path
        required: true
        description: ID of the report to fetch. This can be retrieved using Report Generation API.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
  /v1/well-architected-framework/assessment/report/list:
    post:
      responses:
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelError'
        '200':
          description: Fetched
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WellArchitectedFrameworkReportListResponse'
      summary: Get a list of assessment run report ids for given filters
      description: Get a list of assessment run report ids for given filters
      operationId: report-list
      security:
      - auth_token: []
      tags:
      - WafAssessmentRuns
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WellArchitectedFrameworkReportListRequest'
        required: true
components:
  schemas:
    WellArchitectedFrameworkAssessmentRunAnswer:
      properties:
        best_practice_id:
          type: string
          description: Identity of the Best Practice
        status:
          type: string
          description: Status of the question or best practice
          example: Open
          enum:
          - Open
          - NotApplicable
          - Unanswered
          - Verified
          - VerifiedWithException
          x-cs-enum-type: WellArchitectedFrameworkAssessmentRunAnswerStatus
        createdBy:
          type: string
          description: User ID of user who provided this answer
        createdOn:
          type: string
          format: date-time
          description: When the answer was provided
        owner:
          type: string
          description: User ID of the owner of this answer
        assigned_to:
          type: array
          description: List of user IDs assigned to this answer
          items:
            type: string
        attachment_ids:
          type: array
          description: List of Attachment IDs assigned to this answer
          items:
            type: string
        comment_id:
          type: string
          description: Unique ID for this comment
        comment:
          type: string
          description: Comment added to this answer
        recommendation:
          type: string
          description: Markdown text of the recommendation if edited by the user
        sync_failure_reason:
          type: string
          description: Sync failure reason
      type: object
    WellArchitectedFrameworkAssessmentRunRequest:
      properties:
        assessment_definition_ids:
          type: array
          items:
            $ref: '#/components/schemas/RecordIdentity'
      type: object
    WellArchitectedFrameworkAssessmentRunPolicyScan:
      properties:
        context:
          description: Context for the policy execution.
          $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentContext'
        cloud_account_id:
          type: string
          description: ID of the cloud account for this policy Job execution
        policy_uri:
          type: string
          description: External Identity of the Policy
        policy_job_id:
          type: string
          description: Identity of the Policy Job
        status:
          type: string
          description: Status of the policy scan
          example: Queued
          enum:
          - Queued
          - InProgress
          - Success
          - Failed
          x-cs-enum-type: WellArchitectedFrameworkAssessmentRunPolicyScanStatus
        failure:
          type: string
          description: Reason for failure of the policy scan
        started:
          type: string
          format: date-time
        completed:
          type: string
          format: date-time
        evaluated_resource_count:
          type: integer
        violated_resource_count:
          type: integer
      type: object
    WellArchitectedFrameworkAssessmentRunHistory:
      properties:
        sysId:
          type: string
          description: ID of the Assessment run history
        createdOn:
          type: string
          format: date-time
          description: Assessment run created on
        updatedOn:
          type: string
          format: date-time
          description: Assessment run updated on
        assessment_run:
          description: The Assessment Run this history is for
          $ref: '#/components/schemas/RecordIdentity'
        predecessor:
          description: Previous history entry
          $ref: '#/components/schemas/RecordIdentity'
        triggered_contexts:
          type: array
          description: Contexts that triggered the scan
          items:
            $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentContext'
        background_job:
          description: Background job associated with a relevant scan. If null, background job has completed.
          $ref: '#/components/schemas/RecordIdentity'
        milestone:
          type: string
          description: Name of the milestone (only present if this history entry represents a milestone)
        policy_scans:
          type: array
          description: Scans associated with this history step
          items:
            $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunPolicyScan'
        hyperscaler_milestone_number:
          type: integer
          description: 'Milestone number '
      type: object
    WellArchitectedFrameworkAssessmentRunSetStateRequest:
      properties:
        status:
          type: string
          description: Status of the assessment run
          example: InProgress
          enum:
          - InProgress
          - Abandoned
          - Completed
          x-cs-enum-type: WellArchitectedFrameworkAssessmentRunStatus
      type: object
    WellArchitectedFrameworkAssessmentRunCreateRequest:
      properties:
        assessment_version:
          description: The version of the Assessment used for this run
          $ref: '#/components/schemas/RecordIdentity'
        workload_version:
          description: The version of the Workload used for this run
          $ref: '#/components/schemas/RecordIdentity'
      type: object
    ReportConfigurationForAssessmentRun:
      allOf:
      - $ref: '#/components/schemas/ReportConfiguration'
      - required:
        - assessment_run
        - framework_id
        properties:
          assessment_run:
            description: The Assessment Run this report is for
            $ref: '#/components/schemas/RecordIdentity'
          framework_id:
            type: string
            description: Identity of the Framework
          filter_model:
            $ref: '#/components/schemas/QueryOperator'
        type: object
      x-cs-type-name: ReportConfigurationForAssessmentRun
    ModelError:
      required:
      - message
      properties:
        message:
          type: string
          description: Error response message.
      type: object
    WellArchitectedFrameworkReportCreateRequest:
      properties:
        report_configuration:
          description: Report configuration to generate report
          $ref: '#/components/schemas/ReportConfigurationForAssessmentRun'
      type: object
    WellArchitectedFrameworkAssessmentContext:
      properties:
        framework_id:
          type: string
          description: ID of the Framework. This can be retrieved using the Well Architected Framework List API.
        pillar_id:
          type: string
          description: ID of the Pillar associated with the Framework
        question_id:
          type: string
          description: ID of the Question associated with the Pillar
        best_practice_id:
          type: string
          description: ID of the Bestpractice associated with the Question
      type: object
    WellArchitectedFrameworkAssessmentRunAnswerRequest:
      properties:
        framework_id:
          type: string
          description: Identity of the Framework
        pillar_id:
          type: string
          description: Identity of the Pillar
        question_id:
          type: string
          description: Identity of the Question
        answer:
          description: Answer to add to question
          $ref: '#/components/schemas/WellArchitectedFrameworkAssessmentRunAnswer'
      type: object
    RecordIdentityBatchRequest:
      properties:
        ids:
          type: array
          items:
            $ref: '#/components/schemas/RecordIdentity'
      type: object
    WellArchitectedFrameworkReportListRequest:
      properties:
        list_context:
          description: Optional list context
          $ref: '#/components/schemas/ListContext'
        filters:
          description: Filters for the request
          $ref: '#/components/schemas/WellArchitectedFrameworkReportListFilter'
      type: object
    RecordIdentity:
      properties:
        sysId:
          type: string
          description: Unique Identifier of the tracked item
        lastUpdate:
          type: string
          format: date-time
          description: Last update of the tracked item
        table:
          type: string
          description: Context of the tracked item
      type: object
    ListContext:
      properties:
        batch_size:
          type: integer
          description: Max number of ids in the response
        batch_offset:
          type: integer
          description: Offset of batche

# --- truncated at 32 KB (65 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/corestack/refs/heads/main/openapi/corestack-wafassessmentruns-api-openapi.yml