- Overview
- Changelog
- Versioning
- Legacy
- Introduction to Legacy APIs
- Agent
- Agent Corpus Connection
- Agent Response
- Create Agent Response
- Get All Agent Responses
- Get Agent Responses By User
- Get Agent Responses By Project
- Get Agent Responses By Chat Thread
- Get Agent Response
- Delete Agent Response
- Create Agent Response Comment
- Get Agent Response Comment
- Get Agent Response Dashboard
- Create Agent Response Feedback
- Create Agent Response Log
- Pin Agent Response
- Unpin Agent Response
- Get Pinned Agent Responses
- Agent Reviews
- Agent Rating
- Agent Alias
- Agent Access
- Agent Type
- Agent User
- Agent Tags
- Agent Vote
- Agent Comment
- Chat Thread
- Create Chat Thread
- Get All Chat Threads Of An Agent
- Get All Chat Threads With Admin Panel Filters And Pagination
- Get Reduced Chatlogs by Thread ID for Admin Panel
- Get Chat Thread
- Edit Chat Thread
- Delete Chat Thread
- Add ChatThread-Corpus Connection
- Get ChatThread-Corpus Connection
- Delete ChatThread-Corpus Connection
- Project
- User Project
- Document
- Corpus
- Notification
- Feature Flag
- Get All Feature Flags
- Get DALL-E Feature Flag
- Get Share Agent Feature Flag
- Get Agent Alias Feature Flag
- Get SharePoint Index Feature Flag
- Get Chat Agent Creation Feature Flag
- Get OAuth Feature Flags
- Get Google OAuth Feature Flag
- Get LinkedIn OAuth Feature Flag
- Get MS SSO OAuth Feature Flag
- Get Github OAuth Feature Flag
- Team
- User
- Email Indexing Authorization
- Conversation Starters
- Tool
- Agent Tool Connection
- Organization Tool
- API Tool Template
- LLM Config
- Latest
- Introduction to Latest APIs
- Agents
- Agent Access
- Agent Alias
- Agent Tags
- Agent Comment
- Agent Rating
- Agent Review
- Agent Tools
- Agent User
- Agent User Permission
- Agent Vote
- Agent Type
- Get all Agents
- Create a new Agent
- Get an Agent
- Update an Agent
- Delete an Agent
- Activate an Agent
- Get agent history with pagination
- Restore an agent to a previous checkpoint
- Get Agent Prompt History
- Create a Recent Agent
- Delete a Recent Agent
- Create Starred Agent
- Delete Starred Agent
- Get the Status of an Agent
- Get User's Team Role for an Agent
- Create or Update an Agent using the Agent Builder
- Get Agent Filter
- Generate an image for an agent based on the provided description
- Get all Agents by Project
- Get list of Recent Agents
- Get all Starred Agents of the Authenticated User
- Get Agents accessible to the Current User across their Teams
- Get Agents by Project team, User team
- Agent Response Steps
- Corpora
- Get all Corpus
- Create a Corpus
- Get a Corpus
- Update a Corpus
- Delete a Corpus
- Get Corpus Agent Connections
- Get Default Corpus Agent Connection
- Annotate/Tag a Corpus
- Get Conversation Starters for a Corpus
- Get all Documents for a Corpus
- Upload a Document to a Corpus
- Delete Document(s) from a Corpus
- Check Duplicate Documents in a Corpus
- Get all Permissions for a Corpus
- Create a new Permission for a Corpus
- Delete a user permission for a corpus
- Get all user permissions for a corpus
- Documents
- Chat Logs
- Chat Thread
- Configurations
- Evaluations
- Retrieve all evaluations or filter by datasetGET
- Create a new evaluationPOST
- Delete a set of evaluations or a specific evaluationDELETE
- Retrieve all evaluation datasets for a specific agentGET
- Create a new evaluation dataset for the given agentPOST
- Delete multiple datasets or all datasets for an agentDELETE
- Retrieve a specific evaluationGET
- Update an evaluation runPUT
- Delete a specific evaluationDELETE
- List query results for an evaluation runGET
- Create a query result and save metricsPOST
- Retrieve a specific datasetGET
- Update an evaluation datasetPUT
- Delete a specific datasetDELETE
- Retrieve queries for an evaluation datasetGET
- Create a new query for evaluationPOST
- Retrieve all unique tags from all datasets in the organizationGET
- Get a specific metric result by IDGET
- Retrieve all metrics or filter by category nameGET
- Create a new metricPOST
- Retrieve a specific metricGET
- Update a metricPUT
- Delete a metricDELETE
- Get all metric results for a specific metricGET
- Create a new metric result entry for the given metricPOST
- Retrieve a specific evaluation queryGET
- Update an evaluation queryPUT
- Delete an evaluation queryDELETE
- Get a specific query result with metricsGET
- Update a query resultPUT
- SharePoint
- SharePoint Connector
- Guardrails
- Conversation Starters
- Analytics
- Get Agent Cost Data
- Get Agent Document Count Data
- Get Agent Indexing Mode Data
- Get Agent Most Active Data
- Get Agent Query Count Data
- Get Recent Agent Data
- Get Agent Summary Statistics
- Get Agent Token Data
- Get Agent Vote Data
- Get Corpus Document Count Data
- Get Corpus Indexing Mode Data
- Get Cost Data
- Get Document Count Data
- Get Indexing Mode Data
- Get Project Cost Data
- Get Project Document Count Data
- Get Project Indexing Mode Data
- Get Project Most Active Data
- Get Project Query Count Data
- Get Recent Project Data
- Get Project Summary Statistics
- Get Project Token Data
- Get Project Vote Data
- Get Overall Summary Statistics
- Get Team Cost Data
- Get Team Document Count Data
- Get Team Indexing Mode Data
- Get Team Most Active Data
- Get Team Query Count Data
- Get Recent Team Data
- Get Team Summary Statistics
- Get Team Token Data
- Get Team Vote Data
- Get Total Entity Counts
- Get User Cost Data
- Get User Document Count Data
- Get User Indexing Mode Data
- Get User Most Active Data
- Get User Query Count Data
- Get Recent User Data
- Get User Summary Statistics
- Get User Token Data
- Get User Vote Data
- Get Vote Count Data
- Get Query Count Data
- Get Token Data
- Teammates
- Tools
- Feature Flags
- Get All Feature Flags
- Get Agent Alias Feature Flag
- Get Api Tools Feature Flag
- Get Chat Agent Creation Feature Flag
- Get dall_e Image Generation Feature Flag
- Get Developer Portal Feature Flag
- Get Guardrail Feature Flag
- Get PII Redaction Feature Flag
- Get Share Agent Feature Flag
- Get Sharepoint Index Feature Flag
- Get Youtube Index Feature Flag
- Users
- Notifications
- Projects
- Retrieve all Projects
- Create a Project
- Get a Project
- Update a Project
- Delete a Project
- Get Agent Responses using Project ID
- Add a Recent Project for a User
- Add Users to a Project
- Remove a User from a Project
- Get multiple Projects by their IDs
- Get Projects based on filters
- Get Recent Projects for a User
- Get Projects with Team Details
- Teams
- Organizations
- Get all Configurations
- Get active configuration for an Organization
- Get the Model Deployment for an Organization
- Get Organization Logo
- Get all Tools in an Organization
- Disable a Tool for all Agents in an Organization
- Enable a Tool for all Agents in an Organization
- Get all API Tool Templates
- Create a new API Tool Template
- Create a new API tool
- Create an attachment tool
- Create a new RAG tool in an Organization
- Create a Web Search Tool in an Organization
- Get all Users in an Organization
- Create a User in an Organization
- Get all Configurations of user's Organization
- Get all LLM configurations of the user's Organization
- Get a specific LLM configuration by ID
Retrieve queries for an evaluation dataset
GET
/api/v2/evaluations/datasets/{dataset_id}/queries
Evaluationsv2
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v2/evaluations/datasets//queries'
Response Response Example
200 - Success
{
"success": true,
"message": "Dataset queries retrieved successfully",
"data": {
"count": 10,
"num_pages": 2,
"current_page": 1,
"queries": [
{
"id": 43,
"chatlog": 1,
"question": "hi",
"response": "Hello! How can I assist you today?",
"evaluation_dataset_id": 26
}
]
}
}
Request
Path Params
dataset_id
integerÂ
required
Query Params
items_per_page
integerÂ
optional
page
integerÂ
optional
Responses
🟢200OK
application/json
Body
success
booleanÂ
required
message
stringÂ
required
data
object (EvaluationQueryListData)Â
required
count
integerÂ
optional
num_pages
integerÂ
optional
current_page
integerÂ
optional
queries
array[object (EvaluationQueryWithAnswer) {5}]Â
required
🔴500Server Error