|
| 1 | +--- |
| 2 | +title: Track API Resource Dependencies - Azure API Center |
| 3 | +description: Learn how to track dependencies between APIs and related resources in your Azure API center. |
| 4 | +ms.service: azure-api-center |
| 5 | +ms.topic: how-to |
| 6 | +ms.date: 08/28/2025 |
| 7 | +ms.author: danlep |
| 8 | +author: dlepow |
| 9 | +ms.custom: |
| 10 | +# Customer intent: As an API developer or API program manager, I want to understand the dependencies between API resources in my organization's API center. |
| 11 | +--- |
| 12 | + |
| 13 | +# Track API resource dependencies in your API center |
| 14 | + |
| 15 | +This article explains how to track the dependencies between APIs and associated resources in your [Azure API center](overview.md). Use the dependency tracker (preview) to map dependencies across APIs, environments, and deployments in your catalog. Also track dependencies on external components including GitHub repositories and other resources in Azure and other cloud platforms. |
| 16 | + |
| 17 | +Each dependency identifies a *source* resource and a related *target* resource that depends on it. By tracking dependencies between source and target resources, you can: |
| 18 | + |
| 19 | +* **Troubleshoot and resolve issues** more effectively by providing visibility into the relationships between components |
| 20 | + |
| 21 | +* **Improve the reliability of systems** by identifying risks such as circular dependencies or over-reliance on single points of failure |
| 22 | + |
| 23 | +* **Improve effectiveness of AI agents** by using mapped dependencies for automatic discovery of valid endpoints for tasks and validating toolchain compatibility |
| 24 | + |
| 25 | +> [!NOTE] |
| 26 | +> This is a preview feature and is subject to change. [Limits](/azure/azure-resource-manager/management/azure-subscription-service-limits?toc=/azure/api-center/toc.json&bc=/azure/api-center/breadcrumb/toc.json#azure-api-center-limits) apply. |
| 27 | +
|
| 28 | +## Prerequisites |
| 29 | + |
| 30 | +* An [Azure API center](overview.md) resource in your Azure subscription. |
| 31 | +* Register one or more APIs in your API center. For instructions, see [Register APIs in your API inventory](register-apis.md). |
| 32 | + |
| 33 | +## Add a dependency |
| 34 | + |
| 35 | +Use the dependency tracker in the Azure portal to add a dependency. |
| 36 | + |
| 37 | +To add a dependency: |
| 38 | + |
| 39 | +1. In the [Azure portal](https://portal.azure.com), navigate to your API center. |
| 40 | +1. In the left menu, under **Assets**, select **Dependency tracker (preview)**. |
| 41 | +1. Select **+ Add Dependency**. |
| 42 | +1. In the **Dependency Manager** window, enter a **Title** and optionally a **Description** of the dependency. |
| 43 | +1. In **Source details**, select a **Source Type** (for example, an API or a related resource). Depending on the type, enter or select identifying information such as a name or ID. |
| 44 | +1. In **Target details**, select a **Target Type** (for example, an API or a related resource). Depending on the type, enter or select identifying information such as a name or ID. |
| 45 | +1. **Save** the dependency. |
| 46 | + |
| 47 | +:::image type="content" source="media/track-resource-dependencies/create-dependency.png" alt-text="Screenshot of adding a dependency in the portal."::: |
| 48 | + |
| 49 | +The dependency is added. |
| 50 | + |
| 51 | +## View dependencies |
| 52 | + |
| 53 | +API Center provides a default table view that lists dependencies, and a graphical view with a holistic representation. Use these views to explore the relationships between your resources. |
| 54 | + |
| 55 | +To see a graphical view: |
| 56 | + |
| 57 | +1. In the left menu, under **Assets**, select **Dependency tracker (preview)**. |
| 58 | +1. Select the **Graph View** tab. |
| 59 | + |
| 60 | +In the graphical view, select the box representing any API center resource to see its details. |
| 61 | + |
| 62 | +:::image type="content" source="media/track-resource-dependencies/view-dependency-graph.png" alt-text="Screenshot of the dependency graph in the portal."::: |
| 63 | + |
| 64 | +## Manage dependencies |
| 65 | + |
| 66 | +You can edit or delete dependencies as needed using the table view. |
| 67 | + |
| 68 | +To view or edit dependency details: |
| 69 | + |
| 70 | +1. In the left menu, under **Assets**, select **Dependency tracker (preview)**. |
| 71 | +1. Select **Table View**, and find the dependency you want to edit. |
| 72 | +1. Select **See details**. |
| 73 | +1. To make changes, select **Edit**, and update details. |
| 74 | +1. **Save** your changes. |
| 75 | + |
| 76 | +To delete a dependency: |
| 77 | + |
| 78 | +1. In the **Dependency tracker (preview)** table view, find the dependency that you want to delete. |
| 79 | +1. Select **Delete dependency** (trash can icon). |
| 80 | +1. Confirm the deletion. |
| 81 | + |
| 82 | +> [!NOTE] |
| 83 | +> If you delete an API Center resource that is a source or target in a dependency, the dependency isn't automatically deleted. You must delete it yourself. |
| 84 | +
|
| 85 | +## Related content |
| 86 | + |
| 87 | +* [Overview of Azure API center](overview.md) |
| 88 | +* [Register APIs in your API inventory](register-apis.md) |
0 commit comments