Shub/let 6588 feedback endpoint [LET-6588] (#7329)
* feat: add feedback endpoint * feat: add feedback endpoint --------- Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
committed by
Caren Thomas
parent
2d82faad70
commit
25a7eaafe6
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user