Evidence

Evidence gaps

Missing or partial evidence behind sources, campaigns and partners, who needs to act and a link to it. action is null when OneLence offers no step to take now; url is null when the item has no page. Filter by source, entity type or work bucket.

get/sites/{site}/evidence-items

Request

  • Base URL: https://api.onelence.com/v1
  • URL: https://api.onelence.com/v1/sites/{site}/evidence-items
  • 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.

source_idstring

Only work items for this source.

entity_type'source' | 'campaign' | 'affiliate_partner'
bucket'operator_action_required' | 'collecting_or_unresolved' | 'system_unavailable' | 'conflict_requiring_review'

operator_action_required = someone must act.

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.