Public: Tasks

List agent tasks

Tasks this brand has run, newest first.

A build_page task reports the state of the page build it wraps, so its status is always what the opportunity itself says. A task that has been running for more than two hours with no word from the agent is reported as failed.

get/api/v1/public/brands/{brandSlug}/tasks/

Request

  • Base URL: https://api.iterant.ai
  • URL: https://api.iterant.ai/api/v1/public/brands/{brandSlug}/tasks/
  • Auth: HTTP bearer

Path parameters

brandSlugstring required

Query parameters

limitstring

1-50, default 20.

offsetstring

Rows to skip.

status'failed' | 'running' | 'succeeded'

Only tasks in this state.

Response

totalinteger required

Rows matching the query, before limit and offset.

offsetinteger required

Rows skipped. Echoed back so a caller can page without bookkeeping.

limitinteger required

Cap actually applied, which may be lower than the one requested.

notestring required

How to narrow, when the cap hid rows. Empty when the response is the whole answer.

Changes

No recorded changes to this operation across all 1 revision of this API.