Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: Analytics Search Usage 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 Assets API endpoints or the Users API endpoints.
name: Search Usage
paths:
/v7/analytics/api/v1/search/executions:
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 executions 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: "[\n {\n \"eventId\": \"1408aec2-3114-43dd-be20-ffb1246a5231\",\n \"eventType\": \"SearchExecuted\",\n \"dateTime\": \"2021-11-15T10:07:57.781+00:00\",\n \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n \"terms\": [\"digital\"],\n \"filters\": [{\"field\": \"language\", \"value\": \"english\"}],\n \"operator\": \"OR\",\n \"sortOrder\": {\"field\": \"datePublished\", \"order\": \"desc\"},\n \"results\": {\"assets\": 48}\n },\n {\n \"eventId\": \"5908aec2-3114-43dd-be20-ffb1246a5231\",\n \"eventType\": \"SearchExecuted\",\n \"dateTime\": \"2021-11-15T10:07:57.781+00:00\",\n \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n \"terms\": [\"template\"],\n \"filters\": [{\"field\": \"language\", \"value\": \"spanish\"}],\n \"operator\": \"OR\",\n \"sortOrder\": {\"field\": \"datePublished\", \"order\": \"asc\"},\n \"results\": {\"assets\": 23}\n }\n]\n"
schema:
items:
properties:
dateTime:
example: '2021-11-15T10:07:57.781+00:00'
format: date-time
type: string
eventId:
example: 1408aec2-3114-43dd-be20-ffb1246a5231
type: string
eventType:
example: SearchExecuted
type: string
filters:
items:
properties:
field:
example: language
type: string
value:
example: english
type: string
type: object
type: array
operator:
example: OR
type: string
results:
properties:
assets:
example: 48
type: integer
type: object
sortOrder:
properties:
field:
example: datePublished
type: string
order:
example: desc
type: string
type: object
terms:
example:
- digital
items:
type: string
type: array
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:
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 search execution events
tags:
- Search Usage
operationId: getV7AnalyticsApiV1SearchExecutions
x-operation-id-source: derived
/v7/analytics/api/v1/search/keyword:
get:
description: Deprecated. Use the Search Executions 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 keyword 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: "[\n {\n \"id\": \"62de6d714e29485a81824fe3\",\n \"eventType\": \"search.keyword\",\n \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n \"dateTime\": \"2021-11-15T10:07:57.781+00:00\",\n \"keyword\": \"digital templates\",\n \"totalResults\": 27,\n \"tagsResults\": 0,\n \"assetsResults\": 24,\n \"documentsResults\": 0,\n \"guidelinesResults\": 0,\n \"collectionsResults\": 3,\n \"metapropertiesResults\": 0,\n \"collectionAssetsResults\": 0,\n \"workflowCampaignsResults\": 0,\n \"brandstoreProductsResults\": 0\n },\n {\n \"id\": \"62de6d714e29485a81824fe4\",\n \"eventType\": \"search.keyword\",\n \"userId\": \"1A84D758-2B3A-141F-8F07D71AA1F223BD\",\n \"dateTime\": \"2021-11-15T10:07:57.781+00:00\",\n \"keyword\": \"assets\",\n \"totalResults\": 56,\n \"tagsResults\": 0,\n \"assetsResults\": 48,\n \"documentsResults\": 0,\n \"guidelinesResults\": 0,\n \"collectionsResults\": 8,\n \"metapropertiesResults\": 0,\n \"collectionAssetsResults\": 0,\n \"workflowCampaignsResults\": 0,\n \"brandstoreProductsResults\": 0\n }\n]\n"
schema:
items:
properties:
assetsResults:
example: 24
type: integer
brandstoreProductsResults:
example: 0
type: integer
collectionAssetsResults:
example: 0
type: integer
collectionsResults:
example: 3
type: integer
dateTime:
example: '2021-11-15T10:07:57.781+00:00'
format: date-time
type: string
documentsResults:
example: 0
type: integer
eventType:
example: search.keyword
type: string
guidelinesResults:
example: 0
type: integer
id:
example: 62de6d714e29485a81824fe3
type: string
keyword:
example: digital templates
type: string
metapropertiesResults:
example: 0
type: integer
tagsResults:
example: 0
type: integer
totalResults:
example: 27
type: integer
userId:
example: 1A84D758-2B3A-141F-8F07D71AA1F223BD
type: string
workflowCampaignsResults:
example: 0
type: integer
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:
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 search keyword events
tags:
- Search Usage
operationId: getV7AnalyticsApiV1SearchKeyword
x-operation-id-source: derived
/v7/analytics/api/v1/search/keyword.csv:
get:
description: Deprecated. Use the Search Executions 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 keyword 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:
text/csv:
examples:
example-1:
summary: Example CSV response
value: 'id,eventType,userId,dateTime,keyword,totalResults,tagsResults,assetsResults,documentsResults,guidelinesResults,collectionsResults,metapropertiesResults,collectionAssetsResults,workflowCampaignsResults,brandstoreProductsResults
62de6d714e29485a81824fe3,search.keyword,"1A84D758-2B3A-141F-8F07D71AA1F223BD",1655823377864,"digital templates",27,0,24,0,0,3,0,0,0,0
62de6d714e29485a81824fe4,search.keyword,"1A84D758-2B3A-141F-8F07D71AA1F223BD",1655996103781,digital,56,0,48,0,0,8,0,0,0,0,0
'
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 search keyword events in CSV format
tags:
- Search Usage
operationId: getV7AnalyticsApiV1SearchKeywordCsv
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