Skip to main content
GET
List what the knowledge base learned
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

GET /api/v2/knowledge/listLearning pages the Learning feed newest first for a time window. It needs knowledge:read held at the deployment root, and returns only cases in the credential’s readable namespaces; a source-restricted case never appears. Any other parameter or value answers 400 bad_request. An item names the event (eventId, at, kind), its case (entryId, title, caseKey, namespace, scopeType, entryStatus) and, for a grade change, gradeFrom and gradeTo. It never names who acted, the agent, the run or the reason: a review decision records the reviewer’s note as its reason. A page can come back short, or empty, with meta.hasMore true; keep paging with meta.nextCursor until it is null.

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.

Query Parameters

since
integer
required

Window start, Unix epoch milliseconds.

Required range: x >= 0
until
integer

Window end, Unix epoch milliseconds (default now). At most 90 days after since, and not before it.

Required range: x >= 0
kind
enum<string>[]

Learning kinds to list; every kind when omitted. Repeat the parameter for several values; any other value answers 400.

Available options:
case_created,
memory_promoted,
case_replaced,
case_moved,
case_deleted,
grade_changed,
case_merged
scopeType
enum<string>[]

Case scope types to list; every one when omitted. Repeat the parameter for several values; any other value answers 400.

Available options:
personal,
team,
department,
company,
global,
factory,
project,
direct,
group,
system,
agent,
external_app,
customer,
organization
cursor
string

The meta.nextCursor from the previous page; omit for the first page.

limit
integer
default:25

Items per page, 1-50 (default 25); any other value answers 400.

Required range: 1 <= x <= 50

Response

One page of the Learning feed

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.