Agents

Restore a tombstoned agent

Resurrects a tombstoned agent by clearing deleted_at — the counterpart to POST /v1/agents/{agent_id}/tombstone. Lets an org owner/admin override a tombstone (e.g. a key agent a dev removed), or a creator undo their own. Authorized for an org owner/admin OR the agent's creator (while still a member of the agent's org). A caller who is not a member of the agent's org gets the same 404 as a missing agent (no existence oracle); an org member who is neither owner/admin nor the creator gets 403. Returns 409 for agents that went through GDPR erasure (DELETE), whose data was permanently cascaded away and cannot be restored.

post/agents/{agent_id}/restore

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/agents/{agent_id}/restore
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Mnemom-Api-Key
    • API key in cookie mnemom_session

Path parameters

agent_idstring required

Agent identifier (e.g. smolt-abc123)

Response

Agent restored (or already active)

idstring required
deleted_atstring date-time nullable
tombstonedboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.