> This page is for version v2 (default).
> For other versions, use one of these documentation indexes:
> - v2 (default): https://autodesk-poc.ferndocs.com/v2/llms.txt
> - v1: https://autodesk-poc.ferndocs.com/v1/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://autodesk-poc.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://autodesk-poc.ferndocs.com/_mcp/server.

# Retrieve a Cost Container ID (deprecated)

Deprecated

* The workflow described in this tutorial is deprecated and will not be supported after July 30, 2026.
* You need to use the project ID instead of the container ID. To obtain the project ID, use [GET projects](https://aps.autodesk.com/en/docs/bim360/v1/reference/http/admin-accounts-accountidprojects-GET/).

This tutorial demonstrates how to retrieve a BIM 360 cost management container ID for a BIM 360 project. Each BIM 360 project is assigned with a cost container that stores all the cost data for the project. The cost container ID is used to call the BIM 360 cost endpoints. To retrieve the ID, you need to call several Data Management endpoints.

## Before You Begin

* [Register an app](https://aps.autodesk.com/myapps)
* Acquire a [3-legged OAuth token](https://aps.autodesk.com/en/docs/oauth/v2/tutorials/get-3-legged-token/) or a [2-legged OAuth token with user impersonation](https://aps.autodesk.com/en/docs/oauth/v2/tutorials/get-2-legged-token/) with the `data:read` scope.
* Verify that you have access to the relevant BIM 360 account and BIM 360 project.

## Step 1: Find the Hub ID

You must first call [GET hubs](https://aps.autodesk.com/en/docs/data/v2/reference/http/hubs-GET/) to find the account ID for your BIM 360 account.

Note that the BIM 360 account ID corresponds to a Data Management hub ID. To convert an account ID into a hub ID you need to add a “b.” prefix. For example, an account ID of `c8b0c73d-3ae9` translates to a hub ID of `b.c8b0c73d-3ae9`.

In this example, assume that the project for which you want the container is part of the “John’s Account” hub.

### Request

### Response

## Step 2: Find the Container ID for the Project

Use the BIM 360 hub ID that you retrieved in the previous step (`b.cGVyc29uYWw6cGUyOWNjZjMy`) to call [GET hubs/:hub_id/projects](https://aps.autodesk.com/en/docs/data/v2/reference/http/hubs-hub_id-projects-GET), and retrieve a list of all the projects in the hub to which the user has access. In this example, we have added a filter to return only details of a specific project “Demo Project.”

### Request

### Response

The response payload includes the container ID (`data.relationships.cost.data.id`). You’ll use this ID in Cost API calls for this project.

---

*Imported from the Autodesk Platform Services documentation: [https://aps.autodesk.com/en/docs/acc/v1/tutorials/cost/retrieve-cost-container-id](https://aps.autodesk.com/en/docs/acc/v1/tutorials/cost/retrieve-cost-container-id).*