List resolved config entities by type
const url = 'https://example.com/api/v1/pcd/1/resolved/delayProfile?layer=base&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/resolved/delayProfile?layer=base&arrType=radarr'Returns resolved config state for every entity of the given type in the PCD database, for the selected layer.
layer defaults to resolved (the schema -> base -> tweaks -> user
replay, matching what sync applies to Arr instances). arrType is
required for per-arr-app entity types (naming, mediaSettings,
qualityDefinitions) and rejected for arr-agnostic entity types
(delayProfile, regularExpression, customFormat, qualityProfile)
and for lidarrMetadataProfile, which is Lidarr-only and implicit.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”PCD database ID
Resolved config entity type
Query Parameters
Section titled “Query Parameters”Resolved config layer to read
Arr app type. Required for per-arr-app entity types (naming, mediaSettings, qualityDefinitions); rejected for arr-agnostic entity types and for lidarrMetadataProfile.
Responses
Section titled “Responses”Resolved entity list
object
PCD database ID
Resolved config entity type
PCD configuration layer represented by a resolved-state response:
base: schema + base + tweaks ops only (user ops omitted)user: user-op overrides relative to the base layer, expressed as a field-level diffresolved: the fully replayed state (schema -> base -> tweaks -> user), matching what sync applies to Arr instances
Per-entity resolved state for the requested layer
object
PCD database ID
Resolved config entity type
Entity name
PCD configuration layer represented by a resolved-state response:
base: schema + base + tweaks ops only (user ops omitted)user: user-op overrides relative to the base layer, expressed as a field-level diffresolved: the fully replayed state (schema -> base -> tweaks -> user), matching what sync applies to Arr instances
Whether the entity exists in the requested layer
object
object
object
Condition data (shape varies by condition type)
object
object
object
Ordered quality item (quality or group)
object
object
Arr target for this score mapping. lidarr is a first-class value
so quality profile custom-format scores can be scoped to a specific Arr
app family. all applies the score to every supported family.
Non-regression contract: existing radarr, sonarr, and all
enum semantics are unchanged; lidarr is an explicit additional arr
target value and does not introduce fallback alias behavior.
object
Portable naming payload for Sonarr entities.
object
Portable naming payload for lidarr_naming.
The wire shape matches PortableSonarrNaming (shared column structure).
Field semantics are Lidarr-native (artist/album/track tokens).
object
Shared media-management settings payload shape used across Arr families.
object
Portable payload for lidarr_media_settings.
The shape matches PortableMediaSettings.
object
Shared quality-definition payload shape used across Arr families.
object
Quality definition entry with min/max/preferred sizes
object
Portable payload for lidarr_quality_definitions.
The shape matches PortableQualityDefinitions.
object
Quality definition entry with min/max/preferred sizes
object
object
object
object
object
Field-level diff of user-op overrides relative to the base layer.
Present only for layer=user; an empty array means the resolved
value matches base exactly.
object
Dot-notated field path
True when a pending value-guard conflict targets this entity (see
pcd_op_history). The resolved value must not be treated as
unambiguous while this is true.
Exact per-field lineage. Present only when includeLineage=true and
layer=resolved; null/absent otherwise.
Exact provenance for one resolved nested field. status is the gate:
resolved rows name a source; ambiguous/unavailable rows make no source
claim. schema-default means no op explicitly wrote the column and its value
equals the parsed schema DEFAULT; it is never inferred from the mere absence
of a user override.
object
Nested field path, byte-identical to the diff convention used by
overrides (e.g. conditions["HDR"].negate,
orderedItems["WEB"].members[0].name).
resolved: a source is named. ambiguous: evidence conflicts, is
pending, or the op SQL was unparseable. unavailable: no establishing
op and no default backs this path.
The establishing layer; null unless status is resolved.
Source classification, aligned with sourceLayer for resolved rows.
Establishing pcd_ops id for base/user (DB) ops; null for file layers
(schema/tweaks) and schema-default.
File-layer op identity (schema/tweaks), which has no pcd_ops row; null
for DB ops.
object
True when an op explicitly named this column (distinct from an implicit default).
Display-only signal indicating the resolved value equals the schema default. Never used to classify provenance. Absent when not comparable.
Entity-level lineage rollup. ambiguous when a pending value-guard
conflict withholds all field claims; unavailable when the entity is
absent. Present only alongside lineage.
Example
{ "entityType": "delayProfile", "layer": "base", "entities": [ { "entityType": "delayProfile", "layer": "base", "entity": { "preferredProtocol": "prefer_usenet" }, "overrides": [ { "type": "added" } ], "lineage": [ { "status": "resolved", "sourceLayer": "schema", "sourceKind": "schema-default" } ], "lineageStatus": "available" } ]}Invalid databaseId, unknown entityType, missing/invalid arrType, or database not ready
object
Error message
Examplegenerated
{ "error": "example"}Authentication required
object
Error message
Examplegenerated
{ "error": "example"}Database not found
object
Error message
Examplegenerated
{ "error": "example"}Failed to read resolved config state
object
Error message
Examplegenerated
{ "error": "example"}