Skip to content
Console
Menu

Getting Started

Authentication

KV Store

Delete a memory store

Deletes a memory store.

Deletes a memory store. A store an agent names is refused with RESOURCE_IN_USE; a store with memories is refused with INVALID_STATE unless force is set, which deletes them too.

Not available yet. Sylphx Agents is declared in the registry but no backend serves it: every call answers 501 with the problem code UNIMPLEMENTED.

  • Path DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/memory_stores/memory-store
  • Scope agents:write
  • Effect destructive — a successful call removes data; the CLI asks before it runs.
  • Collection memory_stores
  • Query etag, allow_missing, validate_only, force

#Request

FieldTypeWhat it is
namestringThe name of the memory store to delete. Required.
etagstringDelete only if the current etag matches.
allow_missingboolSucceed when the memory store does not exist.
validate_onlyboolValidate without deleting anything.
forceboolAlso delete the store's memories; without it, a store with memories is refused with INVALID_STATE.

#Response

The call answers with an empty object.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X DELETE "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/memory_stores/memory-store" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"