CLI commands

Activity commands

The 1 koast CLI command for the Activity operations.

Every command is one API operation, named by its operationId. Global flags such as --output and --api-url work on all of them, see CLI commands.

get-team-activity-log

Get team activity log. GET /v1/brands/{brandId}/activity, API reference.

koast get-team-activity-log --brand <brand> [flags]
FlagTypeRequiredDescription
--brandintegerYesThe brand the request acts on. Every brand-scoped resource lives under its brand.
--account-idstringNoAd account id (e.g. act_1234 on Meta). Required when no single brand is locked in context, get it from listMyAdAccounts.
--daysnumberNoDefault 7. Minimum 1, maximum 90.
--user-idnumberNo
--entity-idstringNo
--cursorstringNoOpaque cursor from the previous page's nextCursor. Omit for the first page.
--limitintegerNoPage size. Default 50. Minimum 1, maximum 100.

Required scope: read. Paged. --all follows nextCursor to the end and prints one JSON line per item.

Example:

koast get-team-activity-log --brand 123

On this page