Decisions

List decisions

Every source Decision on a site, scale first, then hold, then stop, each in priority order. Filter by posture or source type. Only the briefing and source decisions state Decisions (scale, hold, stop); never infer one from analytics, signals or evidence.

get/sites/{site}/decisions

Request

  • Base URL: https://api.onelence.com/v1
  • URL: https://api.onelence.com/v1/sites/{site}/decisions
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.onelence.com/oauth/authorize, token URL https://api.onelence.com/oauth/token, scopes: decisions:read)
    • HTTP bearer

Path parameters

sitestring required

Site domain (e.g. example.com) or site id. Defaults to the workspace's newest active site.

Query parameters

startstring

Window start: a date (YYYY-MM-DD) or ISO 8601 date-time. Defaults to 30 days before end.

endstring

Window end, inclusive for a date. Defaults to now.

posture'scale' | 'hold' | 'stop'
type'source' | 'affiliate'

affiliate = partner sources only.

limitinteger

Items per page (default 25, max 100).

cursorstring

next_cursor from the previous page.

Response

Success.

object'list' required
has_moreboolean required
next_cursorstring nullable required
notestring required

Changes

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