Skip to main content

What is an asset?

An asset is a single media file (video, image, or document) that you submit for processing. Each asset within a submission is processed independently and generates its own results.

Asset lifecycle

An asset begins as a file in blob storage, becomes part of a submission, waits in a queued state for a free review slot, is analyzed, and ends in one of three terminal states: compliant (no issues found), in_review (issues found and awaiting your review), or failed. The queued state is non-terminal — an asset stays queued only until capacity frees up, then moves to processing. These are the values of processingStatus, which you read from assets[] on the submission status response:

Supported formats

Files up to the per-category maximums above are uploaded with a presigned URL. See Uploads.

Asset results

Once an asset finishes processing, you can retrieve its detailed result. There is no /results suffix — the asset detail is the asset endpoint itself. GET /api/submissions/{submission_id}/assets/{asset_id}
The issues array contains IssueResponse objects. startedAt and completedAt are when this asset actually entered and left review — null while it is still queued, and re-stamped by a retry. completedAt is set for any terminal outcome, so on a failed asset it is the failure time.

Issues

Each issue describes a compliance or quality concern found during analysis:
sidekickId and sidekickName tell you which check raised the issue. A submission runs every sidekick your workspace has enabled, so on a multi-sidekick run this is what separates a brand objection from a legal one. Both are null together when no sidekick raised the issue — a person did, or the run predates attribution being recorded. The name is resolved from the catalogue rather than from the sidekicks your workspace currently has enabled, so an issue raised by a sidekick you have since turned off still tells you which one found it. Severity levels:
  • CRITICAL
  • MAJOR
  • MINOR
  • INFO
Issue statuses:
  • OPEN
  • ACKNOWLEDGED
  • AWAITING_HUMAN_INPUT
  • RESOLVED
  • DISMISSED

Enriched issues

For a flat list of issues enriched with their rule-graph context, call: GET /api/submissions/{submission_id}/assets/{asset_id}/issues
Each enriched issue carries the underlying rule-graph constructs that produced it, including contributors and evidence. These are not “people mentioned in the media” — they are nodes in the rule graph (contributing factors) and the supporting evidence the analysis attached to each, used to explain why the issue fired. Each enriched issue also carries sections and ruleLinks, the detail cards and rule links the iClear issue panel shows, so an integration can show what reviewers see:
  • sections — the detail cards, as { "key", "title", "items" }. Switch on key: rulings (past ASA rulings) and guidance (ASA guidance pages) appear together, and only when the evidence step ran for the issue; then an empty items list means “looked up, nothing found”. resolution holds the recommended fixes and is always present, last; an empty items list means the issue has no fixes. news_coverage holds the news articles behind a Current Affairs issue and appears only when there is at least one; an article card carries title (the headline as the search returned it, or else the article’s url), url, publisher and date meta, the search’s summary of the article (not the article’s own words) as quote, and reason; url is left out unless it is an http or https link. A ruling or guidance card can carry title, url, meta, flags, quote and reason; a fix card carries content. The contradicts flag marks a ruling whose outcome cuts against the issue. Each meta entry is a { "key", "value" } pair: outcome on a ruling whose decision is known (upheld, upheld_in_part or not_upheld), source on a guidance page (AdviceOnline), publisher on a news card, date (YYYY-MM-DD) when known, and stance and relevance, which the panel does not display. Ignore a section key, meta key or flag you do not recognise; more may be added.
  • ruleLinks — one entry per rule behind the issue, primary rule first: code, a display label (the rule as cited, e.g. CAP 3.7), a link to the rule’s source (url: the Code section on asa.org.uk for CAP and BCAP rules), the rule’s wording (text) and why the issue was raised under that rule (reasoning).
sections and ruleLinks are always present (sections holds at least the resolution section; ruleLinks is an empty list when there is nothing to show), and so are a card’s meta, flags and quote. The optional fields — title, url, reason and content on a card; url, text and reasoning on a rule link — are declared nullable in the schema but are left out when they have no value, never sent as null.
Issues from a sandbox submission carry no sections, and a rule link with only code and label: sandbox rule codes such as SANDBOX_FAIL_1 are not CAP or BCAP rules.

Topics

To group related issues, the API clusters them into topics using AI: GET /api/submissions/{submission_id}/assets/{asset_id}/topics
A topic groups two or more related issues. Issues that do not cluster appear in orphanIssues — this is normal, not an error.
The /issues and /topics endpoints return 404 if the asset has not finished processing yet, and 502 if the underlying analysis blob fails to load from storage.

Versioning

To create a new version of an asset, submit a new submission whose asset references the original through previousSubmissionId. This is useful when:
  • The original file was incomplete or had audio issues
  • You want a fresh analysis with newer processing models
  • Processing previously failed and you want to retry against a corrected file
Each version increments versionNumber within a shared versionGroupId. Previous versions remain accessible. List all versions of a submission’s assets with: GET /api/submissions/{submission_id}/versions