Agent memory

Agent memory holds short summaries of finished work for one team. Any agent on the team can search them. No other team can.

Memory is off for every team until a workspace owner or admin turns it on. This page lists the API that exists today, and each limit that decides whether something runs. The Agent settings screen and the automatic save after a task come later.

The API

CallWhoWhat it does
POST /api/teams/{team}/memory/searcha team memberSearches the team. The body is query, and optionally repo_id and limit
GET /api/teams/{team}/memorya team memberLists what is remembered. Optional: repo_id, next_token
DELETE /api/teams/{team}/memory/{id}a workspace owner or admin, in a browserRemoves one record
GET /api/teams/{team}/memory-settingsa team memberShows enabled, plan_allows, store_ready and can_edit
PUT /api/teams/{team}/memory-settingsa workspace owner or admin, in a browserSets enabled, true or false

No call saves a record. Only iKanban's own server code saves one.

What each refusal means

You seeWhyWhat to do
401You are not signed inSign in, or send an API key
404 on the teamYou are not a member of this teamAsk a team member to add you
403Your role, or your API key, does not allow thisAsk a workspace owner or admin. An API key cannot delete a record or change the setting
402The plan does not include memory. Memory comes with Pro+Change the plan in Billing
404 on repo_id, for a member limited to some projectsThe repository is not in one of your projectsSearch without it, or ask a workspace owner or admin for access
429This team made too many searches. Each team gets 5 a second, with 10 at onceWait a few seconds, and try again
400A field is outside its limit, or the request names a field the route does not takeSend only the fields above. The service sets the team's place in the store, and a request cannot name it
404 on repo_idThe repository is not in a project of this teamSearch without it, or use a repository of this team
404 on a recordThe record is not in this teamCheck the id from the list
503Memory cannot be reached, or this deployment has no storeCarry on without it, and try again later
"state": "off"The team has memory off. Nothing is searched or savedA workspace owner or admin turns it on

Limits

LimitValue
Search text1 to 1,000 characters
Results for one search1 to 50, default 10
One recordat most 8,000 characters
Time a record stays365 days

What stays true