List automations
Lists the brand's monitoring automations, rule-based watchers that run actions such as pause or notify on live campaigns. Filter with status; results are cursor-paginated.
bearerAuthAuthorizationBearer <token>An organization API key (koast_sk_…) with the API surface enabled, or an OAuth access token issued by Koast (koast_at_…) whose audience covers this API. REST access requires an active Agency plan.
brandId*integerThe brand the request acts on. Every brand-scoped resource lives under its brand.
status?stringcursor?stringOpaque cursor from the previous page's nextCursor. Omit for the first page.
limit?integerPage size.
1 <= value <= 10050List automations
application/json- response
automations*array<>nextCursor*|Pass as cursor to read the next page. Null when there is no next page.
[key: string]?unknowncurl -X GET "https://example.com/v1/brands/0/automations" \ -H "Authorization: Bearer koast_sk_..."{ "automations": [ { "automationId": 0, "automationName": "string", "status": "string", "action": "string", "actionLevel": "string", "frequency": "string", "property1": null, "property2": null } ], "nextCursor": "string", "property1": null, "property2": null}Required scope: read. CLI: koast list-automations, see Automations commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.
Search the Ad Library
Searches the Meta Ad Library by query and/or one pageId, in country (default US), and returns each ad with an image: page, copy, call to action, start date and image urls (signed, expiring within days). Ads without an image are counted in withoutImages. Page with cursor.
Save automation
Creates a monitoring automation from the spec in automation, or updates an existing one when automationId is given. On create the spec must be complete (name, actionLevel, actions, frequency, apiOutageAction, rules); on update only the fields you pass are changed.