analytics
PUT /api/v1/analytics/settings
Changed onRequest
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/api/v1/analytics/settings
- Authnone declared
Request body
Example request
{
"analyticsRetentionDays": 30
}Response
Update analytics settings for the authenticated organization
Example response
{
"organizationId": "org_abc123",
"subscriptionTier": "free",
"analyticsRetentionDays": 30,
"maxRetentionDays": 30,
"createdAt": "2026-01-20T00:00:00.000Z",
"updatedAt": "2026-01-20T00:00:00.000Z"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking