v1

latestOpenAPI 3.1.02026-07-26142186376.1 KB
Learnings

List Learning Users

List the users that own learning records, with a per-user count and last-updated timestamp. Intended as the entry point for a per-user view: list users here, then drill into a single user's learnings via GET /learnings?user_id=.... Records with no owner (user_id IS NULL) are excluded. Pass learning_type to restrict the grouping to a single store (e.g. user_profile or user_memory). For a scoped (non-admin) caller results are bound to that user; an explicit user_id that differs is rejected with 403. Admins and unscoped callers list all users. Sortable by user_id or last_learning_updated_at (the default).

get/learnings/users

Query parameters

learning_typestring nullable

Restrict the grouping to a single learning type

Restrict the grouping to a single learning type

user_idstring nullable

Restrict the result to a single user

Restrict the result to a single user

limitinteger

Page size

Page size

pageinteger

1-indexed page number

1-indexed page number

sort_bystring nullable

Field to sort by: user_id or last_learning_updated_at (the default)

Field to sort by: user_id or last_learning_updated_at (the default)

sort_order'asc' | 'desc'

Sort order (asc or desc)

db_idstring nullable

Database ID to query

Database ID to query

tablestring nullable

The database table to use (requires db_id)

The database table to use (requires db_id)

Response

Successful Response