Set a group counter
State
Set a group counter
Set a counter on the group.
PUT
Set a group counter
Sets a counter value on a group directly. The counter is identified by its key in the URL path. If the counter does not exist, it is created. If it already exists, its value is overwritten with the provided amount. This is an absolute set, not an increment. You can optionally includeDocumentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
reset_after (a Go duration string like "24h" or "720h") to configure auto-reset. Pass an empty string to clear an existing reset interval.
For usage patterns and examples, see the State Management guide.
Authorizations
API key passed in the X-API-Key header.
Body
application/json
Counter value and optional reset_after