---
title: "List Custom Costs files"
method: GET
path: "/api/v2/cost/custom_costs"
tags: ["Cloud Cost Management"]
---

# List Custom Costs files

`GET /api/v2/cost/custom_costs`

List the Custom Costs files.

## Query parameters

- `page[number]` integer
- `page[size]` integer
- `filter[status]` string
- `filter[name]` string
- `filter[provider]` string[]
- `sort` string

## Response `200`

OK

- CustomCostsFileListResponse — Response for List Custom Costs files.
  - `data` CustomCostsFileMetadataHighLevel[] — List of Custom Costs files.
    - `attributes` CustomCostsFileMetadata — Schema of a Custom Costs metadata.
      - `billed_cost` number, double — Total cost in the cost file.
      - `billing_currency` string — Currency used in the Custom Costs file.
      - `charge_period` CustomCostsFileUsageChargePeriod — Usage charge period of a Custom Costs file.
        - `end` number, double — End of the usage of the Custom Costs file.
        - `start` number, double — Start of the usage of the Custom Costs file.
      - `name` string — Name of the Custom Costs file.
      - `provider_names` string[] — Providers contained in the Custom Costs file.
      - `status` string — Status of the Custom Costs file.
      - `uploaded_at` number, double — Timestamp, in millisecond, of the upload time of the Custom Costs file.
      - `uploaded_by` CustomCostsUser — Metadata of the user that has uploaded the Custom Costs file.
        - `email` string — The name of the Custom Costs file.
        - `icon` string — The name of the Custom Costs file.
        - `name` string — Name of the user.
    - `id` string — ID of the Custom Costs metadata.
    - `type` string — Type of the Custom Costs file metadata.
  - `meta` CustomCostListResponseMeta — Meta for the response from the List Custom Costs endpoints.
    - `count_by_status` object — Number of Custom Costs files per status.
    - `providers` string[] — List of available providers.
    - `total_filtered_count` integer — Number of Custom Costs files returned by the List Custom Costs endpoint
    - `version` string — Version of Custom Costs file

## 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)
