openapi: 3.0.0 info: title: Analytics API version: 1.0.0 description: |- Access analytics about your videos and livestreams programmatically. ### Authentication You'll need both API key and Site/Workspace id in most of the API call. You can find your API key and siteid (workspaceid) under [workspace/settings](https://flowplayer.com/app/workspace/settings). In all analytics request both API key and Site/Workspace id must be provided as headers with the name `x-flowplayer-site-id` and `x-flowplayer-api-key`. See sample below: x-flowplayer-api-key: x-flowplayer-site-id: ### Requesting the API Base url for the API is: https://api.flowplayer.com/analytics/ Requesting endpoints is done by specifying needed authentication headers and do a get request to wanted endpoint. --header: x-flowplayer-site-id: --header: x-flowplayer-api-key: https://api.flowplayer.com/analytics/videos/{video_id} **Content Type** The Analytics API only support `Json`-format output. servers: - url: https://api.flowplayer.com/analytics paths: /videos/{id}: $ref: video.yaml#/components/paths/Video /categories/{id}: $ref: category.yaml#/components/paths/Category /workspaces/{id}: $ref: workspace.yaml#/components/paths/Workspace /livestreams/{id}: $ref: livestream.yaml#/components/paths/Livestream /assets: $ref: assets.yaml#/components/paths/Assets /time-series: $ref: time_series.yaml#/components/paths/Time_series /livestreams/{id}/concurrent: $ref: livestream.yaml#/components/paths/Livestream_Concurrent tags: - name: Analytics description: Endpoints for fetch analytics on your video and livestreams.