v1

latestOpenAPI 3.1.02026-07-26142186376.1 KB
Learnings

Delete Learning User

Delete the learning records owned by a user. By default removes every learning type backed by the agno_learnings table (user_profile, user_memory, and any user-scoped entity records); pass learning_type to restrict deletion to a single store. Records with no owner (user_id IS NULL) are not affected. For a scoped (non-admin) caller, only their own learnings may be deleted; a different user_id is rejected with 403. Admins and unscoped callers may delete any user's learnings. Returns 204 even if the user had no matching records.

delete/learnings/users/{user_id}

Path parameters

user_idstring required

The user whose learnings should be deleted

The user whose learnings should be deleted

Query parameters

learning_typestring nullable

Restrict deletion to a single learning type; omit to delete all of the user's learnings

Restrict deletion to a single learning type; omit to delete all of the user's learnings

db_idstring nullable

Database ID to use

Database ID to use

tablestring nullable

The database table to use (requires db_id)

The database table to use (requires db_id)

Response

Successful Response