Hanzo
OpenapiFlags

Returns the caller's flag change log newest-first: every create, update and…

Returns the caller's flag change log newest-first: every create, update and delete, with the actor and the time.

GET /v1/flags/activity

Addresshttps://api.hanzo.ai/v1/flags/activity
MethodGET
Operationget_flags_activity
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the caller's flag change log newest-first: every create, update and delete, with the actor and the time.

Request

1 field.

FieldInTypeRequiredDescription
limitqueryintegerLimit caps the rows returned.

Response

StatusBodyMeaning
200activityOutok

200 body — 7 fields.

FieldInTypeAlwaysDescription
databodyActivityRow[]Data is the change log newest-first: who created, updated or deleted which key, when.
data[].actionbodystringAction is one of created, updated, deleted.
data[].actorbodystringActor is the email of the principal who made the change.
data[].atbodystringAt is when the change was made, RFC 3339 UTC.
data[].detailbodystringDetail is free-form context about the change.
data[].idbodyintegerID is the log's own sequence number, rising with each entry.
data[].keybodystringKey is the flag that changed.

Failure carries the platform error shape — see Errors.

Examples

hanzo flags activity

Flags API · All Hanzo APIs · Interactive reference

How is this guide?

On this page