Get Agent Responses using Project ID
GET
/api/v2/projects/{project_id}/agent-responses
Projectsv2
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v2/projects//agent-responses'
Response Response Example
200 - Example 1
{
"success": true,
"message": "string",
"data": {
"count": 0,
"num_pages": 0,
"current_page": 0,
"agent_responses": [
{
"id": 0,
"comments": [
{
"id": 0,
"comment": "string",
"created_by": "string",
"created_on": "2019-08-24T14:15:22Z",
"chat_log": 0
}
],
"feedback": [
{
"id": 0,
"created_by": "string",
"created_on": "2019-08-24T14:15:22Z",
"modified_by": "string",
"modified_on": "2019-08-24T14:15:22Z",
"is_upvote": true,
"is_downvote": true,
"chat_log": 0
}
],
"agent": {
"id": 0,
"agent_name": "string",
"agent_type": {
"name": "string"
},
"created_by": "string",
"created_on": "2019-08-24T14:15:22Z",
"agent_image": "string",
"user": 0,
"project": 0
},
"question": "string",
"response": {
"property1": null,
"property2": null
},
"created_by": "string",
"created_on": "2019-08-24T14:15:22Z",
"query_source": "string",
"user": 0,
"chat_thread": 0
}
]
}
}
Request
Path Params
project_id
integerÂ
required
Query Params
items_per_page
integerÂ
optional
Default:
50
page
integerÂ
optional
Default:
1
query_source
stringÂ
optional
Default:
web