Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Shows all responses in api-reference (#1865)

Dev Khant8e2f7f2bfbfc
diff --git a/docs/openapi.json b/docs/openapi.json
index 05323f5a7..abdd0015f 100644
--- a/docs/openapi.json
+++ b/docs/openapi.json
@@ -275,6 +275,22 @@
}
}
}
+ },
+ "400": {
+ "description": "Invalid entity type",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Invalid entity type"
+ }
+ }
+ }
+ }
+ }
}
}
}
@@ -1392,6 +1408,28 @@
}
}
}
+ },
+ "400": {
+ "description": "Bad request",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "errors": {
+ "type": "object",
+ "description": "Errors found in the payload",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
}
}
}
@@ -1486,6 +1524,22 @@
}
}
}
+ },
+ "404": {
+ "description": "Organization not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization not found"
+ }
+ }
+ }
+ }
+ }
}
}
},
@@ -1523,6 +1577,38 @@
}
}
}
+ },
+ "403": {
+ "description": "Unauthorized",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Organization not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization not found"
+ }
+ }
+ }
+ }
+ }
}
}
}
@@ -1575,6 +1661,22 @@
}
}
}
+ },
+ "404": {
+ "description": "Organization not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization not found"
+ }
+ }
+ }
+ }
+ }
}
}
},
@@ -1636,6 +1738,44 @@
}
}
}
+ },
+ "400": {
+ "description": "Bad request",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "errors": {
+ "type": "object",
+ "description": "Errors found in the payload",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Organization not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization not found"
+ }
+ }
+ }
+ }
+ }
}
}
},
@@ -1697,6 +1837,44 @@
}
}
}
+ },
+ "400": {
+ "description": "Bad request",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "errors": {
+ "type": "object",
+ "description": "Errors found in the payload",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Organization not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization not found"
+ }
+ }
+ }
+ }
+ }
}
}
},
@@ -1752,6 +1930,22 @@
}
}
}
+ },
+ "404": {
+ "description": "Organization not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization not found"
+ }
+ }
+ }
+ }
+ }
}
}
}
@@ -1889,6 +2083,38 @@
}
}
}
+ },
+ "403": {
+ "description": "Unauthorized",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Unauthorized to create projects in this organization."
+ }
+ }
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "Bad request",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Project could not be created."
+ }
+ }
+ }
+ }
+ }
}
}
}
@@ -1976,6 +2202,22 @@
}
}
}
+ },
+ "404": {
+ "description": "Organization or project not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization or project not found"
+ }
+ }
+ }
+ }
+ }
}
}
},
@@ -2022,6 +2264,38 @@
}
}
}
+ },
+ "404": {
+ "description": "Organization or project not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization or project not found"
+ }
+ }
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "Unauthorized to modify this project",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Unauthorized to modify this project."
+ }
+ }
+ }
+ }
+ }
}
}
}
@@ -2080,6 +2354,22 @@
}
}
}
+ },
+ "404": {
+ "description": "Organization or project not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization or project not found"
+ }
+ }
+ }
+ }
+ }
}
}
},
@@ -2150,6 +2440,38 @@
}
}
}
+ },
+ "403": {
+ "description": "Unauthorized to modify project members",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Unauthorized to modify project members."
+ }
+ }
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Organization or project not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization or project not found"
+ }
+ }
+ }
+ }
+ }
}
}
},
@@ -2220,6 +2542,38 @@
}
}
}
+ },
+ "403": {
+ "description": "Unauthorized to modify project members",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Unauthorized to modify project members."
+ }
+ }
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Organization or project not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization or project not found"
+ }
+ }
+ }
+ }
+ }
}
}
},
@@ -2272,6 +2626,38 @@
}
}
}
+ },
+ "403": {
+ "description": "Unauthorized to modify project members",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Unauthorized to modify project members."
+ }
+ }
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Organization or project not found",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "example": "Organization or project not found"
+ }
+ }
+ }
+ }
+ }
}
}
}