curl --request POST \
--url https://app2.freyavoice.ai/api/v2/solutions/review \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"runId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"decisions": [
{
"solutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action": "accept",
"editedValue": "<unknown>",
"patchDecisions": {}
}
]
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"success": true,
"acceptedCount": 123,
"rejectedCount": 123,
"runCompleted": true,
"error": "<string>"
}
}
}Accept or reject multiple solutions at once. Supports editing values and patch decisions for text_diff operations.
curl --request POST \
--url https://app2.freyavoice.ai/api/v2/solutions/review \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"runId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"decisions": [
{
"solutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"action": "accept",
"editedValue": "<unknown>",
"patchDecisions": {}
}
]
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"success": true,
"acceptedCount": 123,
"rejectedCount": 123,
"runCompleted": true,
"error": "<string>"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.