Plutus Cost Tags API

The cost-tags API from Plutus — 10 operation(s) for cost-tags.

GitHub OpenAPI

Operations 13

GET /v1/accounts/{accountId}/cost-tags Get accounts by account id cost tags #
GET /v1/accounts/{accountId}/cost-tags/{tagKey}/rules Get accounts by account id cost tags by tag key rules #
GET /v1/accounts/{accountId}/cost-tags/cost-source-tag-keys Get accounts by account id cost tags cost source tag keys #
GET /v1/accounts/{accountId}/cost-tags/cost-source-tag-values Get accounts by account id cost tags cost source tag values #
POST /v1/accounts/{accountId}/cost-tags/rules Create accounts by account id cost tags rules #
POST /v1/accounts/{accountId}/cost-tags/rules/preview Create accounts by account id cost tags rules preview #
PUT /v1/accounts/{accountId}/cost-tags/rules/{id} Replace accounts by account id cost tags rules by id #
DELETE /v1/accounts/{accountId}/cost-tags/rules/{id} Delete accounts by account id cost tags rules by id #
GET /v1/accounts/{accountId}/cost-tags/{tagKey}/settings Get accounts by account id cost tags by tag key settings #
PUT /v1/accounts/{accountId}/cost-tags/{tagKey}/settings Replace accounts by account id cost tags by tag key settings #
GET /v1/accounts/{accountId}/cost-tags/{tagKey}/targets Get accounts by account id cost tags by tag key targets #
PUT /v1/accounts/{accountId}/cost-tags/{tagKey}/targets/{tagValue} Replace accounts by account id cost tags by tag key targets by tag value #
DELETE /v1/accounts/{accountId}/cost-tags/{tagKey}/targets/{tagValue} Delete accounts by account id cost tags by tag key targets by tag value #

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/plutus-cloud-com:plutus-cloud-com-cost-tags-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

plutus-cloud-com-cost-tags-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Plutus Cloud Com Cost Tags API
  version: 1.0.0
  description: 'Operations tagged cost-tags across 2 of this provider''s published API definitions: console_openapi.json, plutus-cloud-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://console.plutus-cloud.com
security:
- bearerAuth: []
tags:
- name: cost-tags
paths:
  /v1/accounts/{accountId}/cost-tags:
    get:
      tags:
      - cost-tags
      parameters:
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      responses:
        '200':
          description: Default Response
      summary: Get accounts by account id cost tags
      x-summary-source: derived
      operationId: getV1AccountsByAccountIdCostTags
      x-operation-id-source: derived
    servers:
    - url: https://console.plutus-cloud.com
  /v1/accounts/{accountId}/cost-tags/{tagKey}/rules:
    get:
      tags:
      - cost-tags
      parameters:
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      - schema:
          type: string
        in: path
        name: tagKey
        required: true
      responses:
        '200':
          description: Default Response
      summary: Get accounts by account id cost tags by tag key rules
      x-summary-source: derived
      operationId: getV1AccountsByAccountIdCostTagsByTagKeyRules
      x-operation-id-source: derived
    servers:
    - url: https://console.plutus-cloud.com
  /v1/accounts/{accountId}/cost-tags/cost-source-tag-keys:
    get:
      tags:
      - cost-tags
      parameters:
      - schema:
          type: string
          maxLength: 50
        in: query
        name: cost_source_id
        required: false
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      responses:
        '200':
          description: Default Response
      summary: Get accounts by account id cost tags cost source tag keys
      x-summary-source: derived
      operationId: getV1AccountsByAccountIdCostTagsCostSourceTagKeys
      x-operation-id-source: derived
    servers:
    - url: https://console.plutus-cloud.com
  /v1/accounts/{accountId}/cost-tags/cost-source-tag-values:
    get:
      tags:
      - cost-tags
      parameters:
      - schema:
          type: string
          minLength: 1
          maxLength: 200
        in: query
        name: tag_name
        required: true
      - schema:
          type: string
          maxLength: 50
        in: query
        name: cost_source_id
        required: false
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      responses:
        '200':
          description: Default Response
      summary: Get accounts by account id cost tags cost source tag values
      x-summary-source: derived
      operationId: getV1AccountsByAccountIdCostTagsCostSourceTagValues
      x-operation-id-source: derived
    servers:
    - url: https://console.plutus-cloud.com
  /v1/accounts/{accountId}/cost-tags/rules:
    post:
      tags:
      - cost-tags
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - tag_key
              - match
              - tag_value
              properties:
                tag_key:
                  type: string
                  minLength: 1
                  maxLength: 100
                grain:
                  type: string
                  enum:
                  - service
                  - service_region
                  - account
                  - usage_type
                  - service_usage_type
                  - identity
                  - resource
                match:
                  type: object
                  minProperties: 1
                tag_value:
                  type: string
                  minLength: 1
                  maxLength: 200
                priority:
                  type: integer
                splits:
                  type:
                  - array
                  - 'null'
                  maxItems: 50
                  items:
                    type: object
                    additionalProperties: false
                    required:
                    - tag_value
                    - weight
                    properties:
                      tag_value:
                        type: string
                        minLength: 1
                        maxLength: 200
                      weight:
                        type: number
                        exclusiveMinimum: 0
                        maximum: 1
      parameters:
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      responses:
        '200':
          description: Default Response
      summary: Create accounts by account id cost tags rules
      x-summary-source: derived
      operationId: postV1AccountsByAccountIdCostTagsRules
      x-operation-id-source: derived
    servers:
    - url: https://console.plutus-cloud.com
  /v1/accounts/{accountId}/cost-tags/rules/preview:
    post:
      tags:
      - cost-tags
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - tag_key
              - match
              - tag_value
              properties:
                tag_key:
                  type: string
                  minLength: 1
                  maxLength: 100
                grain:
                  type: string
                  enum:
                  - service
                  - service_region
                  - account
                  - usage_type
                  - service_usage_type
                  - identity
                  - resource
                match:
                  type: object
                  minProperties: 1
                tag_value:
                  type: string
                  minLength: 1
                  maxLength: 200
                priority:
                  type: integer
                splits:
                  type:
                  - array
                  - 'null'
                  maxItems: 50
                  items:
                    type: object
                    additionalProperties: false
                    required:
                    - tag_value
                    - weight
                    properties:
                      tag_value:
                        type: string
                        minLength: 1
                        maxLength: 200
                      weight:
                        type: number
                        exclusiveMinimum: 0
                        maximum: 1
                rule_id:
                  type: integer
      parameters:
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      responses:
        '200':
          description: Default Response
      summary: Create accounts by account id cost tags rules preview
      x-summary-source: derived
      operationId: postV1AccountsByAccountIdCostTagsRulesPreview
      x-operation-id-source: derived
    servers:
    - url: https://console.plutus-cloud.com
  /v1/accounts/{accountId}/cost-tags/rules/{id}:
    put:
      tags:
      - cost-tags
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                match:
                  type: object
                  minProperties: 1
                tag_value:
                  type: string
                  minLength: 1
                  maxLength: 200
                priority:
                  type: integer
                splits:
                  type:
                  - array
                  - 'null'
                  maxItems: 50
                  items:
                    type: object
                    additionalProperties: false
                    required:
                    - tag_value
                    - weight
                    properties:
                      tag_value:
                        type: string
                        minLength: 1
                        maxLength: 200
                      weight:
                        type: number
                        exclusiveMinimum: 0
                        maximum: 1
      parameters:
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      - schema:
          type: string
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
      summary: Replace accounts by account id cost tags rules by id
      x-summary-source: derived
      operationId: putV1AccountsByAccountIdCostTagsRulesById
      x-operation-id-source: derived
    delete:
      tags:
      - cost-tags
      parameters:
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      - schema:
          type: string
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
      summary: Delete accounts by account id cost tags rules by id
      x-summary-source: derived
      operationId: deleteV1AccountsByAccountIdCostTagsRulesById
      x-operation-id-source: derived
    servers:
    - url: https://console.plutus-cloud.com
  /v1/accounts/{accountId}/cost-tags/{tagKey}/settings:
    get:
      tags:
      - cost-tags
      parameters:
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      - schema:
          type: string
        in: path
        name: tagKey
        required: true
      responses:
        '200':
          description: Default Response
      summary: Get accounts by account id cost tags by tag key settings
      x-summary-source: derived
      operationId: getV1AccountsByAccountIdCostTagsByTagKeySettings
      x-operation-id-source: derived
    put:
      tags:
      - cost-tags
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                redistribute_bucket:
                  type:
                  - string
                  - 'null'
                  maxLength: 200
                redistribute_basis:
                  type: string
                  enum:
                  - attributed_spend
                  - usage_metric
                redistribute_usage_metric:
                  type:
                  - string
                  - 'null'
                  maxLength: 100
                redistribute_usage_source_id:
                  type:
                  - string
                  - 'null'
                  maxLength: 100
                redistribute_usage_dimension:
                  type:
                  - string
                  - 'null'
                  maxLength: 64
      parameters:
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      - schema:
          type: string
        in: path
        name: tagKey
        required: true
      responses:
        '200':
          description: Default Response
      summary: Replace accounts by account id cost tags by tag key settings
      x-summary-source: derived
      operationId: putV1AccountsByAccountIdCostTagsByTagKeySettings
      x-operation-id-source: derived
    servers:
    - url: https://console.plutus-cloud.com
  /v1/accounts/{accountId}/cost-tags/{tagKey}/targets:
    get:
      tags:
      - cost-tags
      parameters:
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      - schema:
          type: string
        in: path
        name: tagKey
        required: true
      responses:
        '200':
          description: Default Response
      summary: Get accounts by account id cost tags by tag key targets
      x-summary-source: derived
      operationId: getV1AccountsByAccountIdCostTagsByTagKeyTargets
      x-operation-id-source: derived
    servers:
    - url: https://console.plutus-cloud.com
  /v1/accounts/{accountId}/cost-tags/{tagKey}/targets/{tagValue}:
    put:
      tags:
      - cost-tags
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - target_pct
              properties:
                target_pct:
                  type: number
                  exclusiveMinimum: 0
                  maximum: 100
      parameters:
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      - schema:
          type: string
        in: path
        name: tagKey
        required: true
      - schema:
          type: string
        in: path
        name: tagValue
        required: true
      responses:
        '200':
          description: Default Response
      summary: Replace accounts by account id cost tags by tag key targets by tag value
      x-summary-source: derived
      operationId: putV1AccountsByAccountIdCostTagsByTagKeyTargetsByTagValue
      x-operation-id-source: derived
    delete:
      tags:
      - cost-tags
      parameters:
      - schema:
          type: string
        in: path
        name: accountId
        required: true
      - schema:
          type: string
        in: path
        name: tagKey
        required: true
      - schema:
          type: string
        in: path
        name: tagValue
        required: true
      responses:
        '200':
          description: Default Response
      summary: Delete accounts by account id cost tags by tag key targets by tag value
      x-summary-source: derived
      operationId: deleteV1AccountsByAccountIdCostTagsByTagKeyTargetsByTagValue
      x-operation-id-source: derived
    servers:
    - url: https://console.plutus-cloud.com
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
x-refined-from:
- console_openapi.json
- plutus-cloud-com-openapi.json