Skip to main content
The Settings API allows administrators to retrieve and update application-wide configuration settings.

List settings

Returns the current application settings. Requires superuser authentication.
Authorization
string
required
Admin authentication token
meta
object
Application metadata configuration
logs
object
Logging configuration
smtp
object
SMTP email configuration
s3
object
S3 storage configuration
backups
object
Backups configuration
trustedProxy
object
Trusted proxy configuration
rateLimits
object
Rate limiting configuration
batch
object
Batch request configuration
curl -X GET http://127.0.0.1:8090/api/settings \
  -H 'Authorization: TOKEN'

Update settings

Updates application settings. Only provided fields will be updated. Requires superuser authentication.
Authorization
string
required
Admin authentication token
meta
object
Application metadata configuration
logs
object
Logging configuration
smtp
object
SMTP email configuration
s3
object
S3 storage configuration
backups
object
Backups configuration
trustedProxy
object
Trusted proxy configuration
rateLimits
object
Rate limiting configuration
batch
object
Batch request configuration
Returns the updated settings object with the same structure as the GET endpoint.
curl -X PATCH http://127.0.0.1:8090/api/settings \
  -H 'Authorization: TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "meta": {
      "appName": "My App"
    },
    "logs": {
      "maxDays": 7
    }
  }'

Build docs developers (and LLMs) love