Automated dependency notifications
This feature is available in beta. Please reach out to your Cortex Customer Success Manager for access.
- Breaking API changes are listed in your Cortex workspace. To access:
- From the main sidebar, click your avatar in the bottom-left corner.
- Click Settings.
- From the Settings menu, locate the Logging section, then click Breaking API changes.
- When a PR introduces breaking OpenAPI changes that affect downstream dependencies Cortex knows about, Cortex attempts to comment on it automatically.
- If a breaking change is merged to the default branch, Cortex alerts dependency owners via Slack that a breaking change was merged.
Defining dependencies
Users or API keys with theEdit Entities permission can define dependencies.
Dependencies can be defined in the Cortex UI, manually via an entity’s YAML descriptor, or from the API.
Defining dependencies via the Cortex UI
- Navigate to the entity where you need to define a dependency.
- In the upper-right corner of the entity’s details page, click Configure entity.
-
From the left entity sidebar, click Dependencies.

- Click Add entity.
-
In the Dependency sidebar, do the following:
- From the Entity drop-down menu, select an entity (required).
- From the Endpoints drop-down menu, select an endpoint. For an endpoint to populate in this dropdown, it must first be defined as a path in the entity’s YAML file. See Setting an endpoint for a dependency for more information.
- From the Description drop-down menu, enter a description for the dependency.
- Click Add.
Setting an endpoint for a dependency
When manually defining a dependency, you can only select endpoints from the dropdown that are already defined as paths in the target entity’s YAML file. For example, to make theGET /v1/payments and POST /v1/refunds endpoints selectable, the payments service would need the following in its OpenAPI spec:

Defining dependencies in the entity descriptor
Thex-cortex-dependency field allows you to define a list of outgoing dependencies. A dependency should be directed towards an outgoing service or resource, or more granularly, to a specific endpoint of that entity.
Defining dependencies via the API
See the API docs for authentication details. Endpoints are optional. A dependency optionally references an endpoint (method and path) of the callee, and this must already be defined in the callee’s cortex.yaml within the paths field. If no endpoint is referenced it is assumed that the caller depends on all endpoints of the callee.
For all requests, method and path are optional; however, if one is present, the other must also be present.
When interacting with an existing dependency, the method and path must be specified correctly to identify it.
Creating a dependency
POST /api/v1/catalog//dependencies/?method=&path=
Retrieving a dependency
GET /api/v1/catalog//dependencies/?method=&path=
Updating a dependency
PUT /api/v1/catalog//dependencies/?method=&path=
Deleting a dependency
DELETE /api/v1/catalog//dependencies/?method=&path=
Creating or updating dependencies in bulk
PUT /api/v1/catalog/dependencies
Syncing dependencies manually
Users with theEnable Entity Dependency Discovery permission can manually sync dependencies.
Cortex automatically syncs AWS dependencies every day at 8:00 a.m. UTC. All other dependencies sync at 12:00 a.m. UTC.
- From the main sidebar, expand Tools, then select Relationship graphs.
-
In the upper-right corner of the page, click the overflow menu icon, then click Sync dependencies.

Troubleshooting and FAQ
What if I have multiple dependency sources? When leveraging multiple dependency sources (such as Datadog and a catalog entity’s YAML), all the sources are merged together and de-duplicated. For example, if an entity YAML indicatesX->Y and Datadog indicates X->Y and X->Z, two edges are presented (X->Y and X->Z).