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 6588 feedback endpoint [LET-6588] (#7329)

Shubham Naik25a7eaafe6f5
diff --git a/fern/openapi.json b/fern/openapi.json
index 9ac5079fe..df5947bcc 100644
--- a/fern/openapi.json
+++ b/fern/openapi.json
@@ -19638,13 +19638,13 @@
}
}
},
- "/v1/usage/balances": {
+ "/v1/metadata/balance": {
"get": {
"description": "Retrieve the current usage balances for the organization.",
- "summary": "Retrieve Current Balances",
- "tags": ["usage"],
+ "summary": "Retrieve current organization balance",
+ "tags": ["metadata"],
"parameters": [],
- "operationId": "usage.retrieveCurrentBalances",
+ "operationId": "metadata.retrieveCurrentBalances",
"responses": {
"200": {
"description": "200",
@@ -19679,6 +19679,56 @@
}
}
},
+ "/v1/metadata/feedback": {
+ "post": {
+ "description": "Send feedback from users to improve our services.",
+ "summary": "Send user feedback",
+ "tags": ["metadata"],
+ "parameters": [],
+ "operationId": "metadata.sendFeedback",
+ "requestBody": {
+ "description": "Body",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 10000
+ },
+ "feature": {
+ "default": "letta-code",
+ "type": "string",
+ "enum": ["letta-code", "sdk"]
+ }
+ },
+ "required": ["message"]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "200",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "success": {
+ "type": "boolean"
+ }
+ },
+ "required": ["success"]
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/v1/scheduled-messages/{scheduled_message_id}": {
"delete": {
"description": "Delete a scheduled message by its ID for a specific agent.",