Manually trigger system prompt recompilation for an agent.
The ID of the agent in the format ‘agent-’
If True, do not persist changes; still returns the compiled system prompt.
If True, update the in-context memory last edit timestamp embedded in the system prompt.
curl https://api.letta.com/v1/agents/$AGENT_ID/recompile \ -X POST \ -H "Authorization: Bearer $LETTA_API_KEY"
"string"