Submit feedback for an objective
$ cadenya objectives:feedback create
POST/v1/objectives/{objectiveId}/feedback
Submits feedback for an objective's execution. Feedback scores are used by the agent variation scoring system to evaluate and rank variation performance.
Submit feedback for an objective
cadenya objectives:feedback create \
--api-key 'My API Key' \
--objective-id objectiveId \
--data '{}'{
"data": {
"attributes": {
"foo": "string"
},
"comment": "comment",
"score": 0
},
"metadata": {
"id": "id",
"name": "name"
},
"info": {
"submittedBy": {
"metadata": {
"id": "id",
"accountId": "accountId",
"name": "name",
"profileId": "profileId",
"externalId": "externalId",
"labels": {
"foo": "string"
}
},
"spec": {
"type": "PROFILE_TYPE_USER",
"email": "email",
"name": "name"
}
}
}
}Returns Examples
{
"data": {
"attributes": {
"foo": "string"
},
"comment": "comment",
"score": 0
},
"metadata": {
"id": "id",
"name": "name"
},
"info": {
"submittedBy": {
"metadata": {
"id": "id",
"accountId": "accountId",
"name": "name",
"profileId": "profileId",
"externalId": "externalId",
"labels": {
"foo": "string"
}
},
"spec": {
"type": "PROFILE_TYPE_USER",
"email": "email",
"name": "name"
}
}
}
}