Finout

App · 9 actions

Read virtual cost allocation tags, billing dimensions, anomaly alerts and CostGuard scans.

Actions

ActionWhat it does
Get a virtual tagGet one virtual tag with its rules and access settings.
Get a virtual tag versionGet the rules and settings saved in a virtual tag version.
Get virtual tag metadataGet the metadata stored against values of a virtual tag.
List anomaly alertsList alerts detected during a time window of up to seven days.
List billing key valuesList valid values for a key and cost center.
List billing keysList keys available to filter cloud usage and spend.
List CostGuard scansList the optimization scans available for your cloud accounts.
List virtual tag versionsList the saved versions of a virtual tag, optionally within a time window.
List virtual tagsList virtual tags and their cost allocation rules.

Get a virtual tag

Get one virtual tag with its rules and access settings.

Inputs

IDidtextRequired
The virtual tag ID.

Outputs

dataobject
The response from Finout.
Example output
{
  "data": {
    "data": {
      "createdAt": "Wed Apr 15 2026 20:22:35 GMT+0000 (Greenwich Mean Time)",
      "createdBy": "alice@example.com",
      "defaultValue": "Untagged",
      "id": "f84c9ab0-dab2-4cf1-b7aa-f4a767d9724b",
      "name": "Environment",
      "rules": [
        {
          "filters": {
            "costCenter": "Azure",
            "displayName": "environment",
            "key": "environment",
            "operator": "exists",
            "type": "tag"
          },
          "to": {
            "costCenter": "Azure",
            "key": "environment",
            "type": "tag"
          }
        },
        {
          "filters": {
            "costCenter": "GCP",
            "displayName": "env",
            "key": "env",
            "operator": "exists",
            "type": "tag"
          },
          "to": "Prod"
        },
        {
          "filters": {
            "costCenter": "AWS",
            "displayName": "environment",
            "key": "environment",
            "operator": "exists",
            "type": "tag"
          },
          "to": {
            "costCenter": "AWS",
            "key": "environment",
            "type": "tag"
          }
        }
      ],
      "updatedAt": "Wed Apr 15 2026 20:22:35 GMT+0000 (Greenwich Mean Time)",
      "updatedBy": "alice@example.com"
    },
    "requestId": "2cfe3847-49b3-491e-8fcb-9cb8c7a08d88"
  }
}

Get a virtual tag version

Get the rules and settings saved in a virtual tag version.

Inputs

Tagtag_idtextRequired
The virtual tag ID.
IDidtextRequired
The version ID.

Outputs

dataobject
The response from Finout.
Example output
{
  "data": {
    "data": {
      "changeDescription": "doc demo 1",
      "createdAt": "2026-03-25T13:19:06.200Z",
      "createdBy": "sam.smith@finout.io",
      "id": "aba7efe5-de85-4f4b-bd89-0861d140c018",
      "isLive": false,
      "versionData": {
        "defaultValue": "Untagged",
        "rules": [
          {
            "filters": {
              "costCenter": "AWS",
              "displayName": "API Operation",
              "key": "operation",
              "operator": "oneOf",
              "type": "billing_enrichment",
              "value": [
                "AAAA"
              ]
            },
            "to": {
              "costCenter": "Virtual Tags",
              "key": "4f816fc1-6b3a-4902-b6b5-9759ba5ca83c",
              "type": "virtual_tag"
            }
          }
        ]
      }
    },
    "requestId": "c85f0423-7048-432b-a144-73f76c2e0512"
  }
}

Get virtual tag metadata

Get the metadata stored against values of a virtual tag.

Inputs

IDidtextRequired
The virtual tag ID.

Outputs

dataobject
The response from Finout.
Example output
{
  "data": {
    "data": {
      "metadata": {
        "App Team": {
          "customMetadata": {
            "owner": "Dave"
          },
          "endpoints": [
            "770e4021-08f3-48d9-bdc1-ae9a8fd07cea"
          ],
          "groups": [
            "d704e672-b33c-4fda-b4fc-bde7a8774de4"
          ]
        },
        "Data Team": {
          "customMetadata": {
            "owner": "Dan"
          },
          "endpoints": [
            "4f806937-6f5b-478e-a81a-f4b2ece14bb1"
          ],
          "groups": [
            "f9e4a3f1-b8e4-4ff6-8307-e414dfc69ddb"
          ]
        },
        "DevOps Team": {
          "customMetadata": {
            "owner": "Sam"
          },
          "groups": [
            "4b6f659e-6a7a-4dc4-975c-30a641f0a42b"
          ]
        }
      }
    },
    "requestId": "103774e3-fee4-482a-9535-ddc5f09e9bee"
  }
}

List anomaly alerts

List alerts detected during a time window of up to seven days.

Inputs

Fromfromdate and timeRequired
Start of the time window.
Totodate and timeRequired
End of the time window.
Typetypelist
Which alert types to include.One or more of: cost, usage, unitEconomics, financialPlanRunRate, commitmentExpiration.
Page sizepage_sizenumber
Maximum records on this page.From 1 to 100.
Cursorcursortext
Cursor from the previous page.
Sort directionsort_directiontext
Order by time, oldest or newest first.One of: asc, desc.

Outputs

dataobject
The response from Finout.
Example output
{
  "data": {
    "data": [
      {
        "alertConfigurationID": "example-configuration",
        "data": {
          "actualCost": 240.0,
          "expectedCost": 200.0
        },
        "detectionTime": 1793491200000,
        "id": "example-alert",
        "name": "Daily spend",
        "type": "cost"
      }
    ],
    "pagination": {
      "hasMore": false,
      "nextCursor": ""
    },
    "requestId": "example-request"
  }
}

List billing key values

List valid values for a key and cost center.

Inputs

Cost centercost_centertextRequired
Cost center from List billing keys.
KeykeytextRequired
Key from List billing keys.
Typetypetext
Key type from List billing keys.One of: tag, billing_dimension (Billing dimension), resource, billing_enrichment (Billing enrichment), virtual_tag (Virtual tag), custom_cost (Custom cost), kubernetes_resource (Kubernetes resource), k8s_pod_label (K8s pod label), k8s_node_label (K8s node label), k8s_namespace (K8s namespace).

Outputs

dataobject
The response from Finout.
Example output
{
  "data": {
    "data": {
      "values": [
        "cold-fathom",
        "aged-reload",
        "lead-acre",
        "each-rate",
        "hard-nectarine"
      ]
    },
    "requestId": "d7f5c17e-2801-451e-a0bd-0bd459ced81c"
  }
}

List billing keys

List keys available to filter cloud usage and spend.

Inputs

None.

Outputs

dataobject
The response from Finout.
Example output
{
  "data": {
    "data": {
      "keys": [
        {
          "costCenter": "Kubernetes",
          "displayName": "deployment",
          "key": "deployment",
          "types": [
            "k8s_namespace"
          ]
        },
        {
          "costCenter": "Oracle Cloud",
          "displayName": "SKU Unit Description",
          "key": "sku_unit_description",
          "types": [
            "tag"
          ]
        },
        {
          "costCenter": "Custom Cost",
          "displayName": "Key_1",
          "key": "customCost_Key_1",
          "types": [
            "custom_cost"
          ]
        }
      ]
    },
    "requestId": "cce9ed72-cd36-4848-8017-34c0e3d8c859"
  }
}

List CostGuard scans

List the optimization scans available for your cloud accounts.

Inputs

None.

Outputs

dataobject
The response from Finout.
Example output
{
  "data": {
    "requestId": "example-request",
    "scans": [
      {
        "scanId": "example-scan",
        "scanMetadata": {
          "costCenter": "GCP",
          "type": "rightsizing"
        },
        "scanName": "VM rightsizing"
      }
    ]
  }
}

List virtual tag versions

List the saved versions of a virtual tag, optionally within a time window.

Inputs

Tagtag_idtextRequired
The virtual tag ID.
Fromfromdate and time
Start of the time window.
Totodate and time
End of the time window.
Page sizepage_sizenumber
Maximum records on this page.From 1 to 100.
Cursorcursortext
Cursor from the previous page.
Sort directionsort_directiontext
Order by time, oldest or newest first.One of: asc, desc.

Outputs

dataobject
The response from Finout.
Example output
{
  "data": {
    "data": [
      {
        "changeDescription": "Updated allocation rules",
        "createdAt": "2026-03-31T18:23:48.701Z",
        "createdBy": "sam.smith@finout.io",
        "id": "eb14e00a-97a8-4af3-84c5-f3dd07d847d8",
        "isLive": true
      },
      {
        "changeDescription": "Updated allocation rules",
        "createdAt": "2026-03-24T18:07:47.475Z",
        "createdBy": "sam.smith@finout.io",
        "id": "194f60db-7d2b-4599-b1c2-0fb58160a2d7",
        "isLive": false
      },
      {
        "changeDescription": "Duplicate from virtual tag \"AG/Team\"",
        "createdAt": "2026-03-24T16:59:49.766Z",
        "createdBy": "sam.smith@finout.io",
        "id": "36aea575-cb7f-445f-963e-9e68c4a3a46b",
        "isLive": false
      }
    ],
    "pagination": {
      "hasMore": false,
      "nextCursor": null
    },
    "requestId": "828a4454-5a41-4473-9fea-15ce7b3557f4"
  }
}

List virtual tags

List virtual tags and their cost allocation rules.

Inputs

None.

Outputs

dataobject
The response from Finout.
Example output
{
  "data": {
    "data": {
      "virtualTags": [
        {
          "acl": {
            "read": {
              "groups": [],
              "type": "public",
              "users": []
            },
            "write": {
              "groups": [],
              "type": "private",
              "users": [
                "alice@example.com"
              ]
            }
          },
          "createdAt": "Wed Apr 15 2026 20:22:35 GMT+0000 (Greenwich Mean Time)",
          "createdBy": "alice@example.com",
          "defaultValue": "Untagged",
          "id": "f84c9ab0-dab2-4cf1-b7aa-f4a767d9724b",
          "name": "Environment",
          "rules": [
            {
              "filters": {
                "costCenter": "Azure",
                "displayName": "environment",
                "key": "environment",
                "operator": "exists",
                "type": "tag"
              },
              "to": {
                "costCenter": "Azure",
                "key": "environment",
                "type": "tag"
              }
            },
            {
              "filters": {
                "costCenter": "GCP",
                "displayName": "env",
                "key": "env",
                "operator": "exists",
                "type": "tag"
              },
              "to": "Prod"
            }
          ],
          "updatedAt": "Wed Apr 15 2026 20:22:35 GMT+0000 (Greenwich Mean Time)",
          "updatedBy": "alice@example.com"
        }
      ]
    },
    "requestId": "6dded699-9878-4e56-a462-5cfc334dbd5d"
  }
}

On this page