---
updatedAt: 2026-07-22T06:51:52.000Z
agentTools:
  siteIndex: https://developer.bitmovin.com/llms.txt
  projectIndex: https://developer.bitmovin.com/encoding/llms.txt
---

# List Live Statistics Events

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Live Encoding API",
    "description": "Bitmovins API Reference Description",
    "version": "3.0",
    "termsOfService": "https://bitmovin.com",
    "contact": {
      "name": "Bitmovin Inc",
      "url": "https://bitmovin.com",
      "email": "support@bitmovin.com"
    }
  },
  "servers": [
    {
      "url": "https://api.bitmovin.com/v1",
      "description": "Bitmovin Server",
      "variables": {}
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    },
    {
      "ApiKeyAuth": [],
      "TenantOrgId": []
    }
  ],
  "paths": {
    "/encoding/statistics/encodings/{encoding_id}/live-statistics/events": {
      "get": {
        "tags": [
          "Statistics"
        ],
        "summary": "List Live Statistics Events",
        "operationId": "LiveGetEventsOfEncodingStatisticsEncodingsLiveStatisticsByEncodingId",
        "x-bitmovin": {
          "product": "live"
        },
        "parameters": [
          {
            "name": "encoding_id",
            "in": "path",
            "description": "Id of the encoding.",
            "style": "simple",
            "required": true,
            "schema": {
              "type": "string",
              "example": "f3177c2e-0000-4ba6-bd20-1dee353d8a72"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Index of the first item to return, starting at 0. Default is 0",
            "style": "form",
            "schema": {
              "type": "integer",
              "example": "0"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Maximum number of items to return. Default is 25, maximum is 100",
            "style": "form",
            "schema": {
              "type": "integer",
              "example": "25"
            }
          },
          {
            "name": "sortByTime",
            "in": "query",
            "description": "Sort events by time in DESC order",
            "style": "form",
            "schema": {
              "type": "boolean",
              "example": "true"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ResponseEnvelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "result": {
                              "allOf": [
                                {
                                  "$ref": "#/components/schemas/PaginationResponse"
                                },
                                {
                                  "properties": {
                                    "items": {
                                      "description": "List of events + messages",
                                      "items": {
                                        "$ref": "#/components/schemas/LiveEncodingStatsEvent"
                                      }
                                    }
                                  }
                                }
                              ]
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "description": "Your Bitmovin API key",
        "name": "X-Api-Key",
        "in": "header"
      },
      "TenantOrgId": {
        "type": "apiKey",
        "description": "Your Bitmovin account organization",
        "name": "X-Tenant-Org-Id",
        "in": "header"
      }
    },
    "schemas": {
      "BitmovinResponse": {
        "title": "BitmovinResponse",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "readOnly": true,
            "description": "Id of the resource",
            "example": "cb90b80c-8867-4e3b-8479-174aa2843f62"
          }
        }
      },
      "ClockSynchronizationMode": {
        "title": "ClockSynchronizationMode",
        "description": "Mode of clock synchronization for ad insertion",
        "type": "string",
        "enum": [
          "SYSTEM_CLOCK",
          "EMBEDDED"
        ],
        "example": "SYSTEM_CLOCK",
        "x-enum-elements": [
          {
            "name": "SYSTEM_CLOCK",
            "description": "Use the current UTC date time"
          },
          {
            "name": "EMBEDDED",
            "description": "Use the timecode in the source video. If no embedded timecode is found in the source, the encoding will fail."
          }
        ]
      },
      "Link": {
        "title": "Link",
        "required": [
          "href"
        ],
        "properties": {
          "href": {
            "type": "string",
            "description": "webpage target URL",
            "example": "https://bitmovin.com/encoding-documentation/bitmovin-api/#/reference/encoding/manifests/add-period"
          },
          "title": {
            "type": "string",
            "description": "Short description of the linked page",
            "example": "how to add a period to a manifest"
          }
        }
      },
      "LiveEncodingEventName": {
        "title": "LiveEncodingEventName",
        "type": "string",
        "enum": [
          "FIRST_CONNECT",
          "DISCONNECT",
          "RECONNECT",
          "RESYNCING",
          "IDLE",
          "ERROR",
          "WARNING",
          "PICTURE_TIMING",
          "INFO"
        ],
        "x-enum-elements": [
          {
            "name": "FIRST_CONNECT",
            "description": "First connection of the ingest"
          },
          {
            "name": "DISCONNECT",
            "description": "Ingest has disconnected"
          },
          {
            "name": "RECONNECT",
            "description": "Ingest has reconnected"
          },
          {
            "name": "RESYNCING",
            "description": "Audio and video are out of sync and resyncing occurred. Usually happens after a RECONNECT event."
          },
          {
            "name": "IDLE",
            "description": "Ingest is connected but doesn't send any data"
          },
          {
            "name": "ERROR",
            "description": "Error occurred, please see the errorMessage for further details"
          },
          {
            "name": "WARNING",
            "description": "Warning message"
          },
          {
            "name": "PICTURE_TIMING",
            "description": "Picture timing was found in respective source"
          },
          {
            "name": "INFO",
            "description": "Information message"
          }
        ]
      },
      "LiveEncodingStatsEvent": {
        "title": "LiveEncodingStatsEvent",
        "required": [
          "time",
          "details"
        ],
        "properties": {
          "time": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp of the event, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ",
            "example": "2016-06-25T20:05:00Z"
          },
          "details": {
            "$ref": "#/components/schemas/LiveEncodingStatsEventDetails"
          }
        }
      },
      "LiveEncodingStatsEventDetails": {
        "title": "LiveEncodingStatsEventDetails",
        "required": [
          "eventType"
        ],
        "properties": {
          "eventType": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LiveEncodingEventName"
              }
            ]
          },
          "message": {
            "type": "string",
            "readOnly": true,
            "description": "Short description of the event",
            "example": "Short description"
          },
          "source": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ClockSynchronizationMode"
              }
            ],
            "readOnly": true,
            "description": "Source used for clock-synchronization",
            "example": "EMBEDDED"
          },
          "year": {
            "type": "integer",
            "format": "int64",
            "readOnly": true,
            "description": "Year specified in picture timing",
            "example": "2025"
          },
          "month": {
            "type": "integer",
            "format": "int64",
            "readOnly": true,
            "description": "Month specified in picture timing",
            "example": "12"
          },
          "day": {
            "type": "integer",
            "format": "int64",
            "readOnly": true,
            "description": "Day specified in picture timing",
            "example": "23"
          },
          "hours": {
            "type": "integer",
            "format": "int64",
            "readOnly": true,
            "description": "Hours specified in picture timing",
            "example": "13"
          },
          "minutes": {
            "type": "integer",
            "format": "int64",
            "readOnly": true,
            "description": "Minutes specified in picture timing",
            "example": "37"
          },
          "seconds": {
            "type": "integer",
            "format": "int64",
            "readOnly": true,
            "description": "Seconds specified in picture timing",
            "example": "55"
          },
          "microSeconds": {
            "type": "integer",
            "format": "int64",
            "readOnly": true,
            "description": "Microseconds specified in picture timing",
            "example": "720000"
          }
        }
      },
      "Message": {
        "title": "Message",
        "required": [
          "type",
          "text"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/BitmovinResponse"
          },
          {
            "properties": {
              "type": {
                "description": "Message type giving a hint on the importance of the message (log level)",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/MessageType"
                  }
                ]
              },
              "text": {
                "type": "string",
                "description": "Message text",
                "example": "field must not be empty"
              },
              "field": {
                "type": "string",
                "description": "Name of the field to which the message is referring to",
                "example": "manifestId"
              },
              "links": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Link"
                },
                "description": "collection of links to webpages containing further information on the topic"
              },
              "more": {
                "type": "object",
                "description": "Service-specific information"
              },
              "date": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the message occurred",
                "example": "2016-06-25T20:09:23.69Z"
              }
            }
          }
        ]
      },
      "MessageType": {
        "title": "MessageType",
        "type": "string",
        "enum": [
          "ERROR",
          "WARNING",
          "INFO",
          "DEBUG",
          "TRACE"
        ]
      },
      "PaginationResponse": {
        "title": "PaginationResponse",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "offset": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "previous": {
            "type": "string",
            "readOnly": true
          },
          "next": {
            "type": "string",
            "readOnly": true
          },
          "items": {
            "type": "array",
            "readOnly": true,
            "items": {
              "type": "object"
            }
          }
        }
      },
      "ResponseEnvelope": {
        "title": "ResponseEnvelope",
        "required": [
          "requestId",
          "status",
          "data"
        ],
        "properties": {
          "requestId": {
            "type": "string",
            "readOnly": true,
            "description": "Unique correlation id",
            "example": "6d84e126-d10c-4e52-bbfb-bd4c92bc8333"
          },
          "status": {
            "description": "Response status information",
            "readOnly": true,
            "example": "SUCCESS",
            "allOf": [
              {
                "$ref": "#/components/schemas/ResponseStatus"
              }
            ]
          },
          "data": {
            "description": "Response information",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ResultWrapper"
              }
            ]
          },
          "more": {
            "type": "object",
            "description": "Additional endpoint specific information"
          }
        }
      },
      "ResponseError": {
        "title": "ResponseError",
        "required": [
          "requestId",
          "status",
          "data"
        ],
        "properties": {
          "requestId": {
            "type": "string",
            "readOnly": true,
            "description": "Unique correlation id",
            "example": "6d84e126-d10c-4e52-bbfb-bd4c92bc8333"
          },
          "status": {
            "description": "Response status information",
            "readOnly": true,
            "example": "ERROR",
            "allOf": [
              {
                "$ref": "#/components/schemas/ResponseStatus"
              }
            ]
          },
          "data": {
            "description": "Response information",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ResponseErrorData"
              }
            ]
          }
        }
      },
      "ResponseErrorData": {
        "title": "ResponseErrorData",
        "required": [
          "code",
          "message",
          "developerMessage"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32",
            "readOnly": true,
            "description": "Contains an error code as defined in https://bitmovin.com/encoding-documentation/bitmovin-api/#/introduction/api-error-codes\n",
            "example": 1005
          },
          "message": {
            "type": "string",
            "readOnly": true,
            "description": "General error message"
          },
          "developerMessage": {
            "type": "string",
            "readOnly": true,
            "description": "More detailed message meant for developers"
          },
          "links": {
            "type": "array",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/Link"
            },
            "description": "collection of links to webpages containing further information on the topic"
          },
          "details": {
            "type": "array",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/Message"
            },
            "description": "collection of messages containing more detailed information on the cause of the error"
          }
        }
      },
      "ResponseStatus": {
        "title": "ResponseStatus",
        "type": "string",
        "enum": [
          "SUCCESS",
          "ERROR"
        ]
      },
      "ResultWrapper": {
        "title": "ResultWrapper",
        "properties": {
          "result": {
            "type": "object",
            "readOnly": true
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Statistics"
    }
  ]
}
```