Test Instance Email Setting
TestInstanceEmailSetting sends a test email with the provided or stored SMTP settings. Admin only.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request message for InstanceService.TestInstanceEmailSetting.
Response Body
application/json
curl -X POST "https://example.com/api/instance/settings/notification:testEmail" \ -H "Content-Type: application/json" \ -d '{}'Get Instance Stats
GetInstanceStats gets resource usage statistics for the instance. Admin only. Results are cached for 60 seconds.
Update Instance Setting
UpdateInstanceSetting replaces an instance setting. Admin only. Fields declarative configuration manages cannot be changed. Empty write-only credentials keep the stored values. Saving the AI setting lists the models of each provider that is new or whose type, endpoint or key changed. A rejected key, an unreachable or redirecting endpoint, or no answer in time refuses the save with a google.rpc.ErrorInfo in the "memos.api" domain: AI_PROVIDER_AUTH_FAILED or AI_PROVIDER_REDIRECTED with FAILED_PRECONDITION, AI_PROVIDER_UNREACHABLE with UNAVAILABLE, AI_PROVIDER_TIMEOUT with DEADLINE_EXCEEDED. Metadata "upstream_status" carries the provider's HTTP status when there was one. Other provider answers do not refuse the save.