CoreStack Resource API

Resource Pillar

Operations 32

GET /resource/inventory/{tenant_id}/cloud_account Getting the resources cloud account details based on the tenant #
POST /resource/inventory/{tenant_id}/count Get Inventory Count #
POST /resource/inventory/{tenant_id}/filters List Inventory Filters #
POST /resource/inventory/{tenant_id}/resource_listing Get Resource Listing #
POST /resource/inventory/{tenant_id}/resources Get Inventory Details #
GET /resource/locks/{tenant_id}/list_config_rules List Resource Lock Config Rules #
DELETE /resource/locks/{tenant_id}/lock_config_rule Delete Resource Lock Config Rule #
POST /resource/locks/{tenant_id}/lock_config_rule Create Resource Lock Config Rule #
GET /resource/posture/account_or_tenant/visibility List Resource Visibility Count #
GET /resource/posture/account_or_tenant/visibility/resources_without_locks_or_tags List Resource Visibility Details #
GET /resource/posture/list List Resource Posture Details #
GET /resource/{tenant_id}/locks/{cloud}/get_filters List Resource Lock Config Rule Filters #
POST /v1/resource/alert_actions/{service_account_id}/disable Disable Alert Rule #
POST /v1/resource/alert_actions/{service_account_id}/enable Enable Alert Rule #
POST /v1/resource/dashboard/detail Retrieves resource detail view (overview and configuration) #
POST /v1/resource/dashboard/detail/activity Retrieves resource activity timeline or event attribute details #
POST /v1/resource/dashboard/trend/list List of infra resource details captured for given summary filters #
POST /v1/resource/dashboard/trend/summary Retrieves trend summary of infrastructure resources #
POST /v1/resource/gcp/sku_details_for_resource Get GCP sku details for the given resource #
GET /v1/resource/inventory/item/{corestack_resource_id} Get ServiceResourceInventory Details #
POST /v1/resource/inventory/lookup Lookup ServiceResourceInventory Service Accounts #
POST /v1/resource/log_analytics/list_workspaces List of Log Analytics Workspaces at Tenant Level #
POST /v1/resource/smallest_sku_region Get unit price of smallest sku for a specific region #
POST /v1/resource/tags/bulk_remediation Create Bulk Resource Tag Remediation #
POST /v1/resource/tags/bulk_remediation_status Return bulk Resource Tag Remediation Status #
POST /v1/resource/tags/remediation/{tenant_id} Create Resource Tag Remediation #
POST /v1/resource/unit_price Get unit price for list of resources #
POST /v1/resource/virtual_machine_agents/batch Batch VM Agents Details #
POST /v1/resource/virtual_machine_agents/list List VM Agents Details #
POST /v2/resource_inventory/batch Batch Service Resource Details #
POST /v2/resource_inventory/list List Service Resources #
GET /v2/resources/{inventory_id}/dependent_resources Fetch all dependent 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/corestack-resource-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-resource-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CoreStack External Resource API
  version: 1.0.0
  termsOfService: http://corestack.io/
  license:
    name: CoreStack Inc License
    url: http://corestack.io/licenses/LICENSE-2.0.html
  description: Resource Pillar
servers:
- url: /
tags:
- name: Resource
  description: Resource Pillar
paths:
  /resource/inventory/{tenant_id}/cloud_account:
    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/RediscoverResponse'
      summary: Getting the resources cloud account details based on the tenant
      description: Getting the resources cloud account details based on the tenant
      operationId: FilterCloudAccount
      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: Cloud Service Name
        in: query
        x-cs-enum-type: CloudServiceName
        required: true
        name: service_name
        schema:
          type: string
          enum:
          - AWS
          - Azure
          - AzureStack
          - Azure_CSP
          - Azure_CSP-Direct
          - Azure_EA
          - Azure_MCA
          - Cloudstack
          - GCP
          - MS_VMM
          - OCI
          - Openstack
          - PrivateCloud
          - Rackspace
          - VMware
          - VMware_VCD
          - vCenter
          default: AWS
      security:
      - auth_token: []
      tags:
      - Resource
  /resource/inventory/{tenant_id}/count:
    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/CategoryCountResponse'
      summary: Get Inventory Count
      description: Get inventory category count based on the cloud and cloud account will list categories & Get inventory resource count based on the cloud and cloud account will list all resources with resource_category, resource_type, resource and will list only the count on number of resources available in particular category
      operationId: GetInventoryCount
      parameters:
      - name: tenant_id
        in: path
        required: true
        description: Specify the tenant ID for the inventory. This is a unique ID and can be retrieved using the List Tenants API.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CategoryCountRequest'
        required: true
  /resource/inventory/{tenant_id}/filters:
    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/InventoryResponse'
      summary: List Inventory Filters
      description: 'Get all the available filters for the corresponding cloud.Listing filter attributes will help us in getting resource details with the filters listed can be applied on the resource details call and this api is only to list filtersfor ex: AWS will have regions and tags as filters available and Azure will have resource groups and tags as filters'
      operationId: ListInventoryFilters
      parameters:
      - name: tenant_id
        in: path
        required: true
        description: Specify the tenant ID for the inventory. This is a unique ID and can be retrieved using the List Tenants API.
        schema:
          type: string
      - description: Name of the cloud
        in: query
        x-cs-enum-type: CloudServiceName
        required: true
        name: service_name
        schema:
          type: string
          enum:
          - AWS
          - Azure
          - AzureStack
          - Azure_CSP
          - Azure_CSP-Direct
          - Azure_EA
          - Azure_MCA
          - Cloudstack
          - GCP
          - MS_VMM
          - OCI
          - Openstack
          - PrivateCloud
          - Rackspace
          - VMware
          - VMware_VCD
          - vCenter
          default: AWS
      security:
      - auth_token: []
      tags:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InventoryFilterRequest'
        required: true
  /resource/inventory/{tenant_id}/resource_listing:
    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:
                type: array
                items:
                  $ref: '#/components/schemas/ResourceListingResponse'
      summary: Get Resource Listing
      description: Listing the Resource details
      operationId: GetResourceList
      parameters:
      - name: tenant_id
        in: path
        required: true
        description: Specify the tenant ID for the Resource. This is a unique ID and can be retrieved using the List Tenants API.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResourceListingRequest'
        required: true
  /resource/inventory/{tenant_id}/resources:
    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/InventoryResourceDetailsResponse'
      summary: Get Inventory Details
      description: 'Get resource details based on the cloud accounts, category, component, resource and filters can be applied based on the cloud and cloud account for ex: AWS will have regions in filters and Azure will have resource group as filters for listing resources.'
      operationId: GetInventoryDetails
      parameters:
      - name: tenant_id
        in: path
        required: true
        description: Specify the tenant ID for the inventory. This is a unique ID and can be retrieved using the List Tenants API.
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InventoryResourceDetailsRequest'
        required: true
  /resource/locks/{tenant_id}/list_config_rules:
    parameters:
    - name: tenant_id
      in: path
      required: true
      schema:
        type: string
    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/ListLockConfigRuleResponse'
      summary: List Resource Lock Config Rules
      description: Resource posture dashboard
      operationId: ListConfigRules
      parameters:
      - description: to filter locks by tenant or cloud account wise
        required: true
        name: scope
        in: query
        schema:
          type: string
          enum:
          - cloud_account
          - tenant
      security:
      - auth_token: []
      tags:
      - Resource
  /resource/locks/{tenant_id}/lock_config_rule:
    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: Removed
          content:
            application/json:
              schema:
                type: boolean
      summary: Delete Resource Lock Config Rule
      description: Delete a lock config rule under a CoreStack
      operationId: DeleteLockConfigRule
      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:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteLockConfigRuleRequest'
        required: true
    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'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateLockConfigRuleResponse'
      summary: Create Resource Lock Config Rule
      description: Creates a new lock config rule under a CoreStack
      operationId: createLockConfigRule
      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:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateResourceLockRequest'
        required: true
  /resource/posture/account_or_tenant/visibility:
    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/ResourceVisibilityResponse'
      summary: List Resource Visibility Count
      description: Resource visibility dashboard
      operationId: ListVisibilityCount
      parameters:
      - description: Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.
        name: tenant_id
        in: query
        schema:
          type: string
      - description: to filter resource data count by region, resource or account
        required: true
        name: sub_category
        in: query
        schema:
          type: string
          enum:
          - resource_type
          - application
          - account
          - region
          - resource_group
          - resource_category
      - description: filter data by cloud
        in: query
        x-cs-enum-type: CloudServiceName
        required: true
        name: cloud
        schema:
          type: string
          enum:
          - AWS
          - Azure
          - AzureStack
          - Azure_CSP
          - Azure_CSP-Direct
          - Azure_EA
          - Azure_MCA
          - Cloudstack
          - GCP
          - MS_VMM
          - OCI
          - Openstack
          - PrivateCloud
          - Rackspace
          - VMware
          - VMware_VCD
          - vCenter
          default: AWS
      - description: filter data by cloud account.Invalid if sub_Category by value is account
        name: cloud_account_id
        in: query
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Resource
  /resource/posture/account_or_tenant/visibility/resources_without_locks_or_tags:
    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/ResourceVisibilityListResponse'
      summary: List Resource Visibility Details
      description: Resource Visibility dashboard
      operationId: ListResourceVisibility
      parameters:
      - description: Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.
        required: true
        name: tenant_id
        in: query
        schema:
          type: string
      - description: filter data by cloud
        in: query
        x-cs-enum-type: CloudServiceName
        required: true
        name: cloud
        schema:
          type: string
          enum:
          - AWS
          - Azure
          - AzureStack
          - Azure_CSP
          - Azure_CSP-Direct
          - Azure_EA
          - Azure_MCA
          - Cloudstack
          - GCP
          - MS_VMM
          - OCI
          - Openstack
          - PrivateCloud
          - Rackspace
          - VMware
          - VMware_VCD
          - vCenter
          default: AWS
      - description: filter data by cloud account
        name: cloud_account_id
        in: query
        schema:
          type: string
      - description: to list resource data without tags, locks
        required: true
        name: filter_by
        in: query
        schema:
          type: string
          enum:
          - tags
          - locks
      - description: Number of records to display
        name: limit
        in: query
        schema:
          type: integer
      - description: Page number
        name: page
        in: query
        schema:
          type: integer
      security:
      - auth_token: []
      tags:
      - Resource
  /resource/posture/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/ResourcePostureResponse'
      summary: List Resource Posture Details
      description: Resource posture dashboard
      operationId: ListResourcePosture
      parameters:
      - description: to filter data by cloud provider or cloud account wise.By default tenant wise data displayed
        name: sub_category
        in: query
        schema:
          type: string
          enum:
          - cloud_account
          - cloud_provider
      - description: Specify the tenant ID as comma separated. This is a unique ID and can be retrieved using the List Tenants API.
        required: true
        name: tenant_ids
        in: query
        schema:
          type: string
      - description: Select one from the supported services to display summary for that particular service
        in: query
        x-cs-enum-type: CloudServiceName
        required: false
        name: service_name
        schema:
          type: string
          enum:
          - AWS
          - Azure
          - AzureStack
          - Azure_CSP
          - Azure_CSP-Direct
          - Azure_EA
          - Azure_MCA
          - Cloudstack
          - GCP
          - MS_VMM
          - OCI
          - Openstack
          - PrivateCloud
          - Rackspace
          - VMware
          - VMware_VCD
          - vCenter
          default: AWS
      - description: Search by account_name wise
        name: search
        in: query
        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
      security:
      - auth_token: []
      tags:
      - Resource
  /resource/{tenant_id}/locks/{cloud}/get_filters:
    parameters:
    - name: tenant_id
      in: path
      required: true
      schema:
        type: string
    - name: cloud
      in: path
      required: true
      schema:
        type: string
    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/ScopeFilter'
      summary: List Resource Lock Config Rule Filters
      description: Resource lock
      operationId: ListConfigRuleFilters
      parameters:
      - description: to get tags keys of cloud account
        name: tags
        in: query
        schema:
          type: boolean
      - description: get resource filters of cloud account
        name: resources
        in: query
        schema:
          type: boolean
      - description: get filters for tags of cloud account
        name: is_tag_wise
        in: query
        schema:
          type: boolean
      - description: to list of regions of cloud account
        name: region
        in: query
        schema:
          type: boolean
      - description: to list resource groups of cloud account
        name: resource_group
        in: query
        schema:
          type: boolean
      - description: to list zone of cloud account
        name: zone
        in: query
        schema:
          type: boolean
      - description: to list applicability filters of cloud account
        name: applicability_by
        in: query
        schema:
          type: boolean
      - description: cloud account id
        name: service_account_id
        in: query
        schema:
          type: string
      - description: scope
        name: scope
        in: query
        schema:
          type: string
          enum:
          - cloud_account
          - tenant
      security:
      - auth_token: []
      tags:
      - Resource
  /v1/resource/alert_actions/{service_account_id}/disable:
    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: Alert Rule Disabled
          content:
            application/json:
              schema:
                type: boolean
      summary: Disable Alert Rule
      description: Disable Alert Rule.
      operationId: DisableAlerts
      parameters:
      - name: service_account_id
        in: path
        required: true
        description: Specify the Service Account Id. This is a unique ID for each service account
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertActionRequest'
        required: true
  /v1/resource/alert_actions/{service_account_id}/enable:
    post:
      responses:
        '500':
          description: lInternal 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: Alert Rule Enabled
          content:
            application/json:
              schema:
                type: boolean
      summary: Enable Alert Rule
      description: Enable the Azure Alert Rule.
      operationId: EnableAlerts
      parameters:
      - name: service_account_id
        in: path
        required: true
        description: Specify the Service Account Id. This is a unique ID for each service account
        schema:
          type: string
      security:
      - auth_token: []
      tags:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertActionRequest'
        required: true
  /v1/resource/dashboard/detail:
    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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InfraResourceDetailResponse'
      summary: Retrieves resource detail view (overview and configuration)
      description: Retrieves detail view of a single infrastructure resource including identity, lifecycle metadata, and canonical configuration.
      operationId: InfraResourceDetail
      security:
      - auth_token: []
      tags:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InfraResourceDetailRequest'
        required: true
  /v1/resource/dashboard/detail/activity:
    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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InfraResourceActivityResponse'
      summary: Retrieves resource activity timeline or event attribute details
      description: 'Retrieves activity timeline or event details for a single infrastructure resource. Mode 1 (no event_ids): paginated timeline. Mode 2 (with event_ids): changed attribute details for diff.'
      operationId: InfraResourceActivity
      security:
      - auth_token: []
      tags:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InfraResourceActivityRequest'
        required: true
  /v1/resource/dashboard/trend/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: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InfraResourceTrendResourceResponse'
      summary: List of infra resource details captured for given summary filters
      description: List of infra resource IDs captured for given trend summary.
      operationId: ListInfraResourceTrendSummary
      security:
      - auth_token: []
      tags:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InfraResourceTrendSummaryListRequest'
        required: true
  /v1/resource/dashboard/trend/summary:
    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: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InfraResourceTrendSummary'
      summary: Retrieves trend summary of infrastructure resources
      description: Retrieves trend summary of infrastructure resources
      operationId: InfraResourceTrendSummary
      security:
      - auth_token: []
      tags:
      - Resource
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InfraResourceTrendSummaryRequest'
        required: true
  /v1/resource/gcp/sku_details_for_resource:
    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/GcpResourceSkuDetailsResponse'
      summary: Get GCP sku detail

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