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:- In the left-side menu of the Live Agent interface, go to Profile Settings.
- In the Access Token section, copy the existing token.
- Paste this token into your OData request.
OData Domain Name
OData Domain Name
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.Excel/Power BI
Excel/Power BI
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
- Version 2.0
- Version 1.1
- Version 1.0
This endpoint version is available in Live Agent 2025.25.0 and later. In this version, the following OData collections are available:
- Message (
/Message) - Conversation (
/Conversation) - Inbox (
/Inbox) - Reporting Event (
/ReportingEvent) - Label (
/Label) - User (
/User) - Team (
/Team) - Agent Availability Record (
/AgentAvailabilityRecord)
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:Example Queries
- Version 2.0
- Version 1.1
- Version 1.0
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:- Version 2.0
- Version 1.1
- Version 1.0
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Message?$top=1&$skip=0- Version 2.0
- Version 1.1
- Version 1.0
Conversation
Description: A Conversation is the communication channel opened between an Agent and a client. Example Query:- Version 2.0
- Version 1.1
- Version 1.0
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Conversation?$top=1&$skip=0- Version 2.0
- Version 1.1
- Version 1.0
Inbox
Description: The Inbox is where all Conversations from a specific set of Agents will be placed. Example Query:- Version 2.0
- Version 1.1
- Version 1.0
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Inbox?$top=1&$skip=0- Version 2.0
- Version 1.1
- Version 1.0
Label
Description: Labels are used to mark, identify, or group different Conversations. Example Query:- Version 2.0
- Version 1.1
- Version 1.0
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Label?$top=1&$skip=0- Version 2.0
- Version 1.1
- Version 1.0
Reporting Event
Description: The Reporting Event model represents actions or occurrences tracked in the system for reporting and analytics purposes. Example Query:- Version 2.0
- Version 1.1
- Version 1.0
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/ReportingEvent?$top=10&$skip=0.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:- Version 2.0
- Version 1.1
- Version 1.0
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/User?$top=1&$skip=0- Version 2.0
- Version 1.1
- Version 1.0
Team
Description: This data model stores information about Live Agent teams. Example Query:- Version 2.0
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/Team?$top=1&$skip=0AgentAvailabilityRecord
Description: This data model stores information about agent availability in Live Agent. Example Query:- Version 2.0
https://odata-liveagent-trial.cognigy.ai/v2.0/odata/AgentAvailabilityRecord?$top=1&$skip=0Integrations
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.
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.