Skip to content

Validate missing dependencies in architecture

GET
/api/agents/architecture/validate/missing-dependencies

Detect agents that depend on unregistered agent IDs.

Iterates all registered agents and checks that each declared dependency exists in the architecture. Missing dependencies indicate registration gaps that would cause startup failures.

Returns: MissingDependenciesResponse with affected_agents, the missing map, and total_missing.

Successful Response

MissingDependenciesResponse

Result of checking all agents for references to unregistered dependencies.

missing_dependencies maps each affected agent_id to the list of dependency IDs that do not exist in the architecture. is_valid is True when the map is empty.

object
missingDependencies
required
Missingdependencies

Agent → missing deps map

object
key
additional properties
Array<string>
affectedAgents
required
Affectedagents

Agents with missing deps

Array<string>
isValid
required
Isvalid

All dependencies satisfied

boolean
totalMissing
required
Totalmissing

Total missing relationships

integer