---
title: "Create Cloud Cost Management AWS CUR config"
method: POST
path: "/api/v2/cost/aws_cur_config"
tags: ["Cloud Cost Management"]
---

# Create Cloud Cost Management AWS CUR config

`POST /api/v2/cost/aws_cur_config`

Create a Cloud Cost Management account for an AWS CUR config.

## Request body

- AwsCURConfigPostRequest — AWS CUR config Post Request.
  - `data` AwsCURConfigPostData, required — AWS CUR config Post data.
    - `attributes` AwsCURConfigPostRequestAttributes — Attributes for AWS CUR config Post Request.
      - `account_filters` AccountFilteringConfig — The account filtering configuration.
        - `excluded_accounts` string[] — The AWS account IDs to be excluded from your billing dataset. This field is used when `include_new_accounts` is `true`.
        - `include_new_accounts` boolean, nullable — Whether or not to automatically include new member accounts by default in your billing dataset.
        - `included_accounts` string[] — The AWS account IDs to be included in your billing dataset. This field is used when `include_new_accounts` is `false`.
      - `account_id` string, required — The AWS account ID.
      - `bucket_name` string, required — The AWS bucket name used to store the Cost and Usage Report.
      - `bucket_region` string — The region the bucket is located in.
      - `months` integer — The month of the report.
      - `report_name` string, required — The name of the Cost and Usage Report.
      - `report_prefix` string, required — The report prefix used for the Cost and Usage Report.
    - `type` 'aws_cur_config_post_request', required — Type of AWS CUR config Post Request.

## Response `200`

OK

- AwsCurConfigResponse — The definition of `AwsCurConfigResponse` object.
  - `data` AwsCurConfigResponseData — The definition of `AwsCurConfigResponseData` object.
    - `attributes` AwsCurConfigResponseDataAttributes — The definition of `AwsCurConfigResponseDataAttributes` object.
      - `account_filters` AwsCurConfigResponseDataAttributesAccountFilters — The definition of `AwsCurConfigResponseDataAttributesAccountFilters` object.
        - `excluded_accounts` string[] — The `account_filters` `excluded_accounts`.
        - `include_new_accounts` boolean, nullable — The `account_filters` `include_new_accounts`.
        - `included_accounts` string[] — The `account_filters` `included_accounts`.
      - `account_id` string — The `attributes` `account_id`.
      - `bucket_name` string — The `attributes` `bucket_name`.
      - `bucket_region` string — The `attributes` `bucket_region`.
      - `created_at` string — The `attributes` `created_at`.
      - `error_messages` string[], nullable — The `attributes` `error_messages`.
      - `months` integer — The `attributes` `months`.
      - `report_name` string — The `attributes` `report_name`.
      - `report_prefix` string — The `attributes` `report_prefix`.
      - `status` string — The `attributes` `status`.
      - `status_updated_at` string — The `attributes` `status_updated_at`.
      - `updated_at` string — The `attributes` `updated_at`.
    - `id` string — The `AwsCurConfigResponseData` `id`.
    - `type` 'aws_cur_config', required — AWS CUR config resource type.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
