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.

Shub/let 6820 add the migrator between legacy project to default project [LET-6820] (#8300)

Shubham Naik350436c0cc73
diff --git a/fern/openapi.json b/fern/openapi.json
index 361b2ac3e..d9ccada6e 100644
--- a/fern/openapi.json
+++ b/fern/openapi.json
@@ -19689,6 +19689,89 @@
}
}
},
+ "/v1/legacy-templates/{templateId}/migrates": {
+ "post": {
+ "description": "Migrates a template from a legacy project to the default project. Only works if the template is currently in a legacy project.",
+ "summary": "Migrate template from legacy project (Cloud-only)",
+ "tags": ["templates"],
+ "parameters": [
+ {
+ "name": "templateId",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "The template ID"
+ }
+ ],
+ "operationId": "templates.legacyMigration",
+ "requestBody": {
+ "description": "Body",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {}
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "200",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "success": {
+ "type": "boolean"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": ["success"]
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "400",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": ["message"]
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "404",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": ["message"]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/v1/client-side-access-tokens": {
"post": {
"description": "Create a new client side access token with the specified configuration.",