Entity-centered dependency graph
Entity-centered dependency graph
Returns a dependency subgraph centered on a specific entity. Traversal is undirected (both depends-on and depended-by) up to depth hops. For prompts/promptlets, entityId is usually an artifact version id (prm_artifact_version_raw.id). Agents are addressed by stableKey or agent id. Tools use prm_tool_raw.id.
Authentication
X-API-Keystring
API key supplied via the X-API-Key header. Takes precedence over bearerApiKey when both are present.
OR
AuthorizationBearer
Same organization API key supplied as a Bearer token in the Authorization header (Authorization: Bearer <key>). Compatible with OpenAI-SDK-standard clients. Accepted by all authenticated endpoints; if both X-API-Key and Authorization: Bearer are present, X-API-Key wins.
Path parameters
entityType
Allowed values:
entityId
Query parameters
orgSlug
depth
types
Response
OK
OR
