AI Chat

Get effective AI workspace file limits

Returns the non-sensitive effective transfer and preview policy for the current workspace user.

get/ai/workspace/file-limits

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/ai/workspace/file-limits
  • Auth: HTTP bearer

Response

max_download_size_mbinteger
max_file_size_mbinteger
max_files_per_uploadinteger
max_image_preview_size_mbinteger
max_text_preview_kbinteger
max_upload_size_mbinteger
max_workspace_entriesinteger
max_workspace_size_mbinteger

Example response

{
  "max_download_size_mb": 32,
  "max_file_size_mb": 16,
  "max_files_per_upload": 32,
  "max_image_preview_size_mb": 8,
  "max_text_preview_kb": 256,
  "max_upload_size_mb": 32,
  "max_workspace_entries": 5000,
  "max_workspace_size_mb": 256
}

Changes

No recorded changes to this operation across all 50 revisions of this API.