Update Activity Config
Activity Configuration
Update Activity Config
POST
Update Activity Config
Use this API to update the activity logs configuration for a workspace. The
activityServiceConfig object must contain at least one sub-field. The config is deep-merged with the existing value, so omitted sub-fields are preserved (including enabledTime when you omit it).
This endpoint uses API-key-level auth: pass
x-velt-api-key and x-velt-auth-token as headers. You can obtain these from the Get Auth Tokens endpoint.Defaults on first enable. If you enable activity logs (
activityServiceConfig.isEnabled: true) and no activityServiceConfig exists yet, defaults are seeded automatically: the standard comment triggers are turned on (including the comment_annotation.suggestion_accept / comment_annotation.suggestion_reject triggers, which are active by default for activity logs), immutable is set to true, and enabledTime is stamped with the current timestamp when you don’t provide one. Any values you send in the same request (including immutable: false or your own enabledTime) are merged on top of these defaults.The response
data echoes the latest post-write state as { activityServiceConfig } — the same shape returned by Get Activity Config, including any seeded defaults. isEnabled is always present (defaults to false when neither your request nor the stored config sets it).Endpoint
POST https://api.velt.dev/v2/workspace/activityconfig/update
Headers
Your API key.
Your Auth Token.

