Skip to main content
Creating custom asset download reports

You can use our API to get more reporting

Updated over a year ago

Dash includes a number of reports, but sometimes you may want to run reports that aren't available within Dash. You can do this using our API. Ideally, this would be done by someone with technical/development experience but this isn't always essential, depending on the query you'd like to run.

How do I run custom download reports?

You can find a link to our API documentation in this article.

Here is the specific page for reporting on assets.

The API documentation itself contains interactive elements that you can use to run queries yourself and get results immediately. If you are a developer, or have access to a developer, this documentation should provide everything you need to create the desired reports.

Example - reporting on downloads from portals

Let's say you would like to report on the number of downloads in the previous month from your portals. Here is how you do it:

  1. Go to this page in the API documentation

  2. Click "Try it"

  3. In the 'Body' section on the right-hand side, paste in the following text:

    ​{
    "from": 0,
    "pageSize": 0,
    "criterion": {
    "type": "FIELD_IN_RANGE",
    "field": "DATE_TIME",
    "from": "2023-10-01T00:00:00.000",
    "to": "2023-10-31T23:59:59.999"
    },
    "sorts": [],
    "aggregations": {
    "by_portal": {
    "type": "TERMS",
    "field": "PORTAL_ID"
    }
    }
    }
  4. Modify the dates in the "from" and "to" rows to match the date range you would like to report on

  5. Click the "Auth" tab

  6. Paste the access token you obtained earlier into the "Bearer token" field

  7. Click "Send"

  8. In the results, click "Expand all"

  9. You will see a row for each portal, including the number of downloads in the date range you specified. (This lists each portal by its ID - use the PortalSearch operation to obtain the corresponding names of portals).

Did this answer your question?