Replace an item with a corrected one
post/memory/items/{id}/supersede
Before you call
- Credential
Authorization: Bearer $KEY- Scope
memory:write- Graphql
Mutation.memoryItemSupersede- Sdk
memory.item.supersede- Cli
memory item supersede
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- scopeobjectrequired
- levelstringrequiredOne of: account, organization, project, product, agent.
- idstringrequiredAt most 120 characters.
- levelstringrequired
- kindstringrequiredOne of: business_fact, brand_voice, guideline, product, policy, faq, decision, preference, conversation_summary, correction, note, research_note, reflection, opinion, life_event, relationship.
- textstringrequiredAt most 4000 characters.
- languagestringAt most 20 characters.
- sourceobjectrequired
- typestringrequiredOne of: upload, conversation, web, connector, human, reflection, lw, call.
- refstringAt most 300 characters.
- labelstringAt most 120 characters.
- urlstringAt most 500 characters.
- retrievedAtstringAt most 40 characters.
- typestringrequired
- originstringrequiredOne of: human, learned, research, reflection, persona_life, conversation.
- statestringOne of: proposed, active.
- confidencenumberAt least 0. At most 1.
- importancenumberAt least 0. At most 1.
- sensitiveboolean
- pinnedboolean
- visibilitystringOne of: all_agents, named_agents, humans_only.
- visibleTolist of string
- validFromstringAt most 40 characters.
- validTostring or null
- entityIdslist of string (uuid)
Responses
- 201application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring