Skip to main content

Data API

Please note that this API is in Private Preview and is not available to the general public at this time. More information about release phases may be found here

API Documentation

The Data API documentation can be found at https://data.api.vegacloud.io/docs.

Purpose

The Vega Platform Data API exists to provide clients with a programmatic way to access report data which is stored in the Vega Platform. This data can be used to build custom reports, dashboards, or to audit findings surfaced in our Platform.

We present the following data to our clients:

  • Anomalies Detected
  • Resource Costs
  • Reservation Utilization
  • Tagging Data

API Key Management

Found under Settings > API Key Management

This tab allows a user to create an API Key in order to access the Data API.

NOTE: A user can only see this tab when assigned one of the following roles: data_reader, org_global_admin, or org_owner.

Generate an API Key

In order to generate an API Key, click the "Generate API Key" button:

ApiKeyManagment-1

A key will be automatically generated. The following dialog will open and allow a user to copy the API Key to the clipboard or download as a JSON file.

NOTE: You cannot see the API Key again once you close the dialog. Please ensure you save the key in a secure location. A new key can be regenerated by clicking the "Generate" button, which will automatically invalidate the previously generated key.

ApiKeyManagment-2

The generated API Key can now be used for accessing the Data API.

Data Dictionary

Column NameDefinition
closing_monthThe calendar month in which the usage occurs.
usage_dayThe date when the usage occurs.
reporting_monthThe length of time for which usage is reported. For example: current, this month, last month, or last year. Note: If the day of the current date is less than or equal to 10, then reporting_month is set as 'current' whereas if it is greater than 10 then the reporting_month is set as 'this month'.
client_nameName of the client.
billing_account_idUnique identifier for an entity's billing and financial management.
business_groupName of the high level aggregation of internal organization.
business_unitOrganizational unit derived from linked account and/or tags.
line_item_typeClassification or category used to label and describe individual charges.
linked_account_idUnique identifier assigned to an associated account within a platform.
linked_account_nameName of the linked account. For example: account name for AWS, subscription name for Azure, and project name for GCP.
cloud_provider_identifierConcatenation of linked account name and ID.
cloud_providerThe company or organization offering cloud computing services and resources. For example: AWS, GCP, Azure, etc.
cloud_regionName of the region where the resource resides. For example: US East.
cloud_specific_locationSpecific location of the resource. This is a more granular version of cloud region. For example: US East (N. Virginia).
productIndividual product values defined by the cloud provider. For Example: Amazon Elastic Compute Cloud.
product_groupA higher level grouping than product cost detail category. This allows Vega to group individual consumption items into categories across clouds in a way that creates more meaningful aggregations of cloud consumption.
usage_typeRaw usage type from cloud provider billing that is a combination field. For example: BoxUsage:c4.xlarge represents instance based usage in AWS of a particular family, region and size type.
instance_typeThe specific family, size and generation of a particular resource. For example: an AWS EC2 instance such as M5.xlarge.
disk_typeType of disk used.
steady_stateThis is a Vega defined logic used to check if the resource is running greater than 95% of the available time during a month. This drives specific recommendations such as autoparking.
cost_categoryBreaks out billing lines by type, such as Credits, Marketplace purchases, On Demand usage, Savings plan coverage usage, etc.
lease_ownership_typeType of lease ownership.
lease_purchase_monthThe calendar month in which the lease is purchased.
ri_sp_arnRI/SP ARNs are used for various purposes, including tagging, policy management, and resource access control. They allow you to reference and work with specific CUD instances within your AWS account.
is_committed_use_eligibleTo check if a resource is eligible for committed use discount.
coverable_application_typeRepresents the type of product category or product cost detail category covered for a resource.
product_categoryAn aggregation of individual products into natural grouping categories. These apply across AWS, GCP and Azure. For Example: Containers, Data Transfer, Disk storage, etc. This is a more granular version of product group.
product_cost_detail_categoryThis is a more granular version of product category which breaks out Data Transfer into items such as AWS Inbound and AWS Outbound.
billing_unitThis is a normalized field that represents how each resource line is billed such as instance hour, GB/hr, request, etc.
operating_systemThe operating system associated with specific usage such as Windows, Linux, Red Hat, etc.
environment_sourceThe value that assigns the environment such as tag, linked account, resource, etc.
environmentThis is parsed from the linked account name, resource ID and the tag.
applicationTag specific to identifying applications. Vega adds cleaning logic to account for capitalization and spelling errors.
financial_owner_nameName of the financial owner.
financial_owner_emailEmail of the financial owner.
technical_owner_nameName of the technical owner.
technical_owner_emailEmail of the technical owner.
technical_team_ownerName of the technical team owner.
migrationTag specific to Migration - typically Yes or No.
migration_originTag specific to Migration which denotes which data center it was migrated from. Vega adds cleaning logic to account for capitalization and spelling errors.
channelThe channel a specific resource is associated with.
platformName of the platform used/ in use.
snapshot_originRepresents the source or point in time from which a snapshot of data or a system state is taken.
disk_usage_gbThe amount of disk usage in GB.
ondemand_costThe cost/ expense incurred for resources or services that are utilized as needed, without a fixed, ongoing commitment.
net_cashRepresents the sum of Gross Cash, Support Fees, Cross Service Discounts, Support Discounts and/or Private Rate Discounts.
net_fiscal_amountAmount that includes amortization of upfront cash associated with Committed Use purchases as well as large Marketplaces purchases which are amortized over the term of the agreement. This also includes premium support allocation to each line of billing data as well as any credit allocations and billing error corrections.
usage_amountRefers to the quantity or volume of a particular resource, product, service, or item consumed or utilized within a specified period.
savingsRepresents the amount of money saved.