curl --request PATCH \
--url https://app2.freyavoice.ai/api/v2/problems \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"problemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resolved": true,
"status": "<string>",
"assignedTo": "<string>",
"resolvedBy": "<string>",
"problem": "<string>",
"description": "<string>",
"type": "system",
"severity": 0.5,
"agentId": "<string>"
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"success": true,
"problem": {
"problem": "<string>",
"id": "<string>",
"workspaceId": "<string>",
"callId": "<string>",
"agentId": "<string>",
"description": "<string>",
"type": "system",
"severity": 0.5,
"status": "open",
"assignedTo": "<string>",
"createdBy": "ai",
"messageId": "<string>",
"resolved": false,
"resolvedAt": "<string>",
"resolvedBy": "<string>",
"solutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"updatedAt": "<string>",
"callStartedAt": "<string>",
"customerNumber": "<string>",
"agentName": "<string>",
"resolvedByName": "<string>",
"assignees": [
{
"userId": "<string>",
"assignedAt": "<string>",
"userName": "<string>"
}
],
"commentsCount": 123,
"isArchived": false
},
"message": "<string>"
}
}
}Updates a problem’s status, assignment, resolution, or content.
curl --request PATCH \
--url https://app2.freyavoice.ai/api/v2/problems \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"problemId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"resolved": true,
"status": "<string>",
"assignedTo": "<string>",
"resolvedBy": "<string>",
"problem": "<string>",
"description": "<string>",
"type": "system",
"severity": 0.5,
"agentId": "<string>"
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"success": true,
"problem": {
"problem": "<string>",
"id": "<string>",
"workspaceId": "<string>",
"callId": "<string>",
"agentId": "<string>",
"description": "<string>",
"type": "system",
"severity": 0.5,
"status": "open",
"assignedTo": "<string>",
"createdBy": "ai",
"messageId": "<string>",
"resolved": false,
"resolvedAt": "<string>",
"resolvedBy": "<string>",
"solutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "<string>",
"updatedAt": "<string>",
"callStartedAt": "<string>",
"customerNumber": "<string>",
"agentName": "<string>",
"resolvedByName": "<string>",
"assignees": [
{
"userId": "<string>",
"assignedAt": "<string>",
"userName": "<string>"
}
],
"commentsCount": 123,
"isArchived": false
},
"message": "<string>"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
111system, audio, transcription, decision, general, 0 <= x <= 1