Clear memory for an AI agent.
If session_id is provided, only clears memory for that session. Otherwise, clears all memory for the agent.
API Key authentication for developer endpoints (/api/v1/*). Use format: 'Bearer pg_api_your_key_here'
Successful Response
The response is of type Response Clear Memory Api V1 Memory Agent Id Delete · object.