Admin

Set File Retention Days

Set the file retention policy for the organization.

Uploaded files in chats without active schedules or pinned status will be automatically deleted after the specified number of days.

Args: value: Number of days after which to auto-delete uploaded files. Valid values: 7, 30, 90.

post/api/set_file_retention_days

Request

  • Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.getdot.ai/api/set_file_retention_days
  • Auth: one of:
    • API key in header X-API-KEY
    • API key in cookie Authorization
    • OAuth 2 (password, token URL /api/auth/token)

Request body

valueinteger required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.