List feedback for an agent
$ cadenya agents:feedback list
GET/v1/workspaces/{workspaceId}/agents/{agentId}/feedback
Lists feedback submitted across all objectives belonging to an agent. Supports search by comment, sentiment filter, agent variation filter, and creation date range. Results are ordered by creation time, newest first.
List feedback for an agent
cadenya agents:feedback list \
--api-key 'My API Key' \
--workspace-id workspaceId \
--agent-id agentId{
"items": [
{
"data": {
"comment": "comment",
"score": 0
},
"metadata": {
"id": "id",
"accountId": "accountId",
"createdAt": "2019-12-27T18:11:19.117Z",
"profileId": "profileId",
"workspaceId": "workspaceId",
"externalId": "externalId",
"labels": {
"foo": "string"
}
},
"info": {
"agentVariation": {
"id": "id",
"name": "name"
},
"objective": {
"id": "id",
"name": "name"
},
"submittedBy": {
"metadata": {
"id": "id",
"accountId": "accountId",
"name": "name",
"profileId": "profileId",
"externalId": "externalId",
"labels": {
"foo": "string"
}
},
"spec": {
"type": "PROFILE_TYPE_UNSPECIFIED",
"email": "email",
"name": "name"
}
}
}
}
],
"pagination": {
"nextCursor": "nextCursor",
"total": 0
}
}Returns Examples
{
"items": [
{
"data": {
"comment": "comment",
"score": 0
},
"metadata": {
"id": "id",
"accountId": "accountId",
"createdAt": "2019-12-27T18:11:19.117Z",
"profileId": "profileId",
"workspaceId": "workspaceId",
"externalId": "externalId",
"labels": {
"foo": "string"
}
},
"info": {
"agentVariation": {
"id": "id",
"name": "name"
},
"objective": {
"id": "id",
"name": "name"
},
"submittedBy": {
"metadata": {
"id": "id",
"accountId": "accountId",
"name": "name",
"profileId": "profileId",
"externalId": "externalId",
"labels": {
"foo": "string"
}
},
"spec": {
"type": "PROFILE_TYPE_UNSPECIFIED",
"email": "email",
"name": "name"
}
}
}
}
],
"pagination": {
"nextCursor": "nextCursor",
"total": 0
}
}