workspace
get the AI session retention of workspaces referenced by client-side sessions
Changed onpost/workspaces/session_workspace_retention
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/workspaces/session_workspace_retention
- Auth: one of:
- HTTP bearer
- API key in cookie token
Request body
Response
map of workspace id to its ai_config.sessions_retention_days; a workspace without a retention, or one the caller cannot be authenticated into, is absent
object required
Changes
- info
endpoint added
- info