Pulumi ResourcesUnderManagement API

The ResourcesUnderManagement API from Pulumi — 2 operation(s) for resourcesundermanagement.

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/pulumi-resourcesundermanagement-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

pulumi-resourcesundermanagement-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  description: APIs and Definitions for the Pulumi Cloud product.
  title: Pulumi APIs AccessTokens ResourcesUnderManagement API
  version: 1.0.0
tags:
- name: ResourcesUnderManagement
paths:
  /api/orgs/{orgName}/discovered-resources/summary:
    get:
      description: 'GetUsageSummaryDiscoveredResourceHours handles request to fetch the summary

        of discovered resources for an organization.'
      operationId: GetUsageSummaryDiscoveredResourceHours
      parameters:
      - description: The organization name
        in: path
        name: orgName
        required: true
        schema:
          type: string
      - description: Time granularity for aggregation (e.g., 'hourly', 'daily', 'monthly')
        in: query
        name: granularity
        schema:
          type: string
      - description: Number of days to look back from the current time or lookbackStart
        in: query
        name: lookbackDays
        schema:
          format: int64
          type: integer
      - description: Unix timestamp for the start of the lookback period (defaults to current time if omitted)
        in: query
        name: lookbackStart
        schema:
          format: int64
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetResourceCountSummaryResponse'
          description: OK
        '204':
          description: No Content
      summary: GetUsageSummaryDiscoveredResourceHours
      tags:
      - ResourcesUnderManagement
  /api/orgs/{orgName}/resources/summary:
    get:
      description: 'GetUsageSummaryResourceHours handles request to fetch the summary

        of resources under management (RUM) and resource hours under management

        (RHUM) for an organization.'
      operationId: GetUsageSummaryResourceHours
      parameters:
      - description: The organization name
        in: path
        name: orgName
        required: true
        schema:
          type: string
      - description: Time granularity for aggregation (e.g., 'hourly', 'daily', 'monthly')
        in: query
        name: granularity
        schema:
          type: string
      - description: Number of days to look back from the current time or lookbackStart
        in: query
        name: lookbackDays
        schema:
          format: int64
          type: integer
      - description: Unix timestamp for the start of the lookback period (defaults to current time if omitted)
        in: query
        name: lookbackStart
        schema:
          format: int64
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetResourceCountSummaryResponse'
          description: OK
        '204':
          description: No Content
      summary: GetUsageSummaryResourceHours
      tags:
      - ResourcesUnderManagement
components:
  schemas:
    ResourceCountSummary:
      description: 'ResourceCountSummary represents a single point of summary for resources

        under management for an organization.'
      properties:
        day:
          description: The day of month. Ranges from 1 to 31.
          format: int64
          type: integer
          x-order: 3
        hour:
          description: The hour of the day. Ranges from 0 to 23.
          format: int64
          type: integer
          x-order: 5
        month:
          description: The month of the year. Ranges from 1 to 12.
          format: int64
          type: integer
          x-order: 2
        resourceHours:
          description: 'The RHUM, which is the number of hours the resources under management have

            been running. Calculated by getting the sum of all the resources for the

            given time frame. 1 resource hour = 1 Pulumi credit.'
          format: int64
          type: integer
          x-order: 7
        resources:
          description: 'The RUM (total number of resources under management at a given time).

            Calculated by getting the average of the all the resources for the given

            time frame.'
          format: int64
          type: integer
          x-order: 6
        weekNumber:
          description: The week number in the year with Sunday marking the start of the week. Ranges from 0-53.
          format: int64
          type: integer
          x-order: 4
        year:
          description: The 4-digit year.
          format: int64
          type: integer
          x-order: 1
      required:
      - resourceHours
      - resources
      - year
      type: object
    GetResourceCountSummaryResponse:
      description: Response body for retrieving a summary of resource counts.
      properties:
        summary:
          description: The list of resource count summaries
          items:
            $ref: '#/components/schemas/ResourceCountSummary'
          type: array
          x-order: 1
      required:
      - summary
      type: object