Migrate Agent

POST
/v1/agents/:agent_id/migrate
This endpoint is only available on Letta Cloud.

Migrate an agent to a new versioned agent template.

Path parameters

agent_idstringRequired

Request

This endpoint expects an object.
to_templatestringRequired
preserve_core_memoriesbooleanRequired
variablesmap from strings to stringsOptional

If you chose to not preserve core memories, you should provide the new variables for the core memories

Response

200

successboolean

Errors

Built with