---
title: "List knowledge graph external references for a node"
method: GET
path: "/knowledgeGraph/nodes/{node_id}/externalRefs"
tags: ["KnowledgeGraph"]
---

# List knowledge graph external references for a node

`GET /knowledgeGraph/nodes/{node_id}/externalRefs`

Lists external references attached to the node identified in the path with optional filters

## Path parameters

- `node_id` string, required

## Query parameters

- `workspace_id` string, required
- `application_id` string
- `entity_type` string
- `entity_id` string
- `relationship` string
- `limit` integer
- `cursor` string

## Response `200`

The list of external references

- KnowledgeGraphExternalRefListResult — Paginated list result for knowledge graph external references
  - `external_refs` KnowledgeGraphExternalRef[]
    - `workspace_id` string — The workspace this reference belongs to
    - `node_id` string — The knowledge graph node this reference is attached to
    - `entity_type` string — The type of external entity (e.g. test, flow, plan, step_execution)
    - `entity_id` string — The ID of the external entity
    - `relationship` string — The relationship between the node and the external entity
    - `entity_variant_id` string — The variant/version ID of the external entity at time of linking
    - `referenced_entity_version` string — The version of the externally referenced entity (not the ETag)
    - `description` string — Human-readable description of this reference
    - `properties` object — Additional structured properties for this reference
    - `version` integer — Monotonic edit counter (server-managed, readOnly)
    - `u_version_` string — ETag for optimistic locking (server-managed, readOnly)
    - `last_updated_by` string — Principal who last updated this reference (server-managed, readOnly)
    - `created_by` string — Principal who created this reference (server-managed, readOnly)
    - `agent_type` string — Agent type that wrote this reference
    - `agent_version` string — Agent version that wrote this reference
    - `created_at` string, date-time — Creation timestamp
    - `updated_at` string, date-time — Last update timestamp
  - `cursor` string — Cursor for fetching the next page of results (absent when no more pages)

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — Entity not found
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
