Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

Chore remove deprecated routes (#5371)

Shubham Naik248c7c0b440b
diff --git a/fern/openapi-overrides.yml b/fern/openapi-overrides.yml
index 7e44561d7..416186ad2 100644
--- a/fern/openapi-overrides.yml
+++ b/fern/openapi-overrides.yml
@@ -578,36 +578,6 @@ paths:
- agents
- messages
x-fern-sdk-method-name: summarize
- /v1/agents/{agent_id}/template:
- post:
- x-fern-sdk-group-name:
- - agents
- - templates
- x-fern-sdk-method-name: create
- description: |
- <Note>This endpoint is only available on Letta Cloud.</Note>
-
- Creates a template from an agent.
- /v1/agents/{agent_id}/migrate:
- post:
- x-fern-sdk-group-name:
- - agents
- - templates
- x-fern-sdk-method-name: migrate
- description: |
- <Note>This endpoint is only available on Letta Cloud.</Note>
-
- Migrate an agent to a new versioned agent template.
- /v1/agents/{agent_id}/version-template:
- post:
- x-fern-sdk-group-name:
- - agents
- - templates
- x-fern-sdk-method-name: create_version
- description: |
- <Note>This endpoint is only available on Letta Cloud.</Note>
-
- Creates a new version of the template version of the agent.
/v1/agents/{agent_id}/core-memory/variables:
get:
x-fern-sdk-group-name:
diff --git a/fern/openapi.json b/fern/openapi.json
index 512de58d4..702fc0887 100644
--- a/fern/openapi.json
+++ b/fern/openapi.json
@@ -12488,66 +12488,6 @@
}
}
},
- "/v1/agents/{agent_id}/migrate": {
- "post": {
- "description": "Migrate an agent to a new versioned agent template. This will only work for \"classic\" and non-multiagent agent templates.",
- "summary": "Migrate Agent",
- "tags": ["agents"],
- "parameters": [
- {
- "name": "agent_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "operationId": "agents.migrateAgent",
- "requestBody": {
- "description": "Body",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "to_template": {
- "type": "string"
- },
- "preserve_core_memories": {
- "type": "boolean"
- },
- "preserve_tool_variables": {
- "type": "boolean",
- "description": "If true, preserves the existing agent's tool environment variables instead of using the template's variables"
- }
- },
- "required": ["to_template", "preserve_core_memories"]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "200",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "success": {
- "type": "boolean",
- "enum": [true]
- }
- },
- "required": ["success"]
- }
- }
- }
- }
- }
- }
- },
"/v1/agents/{agent_id}/core-memory/variables": {
"get": {
"description": "Get the variables associated with an agent",