List Cloud Cost Management cloud accounts
List the OCI and AWS CUR 2.0 cloud accounts for your organization, including account IDs, status, and validation errors. Use filter[cloud]=oci or filter[cloud]=aws_cur2 to return a single cloud. When omitted or empty, both clouds are returned. AWS CUR 1.0, Azure, and GCP accounts are available through their dedicated configuration endpoints. Archived accounts are excluded. The response contains all matching accounts and is not paginated.
This endpoint replaces GET /api/v2/cost/oci_config. To migrate, use filter[cloud]=oci and update clients to accept the cloud_account resource type instead of oci_config. Account IDs and the existing attributes are preserved; each account also includes the cloud attribute.
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/tokenScopescloud_cost_management_read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Filter by cloud, either oci or aws_cur2 (case insensitive). Omit or leave empty to return both.
Response
OK
Example response
{
"data": [
{
"attributes": {
"account_id": "ocid1.tenancy.oc1..example",
"cloud": "oci",
"created_at": "2026-01-01T12:00:00Z",
"error_messages": [],
"status": "active",
"status_updated_at": "2026-01-01T12:00:00Z",
"updated_at": "2026-01-01T12:00:00Z"
},
"id": "534",
"type": "cloud_account"
}
]
}Changes
Changes to this operation have not been checked yet.