Import Agent
/v1/agents/import
Import a serialized agent file and recreate the agent(s) in the system. Returns the IDs of all imported agents.
Header Parameters
"x-override-embedding-model": optional string
Returns
Import Agent
curl https://api.letta.com/v1/agents/import \
-H 'Content-Type: multipart/form-data' \
-H "Authorization: Bearer $LETTA_API_KEY" \
-F file=undefined
{
"agent_ids": [
"string"
]
}Returns Examples
{
"agent_ids": [
"string"
]
}