CoreStack Recommendation API

Recommendation summary

Operations 19

POST /recommendations/{definition_id}/resolve Resolve Definition Recommendation #
POST /recommendations/{definition_id}/resolve_preexecute Resolve Recommendation Action Preexecute #
POST /recommendations/{tenant_id}/account/list List Recommendations by Account #
GET /recommendations/{tenant_id}/category/list List Recommendations by Category #
GET /recommendations/{tenant_id}/get/{recommendation_id} List Recommendations #
POST /recommendations/{tenant_id}/resolve/{recommendation_id} Resolve Recommendation #
POST /recommendations/{tenant_id}/resolve_preexecute/{recommendation_id} Resolve PreExecute Recommendation #
GET /recommendations/{tenant_id}/service_account/list List Recommendations by Cloud Account #
POST /v1/recommendations/batch Get the List of Recommendation Details #
POST /v1/recommendations/exclusion_rule/apply Apply all the Recommendation Exclusion Rules which are available/applicable/provided in the tenant #
POST /v1/recommendations/exclusion_rule/batch Fetch a Recommendation Exclusion Rule Details #
POST /v1/recommendations/exclusion_rule/create Creates a Recommendation Exclusion Rule #
DELETE /v1/recommendations/exclusion_rule/item/{rule_id} Delete Recommendation Exclusion Rule #
GET /v1/recommendations/exclusion_rule/item/{rule_id} Get Recommendation Exclusion Rule #
POST /v1/recommendations/exclusion_rule/item/{rule_id} Update Recommendation Exclusion Rule #
POST /v1/recommendations/exclusion_rule/list List of Recommendation Exclusion Rules #
POST /v1/recommendations/list List of Recommendations #
POST /v1/recommendations/resources/batch List of Resource Recommendation Details #
POST /v1/recommendations/resources/list Fetch a List of Resource Recommendation #

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-recommendation-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-recommendation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CoreStack External Recommendation API
  version: 1.0.0
  termsOfService: http://corestack.io/
  license:
    name: CoreStack Inc License
    url: http://corestack.io/licenses/LICENSE-2.0.html
  description: Recommendation summary
servers:
- url: /
tags:
- name: Recommendation
  description: Recommendation summary
paths:
  /recommendations/{definition_id}/resolve:
    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: Resolved
          content:
            application/json:
              schema:
                type: boolean
      summary: Resolve Definition Recommendation
      description: Resolve definition recommendations
      operationId: ResolveDefRecommendations
      parameters:
      - name: definition_id
        in: path
        required: true
        description: Specify the definition_id it will be fetched from list compliance posture DetailsForPolicies
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveDefRecommendationsRequest'
        required: true
  /recommendations/{definition_id}/resolve_preexecute:
    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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExecuteActionRecommendationResponse'
      summary: Resolve Recommendation Action Preexecute
      description: Resolve recommendations
      operationId: ResolveActionRecommendationExecute
      parameters:
      - name: definition_id
        in: path
        required: true
        description: Specify the definition_id it will be fetched from list compliance posture DetailsForPolicies
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExecuteResolveActionRecommendationsRequest'
        required: true
  /recommendations/{tenant_id}/account/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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListRecommendationByAccountResponse'
      summary: List Recommendations by Account
      description: List recommendations by account
      operationId: ListRecommendationsByAccount
      parameters:
      - name: tenant_id
        in: path
        required: true
        description: 'Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API. '
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListRecommendationByAccountRequest'
        required: true
  /recommendations/{tenant_id}/category/list:
    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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListRecommendationByCategoryResponse'
      summary: List Recommendations by Category
      description: list recommendations by category
      operationId: ListRecommendationsByCategory
      parameters:
      - name: tenant_id
        in: path
        required: true
        description: 'Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API. '
        schema:
          type: string
      - description: Specify the Category to fetch the recommendation data.Please enter comma separated values.Allowed values - Cost,Security,Access,Operation,Resource
        in: query
        name: classifications
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Recommendation
  /recommendations/{tenant_id}/get/{recommendation_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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListPolicyRecommendationsResponse'
      summary: List Recommendations
      description: List recommendations
      operationId: ListsRecommendations
      parameters:
      - name: tenant_id
        in: path
        required: true
        description: 'Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API. '
        schema:
          type: string
      - name: recommendation_id
        in: path
        required: true
        description: 'Specify the recommendation ID. This is a unique ID and can be retrieved using the ''List recommendations by Cloud Account'' or ''List recommendations by Category'' API call. '
        schema:
          type: string
      - description: Number of records to display
        name: limit
        in: query
        schema:
          type: integer
      - description: Page number
        name: page
        in: query
        schema:
          type: integer
      - description: Select the Status
        name: resource_status
        in: query
        schema:
          type: string
          enum:
          - open
      security:
      - auth_token: []
      tags:
      - Recommendation
  /recommendations/{tenant_id}/resolve/{recommendation_id}:
    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: Resolved
          content:
            application/json:
              schema:
                type: boolean
      summary: Resolve Recommendation
      description: Resolve recommendations
      operationId: ResolveRecommendation
      parameters:
      - name: tenant_id
        in: path
        required: true
        description: 'Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API. '
        schema:
          type: string
      - name: recommendation_id
        in: path
        required: true
        description: 'Specify the recommendation ID. This is a unique ID and can be retrieved using the ''List recommendations by Cloud Account'' or ''List recommendations by Category'' API call. '
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveRecommendationsRequest'
        required: true
  /recommendations/{tenant_id}/resolve_preexecute/{recommendation_id}:
    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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExecuteRecommendationRespModel'
      summary: Resolve PreExecute Recommendation
      description: Execute resolve recommendations
      operationId: ResolveRecommendationExecute
      parameters:
      - name: tenant_id
        in: path
        required: true
        description: 'Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API. '
        schema:
          type: string
      - name: recommendation_id
        in: path
        required: true
        description: 'Specify the recommendation ID. This is a unique ID and can be retrieved using the ''List recommendations by Cloud Account'' or ''List recommendations by Category'' API call. '
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExecuteResolveRecommendationsRequest'
        required: true
  /recommendations/{tenant_id}/service_account/list:
    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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListRecommendationByAccountResponse'
      summary: List Recommendations by Cloud Account
      description: List recommendations by cloud account
      operationId: ListRecommendationsByCloudAccount
      parameters:
      - name: tenant_id
        in: path
        required: true
        description: 'Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API. '
        schema:
          type: string
      - description: Specify the Cloud Account ID. It is unique ID and can be retrieved from the List Cloud Accounts API.
        in: query
        name: service_account_id
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Recommendation
  /v1/recommendations/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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecommendationDetailsBatchResponse'
      summary: Get the List of Recommendation Details
      description: Fetch a List of Recommendation Details
      operationId: BatchRecommendations
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchRequest'
        required: true
  /v1/recommendations/exclusion_rule/apply:
    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: Initiated
          content:
            application/json:
              schema:
                type: boolean
      summary: Apply all the Recommendation Exclusion Rules which are available/applicable/provided in the tenant
      description: Apply all Recommendation Exclusion Rule
      operationId: ApplyExclusionRule
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecommendationExclusionRuleApplyRequest'
        required: true
  /v1/recommendations/exclusion_rule/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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecommendationExclusionRuleBatchResponse'
      summary: Fetch a Recommendation Exclusion Rule Details
      description: Get Recommendation Exclusion rules
      operationId: BatchExclusionRules
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchRequest'
        required: true
  /v1/recommendations/exclusion_rule/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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecommendationExclusionRuleResponse'
      summary: Creates a Recommendation Exclusion Rule
      description: Create a Recommendation Exclusion Rule
      operationId: CreateExclusionRule
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecommendationExclusionRuleRequest'
        required: true
  /v1/recommendations/exclusion_rule/item/{rule_id}:
    delete:
      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: Deleted
          content:
            application/json:
              schema:
                type: boolean
      summary: Delete Recommendation Exclusion Rule
      description: Delete given rule ID
      operationId: DeleteExclusionRule
      parameters:
      - name: rule_id
        in: path
        required: true
        description: Specify the rule ID of the Recommendation Exclusion Rule to be removed.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Recommendation
    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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecommendationExclusionRuleGetResponse'
      summary: Get Recommendation Exclusion Rule
      description: Get a Particular Recommendation Exclusion Rule
      operationId: GetExclusionRule
      parameters:
      - name: rule_id
        in: path
        required: true
        description: Specify the rule Id to get the recommendation exclusion rule data
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Recommendation
    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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecommendationExclusionRuleResponse'
      summary: Update Recommendation Exclusion Rule
      description: Update Recommendation Exclusion Rule
      operationId: UpdateExclusionRule
      parameters:
      - name: rule_id
        in: path
        required: true
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecommendationExclusionRuleRequest'
        required: true
  /v1/recommendations/exclusion_rule/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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponse'
      summary: List of Recommendation Exclusion Rules
      description: List Recommendation Exclusion rules.
      operationId: ListExclusionRules
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecommendationExclusionRulesListRequest'
        required: true
  /v1/recommendations/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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponse'
      summary: List of Recommendations
      description: Fetch a List of Recommendation
      operationId: ListRecommendations
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListRecommendationRequest'
        required: true
  /v1/recommendations/resources/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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceRecommendationResponse'
      summary: List of Resource Recommendation Details
      description: List of resource recommendations details
      operationId: BatchResourceRecommendations
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchRequest'
        required: true
  /v1/recommendations/resources/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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponse'
      summary: Fetch a List of Resource Recommendation
      description: List of resource recommendations
      operationId: ListResourceRecommendations
      security:
      - auth_token: []
      tags:
      - Recommendation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListResourceRecommendationRequest'
        required: true
components:
  schemas:
    RecommendationDetails:
      properties:
        name:
          type: string
          description: Name of the recommendation
        tenant_id:
          type: string
          description: Recommendation tenant ID
          x-cs-type: ObjectId
        service_account_id:
          type: string
          description: Recommendation service account ID
          x-cs-type: ObjectId
        policy_ids:
          type: array
          description: List of policy IDs for which the recommendation is generated
          items:
            type: string
        policy_classification:
          type: string
          description: Policy Classification
          example: Access
          enum:
          - Access
          - Cost
          - Data
          - Network
          - Operation
          - Performance
          - Resource
          - Security
          x-cs-enum-type: PolicyClassification
        policy_sub_classification:
          type: string
          description: Policy Sub Classification
          example: Access
          enum:
          - Access
          - Anomaly
          - Application
          - Application_Integration
          - Availability
          - Backup
          - Billing
          - Budget
          - Config
          - Data
          - Databases
          - Encryption
          - End Point Protection
          - Governance
          - High
          - Host
          - Identity
          - Idle
          - Logging
          - Monitoring
          - Naming Standards
          - Network
          - Operation
          - Optimized
          - Orphaned
          - Performance
          - SNS
          - Security
          - Standards
          - Storage
          - Tags
          - Underutilized
          - Utilization
          - medium
          x-cs-enum-type: PolicySubClassification
        recommendation_source:
          type: string
          description: Source of the recommendation
          example: AWS-compute-optimizer
          enum:
          - AWS-compute-optimizer
          - AWS-ec2-compute-optimizer
          - AWS-lambda-compute-optimizer
          - AWS_advisor
          - Corestack-Profiler
          - Custom
          - GCP_advisor
          - OCI_advisor
          - activity_log
          - azure_advisor
          - policy
          - security_threats
          x-cs-enum-type: RecommendationSource
        impact:
          type: string
          description: Impact of the recommendation
          example: critical
          enum:
          - critical
          - high
          - informational
          - low
          - medium
          - uncategorized
          x-cs-enum-type: PolicyResourceRecommendationImpact
        status:
          type: string
          description: Status of the recommendation
          example: error
          enum:
          - error
          - in_progress
          - open
          - resolved
          - skipped
          - system_skipped
          x-cs-enum-type: PolicyResourceRecommendationStatus
      type: object
    ListRecommendationRequest:
      properties:
        list_context:
          description: Optional list context
          $ref: '#/components/schemas/ListContext'
        filters:
          description: Filters for the request
          $ref: '#/components/schemas/ListRecommendationFilters'
      type: object
    RecommendationExclusionRulesListRequest:
      properties:
        list_context:
          description: Optional list context
          $ref: '#/components/schemas/ListContext'
        sort:
          type: array
          description: Sort criteria
          items:
            $ref: '#/components/schemas/RecommendationExclusionRulesSortCriteria'
        filters:
          description: Filters for the request
          $ref: '#/components/schemas/RecommendationExclusionRuleFilters'
      type: object
    RecommendationByCategory:
      required:
      - classification
      - cloud_account_id
      - cloud_account_name
      - created_at
      - id
      - impact
      - name
      - policy_id
      - policy_name
      - resource_counts
      - service_name
      - source
      - status
      - sub_classification
      - tenant_name
      properties:
        id:
          type: string
          description: Recommendation ID
        policy_id:
          type: string
          description: Policy ID
        policy_name:
          type: string
          description: Policy Name
        name:
          type: string
          description: Name of the policy recommendation
        status:
          type: string
          description: Status
        impact:
          type: string
          description: Impact
        classification:
          type: string
          description: Oscar Classification
        sub_classification:
          type: string
          description: Sub classification of the above classification
        cloud_account_id:
          type: string
          description: Cloud Account ID
        cloud_account_name:
          type: string
          description: Cloud Account Name
        service_name:
          type: string
          description: Cloud Service Name
        tenant_name:
          type: string
          description: Tenant Name
        created_at:
          type: string
          description: Time of creation
        source:
          type: string
          description: Source
        resource_counts:
          description: Count of the resource that are open
          $ref: '#/components/schemas/ResourceCountByCategory'
      type: object
    ExecuteRecommendationRespModel:
      required:
      - data
      - message
      - status
      properties:
        status:
          type: string
          description: Status of that HTTP call
        message:
          type: string
          description: Message of HTTP call
        data:
          type: object
          description: response data
      type: object
    RecommendationExclusionRulesSortCriteria:
      required:
      - column
      properties:
        column:
          type: string
          example: name
          enum:
          - name
          - created_at
          x-cs-enum-type: RecommendationExclusionRulesSortColumn
        ascending:
          type: boolean
      type: object
    Recommendatio

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