Skip to main content
GET
List the context a run step recalled
The reference panel describes the current v3 operation. The notes below describe its v2 compatibility API. Follow the v3 request schema for current calls: v3 can move identifiers from the body or query into the URL. Keep the v2 method, path, and payload together when using the compatibility API.

v2 compatibility notes

Returns what one step recalled and retrieved: knowledge cases, long-term memories, facts, historical external references, skills and knowledge_search outcomes, at most the newest 200, ordered by kind and then by score. meta.partial is true when the step recorded more. Page with limit and cursor; past the newest 200, the last page answers meta.hasMore: false with meta.truncated: true.

What each item shows

An item’s label follows the item’s own read rule, not the run’s:
  • A knowledge case carries its label, namespace and ids only when you also hold knowledge:read and your knowledge scope reads its namespace, read as no particular person. A case whose source access limits it to named people keeps its refId and the label “restricted”. Otherwise the case is restricted, with only its kind, score and cited flag.
  • A memory or a fact is always restricted: read memory through the memory routes.
  • A skill is its ref id; a search outcome names its closed status.
refStatus is live, deleted, forgotten, missing or restricted. Resolve a [ref:k…] citation with GET /api/v2/runs/resolveCitation.

Visibility

You need runs:read at the run’s home (its own org unit, else its workflow’s owning org unit) and at every company it carries, the same rule as GET /api/v2/runs/get. Any other run, and a run with neither home, answers 404 “Run not found” like a missing one. A Personal key reads as its owner, cut down to the key’s scopes; an External App reads by its own role grants. Historical external references pass their recorded namespace and source-access checks, then show missing / No longer available without querying their source.

Authorizations

Authorization
string
header
required

An External App: the JWT it obtains from POST /oauth/token with OAuth2 client_credentials. Pass as Authorization: Bearer <jwt>. An app's static companion key also authenticates as the app, but is deprecated and is not protected by Idempotency-Key.

Path Parameters

runId
string
required

The run id.

Minimum string length: 1

Query Parameters

nodeId
string
required

The step's graph node id.

Minimum string length: 1
limit
integer
default:50

Items per page, 1 to 100 (default 50); a larger value is a 400 too_big. A page may hold fewer items than limit while meta.hasMore is true; continue with meta.nextCursor.

Required range: 1 <= x <= 100
cursor
string

The previous page's meta.nextCursor; any other value is 400.

Minimum string length: 1

Response

The step's context items

data
object[]
required
meta
object
required

A list page's continuation. While hasMore is true, nextCursor is a string: pass it as cursor for the next page. hasMore: false ends the list; with truncated: true, more exist past what this list reads, and no cursor reaches them.