Skip to main content
POST
/
solutions
/
review
Batch review solutions
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>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
runId
string<uuid>
required
workspaceId
string<uuid>
required
decisions
object[]
required

Response

Solutions reviewed

success
enum<boolean>
required
Available options:
true,
false
data
object
required