Get the dependency impact of a single entity
const url = 'https://example.com/api/v1/pcd/1/graph/custom_format/example?direction=dependents&depth=2&arrType=radarr';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/pcd/1/graph/custom_format/example?direction=dependents&depth=2&arrType=radarr'Returns the entities that reference (direction=dependents, default) or
are referenced by (direction=dependencies) a single named node, via a
bounded traversal over the dependency graph. Powers editor “Used by”
panels, cascade-delete warnings, and node-focus navigation.
name may contain reserved characters (it is a free-form entity name);
clients MUST percent-encode it. depth is clamped to [1, 3]. A
well-formed request for a name that does not exist returns 404; an
unknown or not-yet-built databaseId returns 400.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”PCD database ID
Entity family of the focus node
Name of the focus entity (percent-encoded; may contain reserved characters)
Query Parameters
Section titled “Query Parameters”Traverse to dependents (reverse, default) or dependencies (forward)
Traversal depth, clamped to [1, 3]
Restrict to edges scoped to this Arr app (and all)
Responses
Section titled “Responses”Dependency impact result
object
PCD database ID
object
PCD entity family a dependency-graph node represents. quality and
quality_definition are leaf kinds with no per-id editor route (see
GraphNode.routeId).
Name-keyed identifier (never a route id)
Integer editor id for linkable kinds (custom_format,
regular_expression, quality_profile); null for leaf kinds
(quality, quality_definition) that have no per-id editor route.
Number of edges pointing at this node (how many entities reference it)
Number of edges leaving this node (how many entities it depends on)
Arr apps this node is valid for, present only for quality_profile and
quality nodes. For quality profiles it is derived from
computeProfileCompatibility (never from arr_type='all' scores).
dependents (default) = entities that reference this node (reverse
traversal); dependencies = entities this node references (forward).
Traversal depth actually applied (clamped to [1, 3])
All edges discovered by the bounded traversal
object
object
PCD entity family a dependency-graph node represents. quality and
quality_definition are leaf kinds with no per-id editor route (see
GraphNode.routeId).
Name-keyed identifier of the referenced entity
object
PCD entity family a dependency-graph node represents. quality and
quality_definition are leaf kinds with no per-id editor route (see
GraphNode.routeId).
Name-keyed identifier of the referenced entity
Relationship family. Direction is always referrer (from) -> dependency
(to).
Arr scope of a dependency edge. all is a first-class, distinct value (an
edge that applies to every Arr app); it is never expanded into per-arr
edges and never establishes per-arr quality-profile compatibility.
Custom-format score, present only on quality_profile_custom_format edges
Quality group name, present only on grouped quality_profile_quality edges
The same edges grouped by arrType (arr scopes never collapsed)
object
object
object
PCD entity family a dependency-graph node represents. quality and
quality_definition are leaf kinds with no per-id editor route (see
GraphNode.routeId).
Name-keyed identifier of the referenced entity
object
PCD entity family a dependency-graph node represents. quality and
quality_definition are leaf kinds with no per-id editor route (see
GraphNode.routeId).
Name-keyed identifier of the referenced entity
Relationship family. Direction is always referrer (from) -> dependency
(to).
Arr scope of a dependency edge. all is a first-class, distinct value (an
edge that applies to every Arr app); it is never expanded into per-arr
edges and never establishes per-arr quality-profile compatibility.
Custom-format score, present only on quality_profile_custom_format edges
Quality group name, present only on grouped quality_profile_quality edges
Count of distinct related entities keyed by node kind, plus total
object
True when at least one edge was found (there is downstream impact)
True when the traversal hit its depth or visited cap and stopped early
Example
{ "node": { "kind": "custom_format", "compatibleArrTypes": [ "radarr" ] }, "direction": "dependents", "edges": [ { "from": { "kind": "custom_format" }, "to": { "kind": "custom_format" }, "edgeKind": "quality_profile_custom_format", "arrType": "radarr" } ], "byArrType": { "additionalProperty": [ { "from": { "kind": "custom_format" }, "to": { "kind": "custom_format" }, "edgeKind": "quality_profile_custom_format", "arrType": "radarr" } ] }}Invalid databaseId, unknown nodeKind/arrType, or database not ready
object
Error message
Examplegenerated
{ "error": "example"}Authentication required
object
Error message
Examplegenerated
{ "error": "example"}No node with that kind and name (an unknown or not-yet-built databaseId is 400, not 404)
object
Error message
Examplegenerated
{ "error": "example"}Failed to compute dependency impact
object
Error message
Examplegenerated
{ "error": "example"}