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]| Flag | Type | Required | Description |
|---|---|---|---|
--brand | integer | Yes | The brand the request acts on. Every brand-scoped resource lives under its brand. |
--account-id | string | No | Ad account id (e.g. act_1234 on Meta). Required when no single brand is locked in context, get it from listMyAdAccounts. |
--days | number | No | Default 7. Minimum 1, maximum 90. |
--user-id | number | No | |
--entity-id | string | No | |
--cursor | string | No | Opaque cursor from the previous page's nextCursor. Omit for the first page. |
--limit | integer | No | Page 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