Skip to main content
Updated in 2025.25
Live Agent has been put in maintenance mode. The product will continue to be maintained in the foreseeable future. Users can continue to fully rely on Live Agent being available. In future releases, only security updates and bug fixes will be provided; no new features will be released.
Live Agent exposes an OData 4 analytics endpoint to retrieve analytics records. OData, the best way to REST, is a powerful API framework. The OData endpoints allow you to retrieve the most relevant data models from Live Agent by using GET requests. It covers all your enterprise analytics needs to make fine-grained queries in your spreadsheets or build rich dashboards for your bots with your favorite data visualization tool. The Live Agent OData endpoint supports only GET requests and doesn’t support any other request types, such as PATCH, DELETE, or POST.

Supported Versions

Usage and Authentication

To connect to the OData endpoint, get a Live Agent Access Token:
  1. In the left-side menu of the Live Agent interface, go to Profile Settings.
  2. In the Access Token section, copy the existing token.
  3. Paste this token into your OData request.
An OData URL is composed of the service root, API version, service path, data collection, and Live Agent access token parameter as follows:
The authentication can also be done using a query param such as follows:
The OData endpoint is available on a different domain from your Cognigy User Interface domain. For example, https://odata-liveagent-trial.cognigy.ai/v1.0/odata.For example, on our trial server, the OData endpoint URL for the Analytics Inputs Collection is https://odata-liveagent-trial.cognigy.ai/v1.0/odata/Message?. For on-premises installations, replace the odata-trial.cognigy.ai domain name with the domain name configured for your local installation.
When using Power BI or Excel, you might be asked to authenticate. Simply choose anonymous authentication and pass the Live Agent access token as a query parameter &apikey=<Live Agent access-token>

Endpoint Versions

This endpoint version is available in Live Agent 2025.25.0 and later. In this version, the following OData collections are available:To see all the available OData models, use the following Endpoint: https://<hostname>/v2.0/odata/The URL for accessing the OData endpoint 2.0 is the following: https://<hostname>/v2.0/odata/<collection>

Querying

The Endpoint supports the following OData Query Language operators:
  • $skip1
  • $top1
  • $filter
  • $select
  • $orderby
  • $expand

Example Queries

https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Conversation(1)?$select=inbox_id,account_id&$top=1&$skip=0&apikey=<access-token> Return the columns inbox_id and account_id for the Conversation with id=1.https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Conversation?$select=id,account_id&$top=1&$skip=0&apikey=<access-token> Return the columns’ ID and account_id for all Conversations.https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Conversation?$select=id,account_id&$top=1&$skip=0&$filter=created_at le '2021-11-23T00:00:00'&$top=1&$skip=0&apikey=<access-token> Return the columns’ ID and account_id for all the Conversations filtered by the created_at column being lower or equal to ‘2021-11-23T00:00:00’

Reference Documentation

For complete reference documentation, refer to the extensive collection of resources at OData.org and the Oasis OData URL Convention Documentation.

Data Protection & Analytics

Only users with an admin role in Live Agent will be able to query OData Models.

Live Agent OData Collections

This section details the data types that exist within the OData Collections that can be retrieved from the OData endpoint. The following Collections are available:

Message

Description:
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Message?$top=1&$skip=0
Data Types: When retrieving this data model, the endpoint returns the following fields:

Conversation

Description: A Conversation is the communication channel opened between an Agent and a client. Example Query:
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Conversation?$top=1&$skip=0
Data Types: When retrieving this data model, the endpoint returns the following fields:

Inbox

Description: The Inbox is where all Conversations from a specific set of Agents will be placed. Example Query:
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Inbox?$top=1&$skip=0
Data Types: When retrieving this data model, the endpoint returns the following fields:

Label

Description: Labels are used to mark, identify, or group different Conversations. Example Query:
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Label?$top=1&$skip=0
Data Types: When retrieving this data model, the endpoint returns the following fields:

Reporting Event

Description: The Reporting Event model represents actions or occurrences tracked in the system for reporting and analytics purposes. Example Query:
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/ReportingEvent?$top=10&$skip=0.
Data Types: When retrieving this data model, the endpoint returns the following fields:
To avoid potential query timeouts due to large data volumes, use the $top query option to limit the number of returned records.

User

Description: This data model stores information about Live Agent users. Example Query:
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/User?$top=1&$skip=0
Data Types: When retrieving this data model, the endpoint returns the following fields:

Team

Description: This data model stores information about Live Agent teams. Example Query:
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Team?$top=1&$skip=0
Data Types: When retrieving this data model, the endpoint returns the following fields:

AgentAvailabilityRecord

Description: This data model stores information about agent availability in Live Agent. Example Query:
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/AgentAvailabilityRecord?$top=1&$skip=0
Data Types: When retrieving this data model, the endpoint returns the following fields:

Integrations

Excel

When connecting from Microsoft Excel 2016, you must use the Power Query feature, which can be found under Data > Get & Transform > New Query > From Other Sources > From OData Feed. This will connect to our OData 4 feed.

Power BI

Follow the instructions in the Power BI documentation.

Tableau

Cognigy.AI supports OData 4.0, which implies that certain versions of Tableau aren’t compatible.
Find instructions on how to connect an OData Feed in the Tableau documentation.

OData Consumer Ecosystem

For a full list of available OData Consumer options, follow the link to Consumers on OData.org.

Client Libraries in .NET, Java, JavaScript, C++, and Other Platforms

For a full list of available OData Libraries, see the latest directory of available libraries on OData.org.
1: This parameter is required to make a request to the Live Agent OData endpoint.
Last modified on July 14, 2026