Hanzo AI
OpenapiFlag

List activity

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

GET /v1/flag/activity

Addresshttps://api.hanzo.ai/v1/flag/activity
MethodGET
Operationget_flag_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
200flag.activityOutok
defaultproblem-detailsrefused

200 body — 7 fields.

FieldInTypeAlwaysDescription
databodyflag.ActivityRow[]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[].idbodyinteger (int64)ID 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 flag activity

Flag API · All Hanzo APIs · Interactive reference

How is this guide?

On this page