Bynder Asset Usage V1 API

These endpoints return information related to the specific event. You can enrich these events with specific data about the asset or the user by making use of the [Analytics Reporting tool](#reference/analytics/reporting) or the [Users API endpoints](#reference/users).

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v7/analytics/api/v1/asset/archive List archive events for assets · Retrieve asset archive events #
Ask an LLM
“Which assets were archived in a given date range?”
“Can I pull archive events for a folder?”
Tell an agent
List archive events from {from} to {to}.
Show archived assets created after {from}.
GET /v7/analytics/api/v1/asset/create List asset creation events · Retrieve asset creation events #
Ask an LLM
“Which assets were uploaded in a date range?”
“Can I see new asset creation events?”
Tell an agent
List asset creation events from {from} to {to}.
Show assets uploaded after {from}.
GET /v7/analytics/api/v1/asset/download List asset download events · Retrieve asset download events #
Ask an LLM
“Which assets were downloaded in a date range?”
“Can I see download events for a folder?”
Tell an agent
List download events from {from} to {to}.
Show assets downloaded after {from}.
GET /v7/analytics/api/v1/asset/remove List removed asset events · Retrieve removed asset events #
Ask an LLM
“Which assets were removed in a date range?”
“Can I see removal events for a folder?”
Tell an agent
List removed asset events from {from} to {to}.
Show assets removed after {from}.
GET /v7/analytics/api/v1/asset/v2/download List download events since November 2023 · Retrieve asset download events #
Ask an LLM
“Can I get download events from November 2023 onwards?”
“What changed in the newer download events endpoint?”
Tell an agent
List download events since November 2023.
Show download events from {from} to {to} using the v2 endpoint.
GET /v7/analytics/api/v1/asset/view List asset view events (deprecated) · Retrieve asset view events #
Ask an LLM
“Can I still get asset view events with the older endpoint?”
“Is the asset views v2 endpoint deprecated?”
Tell an agent
List view events using the deprecated asset views endpoint.
Show asset views from {from} to {to} with the older view endpoint.
GET /v7/analytics/api/v1/asset/{assetId} List all events for one asset · Retrieve all events performed in a given asset #
Ask an LLM
“What happened to a specific asset over time?”
“Can I see the full event history of one asset?”
Tell an agent
List all events for asset {assetId}.
Show events for asset {assetId} from {from} to {to}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bynder:bynder-asset-usage-v1-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bynder-asset-usage-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Analytics Asset Usage V1 API
  description: Track asset usage, user activity, search patterns, and collection engagement. Generate usage reports and analyze content performance.
  version: 1.0.0
  x-bynder-visibility: public
servers:
- url: https://{your-bynder-domain}
security:
- permanentToken:
  - analytics.api:read
- oauth2:
  - analytics.api:read
tags:
- description: These endpoints return information related to the specific event. You can enrich these events with specific data about the asset or the user by making use of the Analytics Reporting tool or the Users API endpoints.
  name: Asset Usage V1
paths:
  /v7/analytics/api/v1/asset/archive:
    get:
      description: Retrieve archive events for assets within a specified date range.
      parameters:
      - description: The maximum number of analytics events to retrieve. Allowed values are between 1 and 10000.
        in: query
        name: limit
        required: false
        schema:
          default: 1000
          example: 100
          type: integer
      - description: Cursor mark returned in the response headers to be used for pagination purposes.
        in: query
        name: cursor
        required: false
        schema:
          default: MA
          example: MTAwMA
          type: string
      - description: Retrieve archive events occurred after this date.
        in: query
        name: fromDateTime
        required: false
        schema:
          example: '2022-01-01T01:00:00.000Z'
          format: date-time
          type: string
      - description: Set a date range together with the "fromDateTime" parameter.
        in: query
        name: toDateTime
        required: false
        schema:
          example: '2022-06-01T01:00:00.000Z'
          format: date-time
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                example-1:
                  summary: Example response
                  value: "[\n  {\n    \"id\": \"62de6d714e29485a81824fe3\",\n    \"eventType\": \"asset.archive\",\n    \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n    \"dateTime\": \"2021-11-15T10:07:57.781+00:00\",\n    \"assetId\": \"CA510292-E39E-4B28-AB6444CDD2B1C5C0\",\n    \"assetType\": \"image\",\n    \"assetName\": \"Product Insights\",\n    \"assetAudit\": \"ACCEPTED\",\n    \"fileName\": \"CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights\"\n  },\n  {\n    \"id\": \"62de6d714e29485a81824fe4\",\n    \"eventType\": \"asset.archive\",\n    \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n    \"dateTime\": \"2021-11-15T10:08:18.752+00:00\",\n    \"assetId\": \"C58ED8C6-6B09-4CD6-B71C32C6715834F1\",\n    \"assetType\": \"image\",\n    \"assetName\": \"Reporting Schedule Nov 2022\",\n    \"assetAudit\": \"ACCEPTED\",\n    \"fileName\": \"C58ED8C6-6B09-4CD6-B71C32C6715834F1___Reporting Schedule Nov 2022\"\n  }\n]\n"
              schema:
                items:
                  properties:
                    assetAudit:
                      example: ACCEPTED
                      type: string
                    assetId:
                      example: CA510292-E39E-4B28-AB6444CDD2B1C5C0
                      type: string
                    assetName:
                      example: Product Insights
                      type: string
                    assetType:
                      example: image
                      type: string
                    dateTime:
                      example: '2021-11-15T10:07:57.781Z'
                      format: date-time
                      type: string
                    eventType:
                      example: asset.archive
                      type: string
                    fileName:
                      example: CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights
                      type: string
                    id:
                      example: 62de6d714e29485a81824fe3
                      type: string
                    userId:
                      example: 1A84D758-2B3A-141F-8F07D71AA1F223BD
                      type: string
                  type: object
                type: array
          description: Successful response
          headers:
            Next-Cursor:
              description: The next cursor value to send if you want to continue with your paginated request.
              schema:
                example: MTAwMA
                type: string
            Next-Url:
              description: The next URL path to query if you want to continue with your paginated request.
              schema:
                example: /api/v1/asset/archive?limit=1000&cursor=MTAwMA
                type: string
      summary: Retrieve asset archive events
      tags:
      - Asset Usage V1
      operationId: getV7AnalyticsApiV1AssetArchive
      x-operation-id-source: derived
  /v7/analytics/api/v1/asset/create:
    get:
      description: Retrieve asset creation events within a specified date range.
      parameters:
      - description: The maximum number of analytics events to retrieve. Allowed values are between 1 and 10000.
        in: query
        name: limit
        required: false
        schema:
          default: 1000
          example: 100
          type: integer
      - description: Cursor mark returned in the response headers to be used for pagination purposes.
        in: query
        name: cursor
        required: false
        schema:
          default: MA
          example: MTAwMA
          type: string
      - description: Retrieve create events occurred after this date.
        in: query
        name: fromDateTime
        required: false
        schema:
          example: '2022-01-01T01:00:00.000Z'
          format: date-time
          type: string
      - description: Set a date range together with the "fromDateTime" parameter.
        in: query
        name: toDateTime
        required: false
        schema:
          example: '2022-06-01T01:00:00.000Z'
          format: date-time
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                example-1:
                  summary: Example response
                  value: "[\n  {\n    \"id\": \"62de6d714e29485a81824fe3\",\n    \"eventType\": \"asset.create\",\n    \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n    \"dateTime\": \"2021-11-15T10:07:57.781+00:00\",\n    \"assetId\": \"CA510292-E39E-4B28-AB6444CDD2B1C5C0\",\n    \"assetType\": \"image\",\n    \"assetName\": \"Product Insights\",\n    \"assetAudit\": \"ACCEPTED\",\n    \"fileName\": \"CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights\"\n  },\n  {\n    \"id\": \"62de6d714e29485a81824fe4\",\n    \"eventType\": \"asset.create\",\n    \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n    \"dateTime\": \"2021-11-15T10:08:18.752+00:00\",\n    \"assetId\": \"C58ED8C6-6B09-4CD6-B71C32C6715834F1\",\n    \"assetType\": \"image\",\n    \"assetName\": \"Reporting Schedule Nov 2022\",\n    \"assetAudit\": \"ACCEPTED\",\n    \"fileName\": \"C58ED8C6-6B09-4CD6-B71C32C6715834F1___Reporting Schedule Nov 2022\"\n  }\n]\n"
              schema:
                items:
                  properties:
                    assetAudit:
                      example: ACCEPTED
                      type: string
                    assetId:
                      example: CA510292-E39E-4B28-AB6444CDD2B1C5C0
                      type: string
                    assetName:
                      example: Product Insights
                      type: string
                    assetType:
                      example: image
                      type: string
                    dateTime:
                      example: '2021-11-15T10:07:57.781Z'
                      format: date-time
                      type: string
                    eventType:
                      example: asset.create
                      type: string
                    fileName:
                      example: CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights
                      type: string
                    id:
                      example: 62de6d714e29485a81824fe3
                      type: string
                    userId:
                      example: 1A84D758-2B3A-141F-8F07D71AA1F223BD
                      type: string
                  type: object
                type: array
          description: Successful response
          headers:
            Next-Cursor:
              description: The next cursor value to send if you want to continue with your paginated request.
              schema:
                example: MTAwMA
                type: string
            Next-Url:
              description: The next URL path to query if you want to continue with your paginated request.
              schema:
                example: /api/v1/asset/create?limit=1000&cursor=MTAwMA
                type: string
      summary: Retrieve asset creation events
      tags:
      - Asset Usage V1
      operationId: getV7AnalyticsApiV1AssetCreate
      x-operation-id-source: derived
  /v7/analytics/api/v1/asset/download:
    get:
      parameters:
      - description: The maximum number of analytics events to retrieve. Allowed values are between 1 and 10000.
        in: query
        name: limit
        required: false
        schema:
          default: 1000
          type: integer
      - description: Cursor mark returned in the response headers to be used for pagination purposes.
        in: query
        name: cursor
        required: false
        schema:
          default: MA
          type: string
      - description: 'Retrieve download events occurred after this date. ISO8601 format yyyy-mm-ddThh:mm[:ssZ] with optional seconds.

          '
        in: query
        name: fromDateTime
        required: false
        schema:
          format: date-time
          type: string
      - description: 'Set a date range together with the "fromDateTime" parameter. ISO8601 format yyyy-mm-ddThh:mm[:ssZ] with optional seconds.

          '
        in: query
        name: toDateTime
        required: false
        schema:
          format: date-time
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                example-1:
                  summary: Example response
                  value:
                  - assetAudit: ACCEPTED
                    assetId: CA510292-E39E-4B28-AB6444CDD2B1C5C0
                    assetName: Product Insights
                    assetType: image
                    dateTime: '2021-11-15T10:07:57.781+00:00'
                    eventType: asset.download
                    fileName: CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights
                    id: 62de6d714e29485a81824fe3
                    mediaItemId: 69293464-7721-4062-9E05EFAF23FE70E7
                    mediaItemType: original
                    userId: 1A84D758-2B3A-141F-8F07D71AA1F223BD
                  - assetAudit: ACCEPTED
                    assetId: C58ED8C6-6B09-4CD6-B71C32C6715834F1
                    assetName: Reporting Schedule Nov 2022
                    assetType: image
                    dateTime: '2021-11-15T10:08:18.752+00:00'
                    eventType: asset.download
                    fileName: C58ED8C6-6B09-4CD6-B71C32C6715834F1___Reporting Schedule Nov 2022
                    id: 62de6d714e29485a81824fe4
                    mediaItemId: 69293464-7721-4062-9E05EFAF23FE70E7
                    mediaItemType: web
                    userId: 1A84D758-2B3A-141F-8F07D71AA1F223BD
            text/csv:
              examples:
                example-1:
                  summary: Example CSV response
                  value: 'id,eventType,userId,dateTime,assetId,assetType,assetName,assetAudit,fileName,mediaItemId,mediaItemType

                    62de6d714e29485a81824fe3,asset.download,1A84D758-2B3A-141F-8F07D71AA1F223BD,1655823377864,CA510292-E39E-4B28-AB6444CDD2B1C5C0,image,Product Insights,ACCEPTED,CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights,69293464-7721-4062-9E05EFAF23FE70E7,original

                    62de6d714e29485a81824fe4,asset.download,1A84D758-2B3A-141F-8F07D71AA1F223BD,1655996103781,C58ED8C6-6B09-4CD6-B71C32C6715834F1,image,Reporting Schedule Nov 2022,ACCEPTED,C58ED8C6-6B09-4CD6-B71C32C6715834F1___Reporting Schedule Nov 2022,69293464-7721-4062-9E05EFAF23FE70E7,web

                    '
          description: Successful response
          headers:
            Next-Cursor:
              description: The next cursor value to send if you want to continue with your paginated request.
              schema:
                type: string
            Next-Url:
              description: The next url path to query if you want to continue with your paginated request.
              schema:
                type: string
      summary: Retrieve asset download events
      tags:
      - Asset Usage V1
      operationId: getV7AnalyticsApiV1AssetDownload
      x-operation-id-source: derived
  /v7/analytics/api/v1/asset/remove:
    get:
      description: Retrieve analytics events for removed assets.
      parameters:
      - description: The maximum number of analytics events to retrieve. Allowed values are between 1 and 10000.
        in: query
        name: limit
        required: false
        schema:
          default: 1000
          example: 100
          type: integer
      - description: Cursor mark returned in the response headers to be used for pagination purposes.
        in: query
        name: cursor
        required: false
        schema:
          default: MA
          example: MTAwMA
          type: string
      - description: Retrieve remove events occurred after this date. ISO8601 format yyyy-mm-ddThh:mm[:ssZ] with optional seconds.
        in: query
        name: fromDateTime
        required: false
        schema:
          example: '2022-01-01T01:00:00.000Z'
          format: date-time
          type: string
      - description: Set a date range together with the "fromDateTime" parameter. ISO8601 format yyyy-mm-ddThh:mm[:ssZ] with optional seconds.
        in: query
        name: toDateTime
        required: false
        schema:
          example: '2022-06-01T01:00:00.000Z'
          format: date-time
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                example-1:
                  summary: Example response
                  value: "[\n  {\n    \"id\": \"62de6d714e29485a81824fe3\",\n    \"eventType\": \"asset.remove\",\n    \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n    \"dateTime\": \"2021-11-15T10:07:57.781+00:00\",\n    \"assetId\": \"CA510292-E39E-4B28-AB6444CDD2B1C5C0\",\n    \"assetType\": \"image\",\n    \"assetName\": \"Product Insights\",\n    \"assetAudit\": \"ACCEPTED\",\n    \"fileName\": \"CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights\"\n  },\n  {\n    \"id\": \"62de6d714e29485a81824fe4\",\n    \"eventType\": \"asset.remove\",\n    \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n    \"dateTime\": \"2021-11-15T10:08:18.752+00:00\",\n    \"assetId\": \"C58ED8C6-6B09-4CD6-B71C32C6715834F1\",\n    \"assetType\": \"image\",\n    \"assetName\": \"Reporting Schedule Nov 2022\",\n    \"assetAudit\": \"ACCEPTED\",\n    \"fileName\": \"C58ED8C6-6B09-4CD6-B71C32C6715834F1___Reporting Schedule Nov 2022\"\n  }\n]\n"
              schema:
                items:
                  properties:
                    assetAudit:
                      example: ACCEPTED
                      type: string
                    assetId:
                      example: CA510292-E39E-4B28-AB6444CDD2B1C5C0
                      type: string
                    assetName:
                      example: Product Insights
                      type: string
                    assetType:
                      example: image
                      type: string
                    dateTime:
                      example: '2021-11-15T10:07:57.781Z'
                      format: date-time
                      type: string
                    eventType:
                      example: asset.remove
                      type: string
                    fileName:
                      example: CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights
                      type: string
                    id:
                      example: 62de6d714e29485a81824fe3
                      type: string
                    userId:
                      example: 1A84D758-2B3A-141F-8F07D71AA1F223BD
                      type: string
                  type: object
                type: array
          description: Successful response
          headers:
            Next-Cursor:
              description: The next cursor value to send if you want to continue with your paginated request.
              schema:
                example: MTAwMA
                type: string
            Next-Url:
              description: The next URL path to query if you want to continue with your paginated request.
              schema:
                example: /api/v1/asset/remove?limit=1000&cursor=MTAwMA
                type: string
      summary: Retrieve removed asset events
      tags:
      - Asset Usage V1
      operationId: getV7AnalyticsApiV1AssetRemove
      x-operation-id-source: derived
  /v7/analytics/api/v1/asset/v2/download:
    get:
      description: This endpoint only offers data from 2023-11-01. Use the Asset Download endpoint for previous data.
      parameters:
      - description: The maximum number of analytics events to retrieve. Allowed values are between 1 and 10000.
        in: query
        name: limit
        required: false
        schema:
          default: 1000
          example: 100
          type: integer
      - description: Cursor mark returned in the response headers to be used for pagination purposes.
        in: query
        name: cursor
        required: false
        schema:
          default: MA
          example: MTAwMA
          type: string
      - description: 'Retrieve download events occurred after this date. ISO8601 format yyyy-mm-ddThh:mm[:ssZ] with optional seconds.

          '
        in: query
        name: fromDateTime
        required: false
        schema:
          example: 2022-01-01T01:00
          format: date-time
          type: string
      - description: 'Set a date range together with the "fromDateTime" parameter. ISO8601 format yyyy-mm-ddThh:mm[:ssZ] with optional seconds.

          '
        in: query
        name: toDateTime
        required: false
        schema:
          example: 2022-06-01T01:00
          format: date-time
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                example-1:
                  summary: Example response
                  value: "[\n  {\n    \"eventId\": \"1408aec2-3114-43dd-be20-ffb1246a5231\",\n    \"eventType\": \"AssetDownloadRequested\",\n    \"dateTime\": \"2021-11-15T10:07:57.781+00:00\",\n    \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n    \"assetId\": \"CA510292-E39E-4B28-AB6444CDD2B1C5C0\",\n    \"downloadReasons\": [\n      \"reason1\",\n      \"reason2\"\n    ]\n  },\n  {\n    \"eventId\": \"5908aec2-3114-43dd-be20-ffb1246a5231\",\n    \"eventType\": \"AssetDownloadRequested\",\n    \"dateTime\": \"2021-11-15T10:07:57.781+00:00\",\n    \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n    \"assetId\": \"C58ED8C6-6B09-4CD6-B71C32C6715834F\",\n    \"downloadReasons\": [\n      \"reason2\"\n    ]\n  }\n]\n"
              schema:
                items:
                  properties:
                    assetId:
                      description: Id of the asset
                      example: CA510292-E39E-4B28-AB6444CDD2B1C5C0
                      type: string
                    dateTime:
                      description: Date and time when the event occurred
                      example: '2021-11-15T10:07:57.781Z'
                      format: date-time
                      type: string
                    downloadReasons:
                      description: Reasons given on why the asset was downloaded
                      example:
                      - reason1
                      - reason2
                      items:
                        type: string
                      type: array
                    eventId:
                      description: Id of the event
                      example: 1408aec2-3114-43dd-be20-ffb1246a5231
                      type: string
                    eventType:
                      description: Type of event
                      example: AssetDownloadRequested
                      type: string
                    userId:
                      description: Id of the user that generated the event
                      example: 1A84D758-2B3A-141F-8F07D71AA1F223BD
                      type: string
                  type: object
                type: array
          description: Successful response
          headers:
            Next-Cursor:
              description: The next cursor value to send if you want to continue with your paginated request.
              schema:
                example: MTAwMA
                type: string
            Next-Url:
              description: The next url path to query if you want to continue with your paginated request.
              schema:
                example: /api/v1/asset/v2/download?limit=1000&cursor=MTAwMA
                type: string
      summary: Retrieve asset download events
      tags:
      - Asset Usage V1
      operationId: getV7AnalyticsApiV1AssetV2Download
      x-operation-id-source: derived
  /v7/analytics/api/v1/asset/view:
    get:
      description: This endpoint will be deprecated on July, 15th. Use the Asset Views V2 endpoint instead.
      parameters:
      - description: The maximum number of analytics events to retrieve. Allowed values are between 1 and 10000.
        in: query
        name: limit
        required: false
        schema:
          default: 1000
          type: integer
      - description: Cursor mark returned in the response headers to be used for pagination purposes.
        in: query
        name: cursor
        required: false
        schema:
          default: MA
          type: string
      - description: 'Retrieve view events occurred after this date. ISO8601 format yyyy-mm-ddThh:mm[:ssZ] with optional seconds.

          '
        in: query
        name: fromDateTime
        required: false
        schema:
          format: date-time
          type: string
      - description: 'Set a date range together with the "fromDateTime" parameter. ISO8601 format yyyy-mm-ddThh:mm[:ssZ] with optional seconds.

          '
        in: query
        name: toDateTime
        required: false
        schema:
          format: date-time
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                example-1:
                  summary: Example response
                  value:
                  - assetAudit: ACCEPTED
                    assetId: CA510292-E39E-4B28-AB6444CDD2B1C5C0
                    assetName: Product Insights
                    assetType: image
                    dateTime: '2021-11-15T10:07:57.781+00:00'
                    eventType: asset.view
                    fileName: CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights
                    id: 62de6d714e29485a81824fe3
                    userId: 1A84D758-2B3A-141F-8F07D71AA1F223BD
                  - assetAudit: ACCEPTED
                    assetId: C58ED8C6-6B09-4CD6-B71C32C6715834F1
                    assetName: Reporting Schedule Nov 2022
                    assetType: image
                    dateTime: '2021-11-15T10:08:18.752+00:00'
                    eventType: asset.view
                    fileName: C58ED8C6-6B09-4CD6-B71C32C6715834F1___Reporting Schedule Nov 2022
                    id: 62de6d714e29485a81824fe4
                    userId: 1A84D758-2B3A-141F-8F07D71AA1F223BD
            text/csv:
              examples:
                example-1:
                  summary: Example CSV response
                  value: 'id,eventType,userId,dateTime,assetId,assetType,assetName,assetAudit,fileName

                    62de6d714e29485a81824fe3,asset.view,1A84D758-2B3A-141F-8F07D71AA1F223BD,1655823377864,CA510292-E39E-4B28-AB6444CDD2B1C5C0,image,Product Insights,ACCEPTED,CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights

                    62de6d714e29485a81824fe4,asset.view,1A84D758-2B3A-141F-8F07D71AA1F223BD,1655996103781,C58ED8C6-6B09-4CD6-B71C32C6715834F1,image,Reporting Schedule Nov 2022,ACCEPTED,C58ED8C6-6B09-4CD6-B71C32C6715834F1___Reporting Schedule Nov 2022

                    '
          description: Successful response
          headers:
            Next-Cursor:
              description: The next cursor value to send if you want to continue with your paginated request.
              schema:
                type: string
            Next-Url:
              description: The next url path to query if you want to continue with your paginated request.
              schema:
                type: string
      summary: Retrieve asset view events
      tags:
      - Asset Usage V1
      operationId: getV7AnalyticsApiV1AssetView
      x-operation-id-source: derived
  /v7/analytics/api/v1/asset/{assetId}:
    get:
      description: This endpoint will allow you to retrieve all the events performed in a given asset.
      parameters:
      - description: Asset id.
        in: path
        name: assetId
        required: true
        schema:
          example: 00000000-0000-0000-0000000000000000
          type: string
      - description: The maximum number of analytics events to retrieve. Allowed values are between 1 and 10000.
        in: query
        name: limit
        required: false
        schema:
          default: 1000
          example: 100
          type: integer
      - description: Cursor mark returned in the response headers to be used for pagination purposes.
        in: query
        name: cursor
        required: false
        schema:
          default: MA
          example: MTAwMA
          type: string
      - description: Retrieve events performed in a given asset occurred after this date. ISO8601 format yyyy-mm-ddThh:mm[:ssZ] with optional seconds.
        in: query
        name: fromDateTime
        required: false
        schema:
          example: 2022-01-01T01:00
          format: date-time
          type: string
      - description: Set a date range together with the "fromDateTime" parameter.
        in: query
        name: toDateTime
        required: false
        schema:
          example: 2022-06-01T01:00
          format: date-time
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                example-1:
                  summary: Example response
                  value: "[\n  {\n    \"id\": \"62de6d714e29485a81824fe3\",\n    \"eventType\": \"asset.download\",\n    \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n    \"dateTime\": \"2021-11-15T10:07:57.781+00:00\",\n    \"assetId\": \"CA510292-E39E-4B28-AB6444CDD2B1C5C0\",\n    \"assetType\": \"image\",\n    \"assetName\": \"Product Insights\",\n    \"assetAudit\": \"ACCEPTED\",\n    \"fileName\": \"CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights\",\n    \"mediaItemId\": \"69293464-7721-4062-9E05EFAF23FE70E7\",\n    \"mediaItemType\": \"original\"\n  },\n  {\n    \"id\": \"62de6d714e29485a81824fe4\",\n    \"eventType\": \"asset.view\",\n    \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n    \"dateTime\": \"2021-11-15T10:08:18.752+00:00\",\n    \"assetId\": \"CA510292-E39E-4B28-AB6444CDD2B1C5C0\",\n    \"assetType\": \"image\",\n    \"assetName\": \"Product Insights\",\n    \"assetAudit\": \"ACCEPTED\",\n    \"fileName\": \"CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights\"\n  }\n]\n"
              schema:
                items:
                  properties:
                    assetAudit:
                      example: ACCEPTED
                      type: string
                    assetId:
                      example: CA510292-E39E-4B28-AB6444CDD2B1C5C0
                      type: string
                    assetName:
                      example: Product Insights
                      type: string
                    assetType:
                      example: image
                      type: string
                    dateTime:
                      example: '2021-11-15T10:07:57.781+00:00'
                      format: date-time
                      type: string
                    eventType:
                      example: asset.download
                      type: string
                    fileName:
                      example: CA510292-E39E-4B28-AB6444CDD2B1C5C___Product Insights
                      type: string
                    id:
                      example: 62de6d714e29485a81824fe3
                      type: string
                    mediaItemId:
                      example: 69293464-7721-4062-9E05EFAF23FE70E7
                      type: string
                    mediaItemType:
                      example: original
                      type: string
                    userId:
                      example: 1A84D758-2B3A-141F-8F07D71AA1F223BD
                      type: string
                  type: object
                type: array
          description: Successful response
          headers:
            Next-Cursor:
              description: The next cursor value to send if you want to continue with your paginated request.
              schema:
                example: MTAwMA
                type: string
            Next-Url:
              description: The next url path to query if you want to continue with your paginated request.
              schema:
                example: /api/v1/asset/CA510292-E39E-4B28-AB6444CDD2B1C5C0?limit=1000&cursor=MTAwMA
                type: string
      summary: Retrieve all events performed in a given asset
      tags:
      - Asset Usage V1
      operationId: getV7AnalyticsApiV1AssetByAssetId
      x-operation-id-source: derived
components:
  securitySchemes:
    OAuth2:
      flows:
        authorizationCode:
          authorizationUrl: https://{your-auth-url}
          scopes:
            analytics.api:read: ''
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
        clientCredentials:
          scopes:
            analytics.api:read: ''
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
      type: oauth2
    permanentToken:
      in: header
      name: Authorization
      type: apiKey