Skip to main content
PATCH
/
groups
/
{groupId}
Update a group
curl --request PATCH \
  --url https://api.eu.bronto.io/groups/{groupId} \
  --header 'Content-Type: application/json' \
  --header 'X-BRONTO-API-KEY: <api-key>' \
  --data '
{
  "group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "created_at": 1710948395538,
  "modified_at": 1710948395538
}
'
{
  "group": "[US]",
  "count": 124,
  "stat": "average(bytes)",
  "value": 50325.25,
  "timeseries": [
    {
      "@timestamp": "1711535140632",
      "count": 40,
      "value": 35.625,
      "quantiles": {
        "min": 691,
        "p25": 713.75,
        "p50": 796,
        "p75": 847.5,
        "p90": 1237,
        "p95": 1331,
        "p99": 1331,
        "p999": 1331,
        "max": 1331
      }
    }
  ]
}

Authorizations

X-BRONTO-API-KEY
string
header
required

Path Parameters

groupId
string<uuid>
required

Unique identifier of the group to update

Body

application/json
group_id
string<uuid>

A unique identifier for the group.

name
string

The display name of the group.

description
string

A brief summary or explanation of the group's purpose.

created_at
integer<int64>

The timestamp when the group was created.

Example:

1710948395538

modified_at
integer<int64>

The timestamp when the group was last modified.

Example:

1710948395538

Response

Updated group

group
string

The groupby key or keys used by this group

Example:

"[US]"

count
integer<int64>

The number of times this group appeared in the logs

Example:

124

stat
string

The statistical function applied to the group

Example:

"average(bytes)"

value
number<double>

Overall value of the statistical function applied

Example:

50325.25

timeseries
object[]