Ejento APIs
V1
  • V2
  • V1
  1. Chat APIs
Ejento APIs
V1
  • V2
  • V1
  • Overview
  • Endpoints
    • Chat APIs
      • Run Chat
        POST
      • Create Custom Instructions
        POST
      • Add Comment Feedback
        POST
      • Add Upvote Feedback
        POST
      • Add Downvote Feedback
        POST
      • Get Chat Thread
        GET
      • Get Thought Process
        GET
      • Get Supporting Content
        GET
      • Get All Agent Threads
        GET
    • Agent APIs
      • Get Recent Agents
      • Add to Recent Agents
      • Delete Recent Agent
      • Get Starred Agents
      • Delete Starred Agents
      • Get Agents by Team or User Team
      • Create a Review for an Agent
      • Get Agent Reviews
      • Update an Agent Review
      • Delete an Agent Review
      • Create Agent Chat
      • Get Agent Ratings
      • Toggle Rating
      • Create Agent Alias
      • Get All Agent Alias
      • Update Agent Alias
      • Get Agent Access Level
      • Update Agent Access Level
      • Get All Agents by Project
      • Get Agent Types
      • Update Agent Type
      • Get User Agent or User Agent Permission
    • Project APIs
      • Create New Project
      • Get All Projects
      • Get Project Details by ID
      • Edit Project By ID
      • Delete Project By ID
      • Add Recent Project
      • Get Recent Projects
      • Fetch Project Details
      • Add User to Project
      • Remove User from Project
      • Get User Projects For Team
    • Document APIs
      • Get Document By ID
      • Edit Document By ID
      • Delete Document By ID
    • Corpus APIs
      • Get All Corpus
      • Create Corpus
      • Get Corpus by ID
      • Edit Corpus
      • Delete Corpus
      • Get Corpus Permissions
      • Create Corpus Permissions
      • Delete Corpus Permissions
      • Get Corpus Permission By User
      • Create Document In Corpus
      • Get All Documents From Corpus
      • Delete All Documents
      • Check Duplicate Documents
    • Evaluation APIs
      • Create Evaluation Test
      • Get All Evaluation Tests for an Agent
      • Update Evaluation Test
      • Get One Evaluation Test
      • Update Evaluation Status
      • Get Evaluation Dataset for an Agent
      • Get All Evaluation Datasets for an Agent
      • Create Evaluation Dataset
      • Update Evaluation Dataset
      • Delete Evaluation Dataset
      • Get Agent Queries
      • Get Dataset Queries
    • SharePoint APIs
      • Get SharePoint items by full path
      • Get a SharePoint item by its ID
      • Create a new SharePoint item
      • Edit SharePoint item
      • Delete a SharePoint item
    • User APIs
      • Get All Users
      • Get User By ID
      • Edit User By ID
      • Delete User by ID
      • Create User Permission
      • Get User Permission by ID
      • Edit User Permission by ID
      • Delete User Permission by ID
      • Batch Delete Users
    • Analytics APIs
      • Get Tokens by Date
      • Get Tokens by Segment
      • Get User Tokens
      • Get Agent Tokens
      • Get Team Tokens
      • Get Query Count by Date
      • Get Query Count by Segment
      • Get Total Count
      • Get Daily Chat Engagement
      • Get Weekly Chat Engagement
      • Get Monthly Chat Engagement
      • Get User Engagement
      • Get Daily Chatlog Tokens
      • Get Weekly Chatlog Tokens
      • Get Monthly Chatlog Tokens
      • Get Agent Engagement
      • Get Engagement by Team
      • Get Engagement by User
      • Get Recently Active Agents
      • Get Recent Users
    • Notification APIs
      • Send Notification To User
      • Read Notification By ID
  1. Chat APIs

Get Supporting Content

GET
/chat/{chatlog_id}/supporting
Chat APIs
Returns supporting content related to the specified chat log ID.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/chat//supporting'
Response Response Example
[
    "\nIndex: 0\nData within source: The text provides guidance on conflict resolution skills, emphasizing the importance of managing stress, emotions, and behavior. It distinguishes between healthy and unhealthy ways of managing conflict and offers tips for resolving conflicts...",
    "\nIndex: 1\nData within source: Validate the concerns of the other person, even if a solution is elusive at this time. Expressing appreciation can be a very powerful message if it is conveyed with integrity and respect...",
    "\nIndex: 2\nData within source: The text provides tips for managing and resolving conflict by learning how to listen deeply to what others are feeling and saying...",
    "\nIndex: 3\nData within source: Conflict resolution skills depend on managing stress, staying calm, and controlling emotions. It also involves healthy communication practices and being open to compromise..."
]

Request

Path Params
chatlog_id
string 
required
ID of the chat log to retrieve supporting content.

Responses

🟢200OK
application/json
Successfully retrieved supporting content.
Body
array[string]
optional
Example:
["\nIndex: 0\nData within source: The text provides guidance on conflict resolution skills, emphasizing the importance of managing stress, emotions, and behavior. It distinguishes between healthy and unhealthy ways of managing conflict and offers tips for resolving conflicts...","\nIndex: 1\nData within source: Validate the concerns of the other person, even if a solution is elusive at this time. Expressing appreciation can be a very powerful message if it is conveyed with integrity and respect...","\nIndex: 2\nData within source: The text provides tips for managing and resolving conflict by learning how to listen deeply to what others are feeling and saying...","\nIndex: 3\nData within source: Conflict resolution skills depend on managing stress, staying calm, and controlling emotions. It also involves healthy communication practices and being open to compromise..."]
🟠400Bad Request
🟠404Record Not Found
Previous
Get Thought Process
Next
Get All Agent Threads