Skip to main content
GET
/
api
/
v1
/
metric-configs
/
{configId}
/
versions
List config versions
curl --request GET \
  --url https://api.logfleet.io/api/v1/metric-configs/{configId}/versions \
  --header 'Authorization: Bearer <token>'
{
  "versions": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "config_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "version": 123,
      "config_snapshot": {},
      "created_at": "2023-11-07T05:31:56Z",
      "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "total": 123
}
Returns the version history for a metric configuration, useful for auditing changes and understanding when configurations were modified.

Authorizations

Authorization
string
header
required

JWT token obtained from /auth/login

Path Parameters

configId
string<uuid>
required

Metric config ID

Query Parameters

limit
integer
default:20
Required range: x <= 100

Response

Version history

versions
object[]
total
integer