Overview
Our clip-level reporting endpoint provides insight into your assets' clip-level metadata, generating reports for such uses as:
-
Generating lists commonly occurring topics, faces, and keywords, for use in video personalization menus and settings.
-
Filtering out content that may have been misidentified by your AI scan.
-
Monitoring your data ingestion workflow (especially useful if you are pulling in data from multiple data providers).
These reports are delivered instantly in a JSON format, so that they can be easily used to automatically update preference menus and other options in your personalization UI.
Accessing the Clip-Level Reporting Endpoint
You can find the the relevant API specs and test out the functionality in the “Reporting” tab in the API tools on on lvs.linius.com.
Requesting Reports
Use the following endpoint to request reports.
-
GET /v3/reporting/clip/agg
Request field definitions
Name |
Description |
---|---|
x-api-key |
Api key |
Authorization |
Bearer token You can get both your API key and your bearer token on any GET endpoint in the API Tools: Try-It-Now form on lvs.linius.com (accessible via the left-navigation). |
query |
Enter a Lucene query to: search for a specific text string (e.g. word, phrase, or name) or asset ID; apply filters based on clip-level metadata (e.g. clip category or timecode range). The table at the end of this page provides sample queries for a variety of reports. |
aggregation |
Determines how to organize your report records. Available aggregation values:
|
size |
Specify the maximum number of results.
|
minDocCount |
The minimum # of times a specific payload value, clip category, or indexer type must match your Lucene query in order for it to appear within your report. (For example, you might use “ |
Report Examples
Use Case |
Sample Report |
---|---|
Get count of all face clips. Query: payload.category:FACE Aggregation: PAYLOAD_CATEGORY |
|
List of top 10 unique names for all KNOWN Faces (i.e. filtering out “Unknown” faces). Query: +payload.category:FACE -payload.value:Unknown Aggregation: PAYLOAD_VALUE |
|
Get counts of all clips for each and every category Query: (leave blank) Aggregation: PAYLOAD_CATEGORY |
Please note that any you ALIAS values that you add to your FACE clips will appear in your reports for any query that includes the FACE clip category.
|
Get counts of all clips for selected clip categories. (e.g FACE, TRANSCRIPT, and TOPIC) Query: payload.category:FACE TRANSCRIPT TOPIC Aggregation: PAYLOAD_CATEGORY |
|
Get counts of all clips containing a specific word, broken down by clip categories. (E.g. get all clips containing “John”) Query: payload.value:John Aggregation: PAYLOAD_CATEGORY |
|
Get counts for each unique Face containing value “John” Query: payload.category:FACE AND payload.value:John Aggregation: PAYLOAD_VALUE |
|
Get counts of all clips, broken down by clip category for one or more specific assets. Query: +assetId:2958489 Aggregation: PAYLOAD_CATEGORY |
|
Get counts for each unique KNOWN face within a specific assets. Query: +payload.category:FACE +assetId:2958528 2958489 -payload.value:Unknown Aggregation: PAYLOAD_VALUE |
|
Get a count of topics contained within assets with Asset-level tag “politics” Query: You can use a two-step process like this:
Aggregation: PAYLOAD_VALUE |
|
Get a count of top 10 unique face clips with at least a 99% MSVI confidence score. Query: +payload.category:FACE +payload.confidence: [.99 TO *] Aggregation: PAYLOAD_VALUE |
|
Count clips for assets created since a specific a date. (e.g all clips since January 1 2012) broken down by category Query: +assetCreated: [1577846351000 TO *] Aggregation: PAYLOAD_CATEGORY |
|
Count clips based on CLIP CREATION DATE ed since a specific a date. (e.g all clips since January 1 2012) broken down by category Query: +created: [1577846351000 TO *] Aggregation: PAYLOAD_CATEGORY |
|
Count clips containing specific word, broken down by category, EXCEPT for certain clip categories (e.g. search for trump, exclude certain clip categories ASSET_TAG, START_DATE, END_DATE) Query: +payload.value:Trump -payload.category:KEYWORD -payload.category:BRAND -payload.category:TOPIC Aggregation: PAYLOAD_CATEGORY |
|
Get counts of all clips, broken down by all categories EXCEPT for certain clip categories. Query: payload.category:KEYWORD -payload.category:BRAND -payload.category:TOPIC Aggregation: PAYLOAD_CATEGORY |
Comments
0 comments
Article is closed for comments.