API ReferenceProviders

Get provider cost filter options

GET
/api/v1/providers/{provider_id}/costs/filter-options

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

provider_id*Provider Id

Query Parameters

start?|

Start date in ISO 8601 format

end?|

End date in ISO 8601 format

service?array<string>|null
service_mode?Service Mode
region?array<string>|null
region_mode?Region Mode
account_id?array<string>|null
account_id_mode?Account Id Mode
payer_account?array<string>|null
payer_account_mode?Payer Account Mode
tag_key?array<string>|null
tag_key_mode?Tag Key Mode
tag_value?array<string>|null
tag_value_mode?Tag Value Mode
instance_type?array<string>|null
instance_type_mode?Instance Type Mode
usage_type?array<string>|null
usage_type_mode?Usage Type Mode
usage_type_group?array<string>|null
usage_type_group_mode?Usage Type Group Mode
charge_type?array<string>|null
charge_type_mode?Charge Type Mode
availability_zone?array<string>|null
availability_zone_mode?Availability Zone Mode
platform?array<string>|null
platform_mode?Platform Mode
purchase_option?array<string>|null
purchase_option_mode?Purchase Option Mode
tenancy?array<string>|null
tenancy_mode?Tenancy Mode
database_engine?array<string>|null
database_engine_mode?Database Engine Mode
legal_entity?array<string>|null
legal_entity_mode?Legal Entity Mode
billing_entity?array<string>|null
billing_entity_mode?Billing Entity Mode
api_operation?array<string>|null
api_operation_mode?Api Operation Mode
resource?array<string>|null
resource_mode?Resource Mode
cost_category_key?array<string>|null
cost_category_key_mode?Cost Category Key Mode
cost_category_value?array<string>|null
cost_category_value_mode?Cost Category Value Mode

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/providers/string/costs/filter-options"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": {
    "provider_id": "string",
    "services": [
      "string"
    ],
    "regions": [
      "string"
    ],
    "accounts": [
      "string"
    ],
    "tag_keys": [
      "string"
    ],
    "tag_values": [
      "string"
    ],
    "instance_types": [
      "string"
    ],
    "usage_types": [
      "string"
    ],
    "usage_type_groups": [
      "string"
    ],
    "charge_types": [
      "string"
    ],
    "availability_zones": [
      "string"
    ],
    "platforms": [
      "string"
    ],
    "purchase_options": [
      "string"
    ],
    "tenancies": [
      "string"
    ],
    "database_engines": [
      "string"
    ],
    "legal_entities": [
      "string"
    ],
    "billing_entities": [
      "string"
    ],
    "api_operations": [
      "string"
    ],
    "resources": [
      "string"
    ],
    "cost_category_keys": [
      "string"
    ],
    "cost_category_values": [
      "string"
    ],
    "payer_accounts": [
      "string"
    ]
  }
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "property1": null,
  "property2": null
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}