Skip to main content
GET
/
problems
List problems
curl --request GET \
  --url https://app2.freyavoice.ai/api/v2/problems \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "success": true,
      "problems": [
        {
          "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
        }
      ],
      "pagination": {
        "total": 123,
        "limit": 123,
        "offset": 123
      },
      "summary": {
        "total": 123,
        "resolved": 123,
        "unresolved": 123,
        "byType": {
          "system": 123,
          "audio": 123,
          "transcription": 123,
          "decision": 123,
          "general": 123
        },
        "byStatus": {}
      },
      "histogram": [
        {
          "timestamp": "<string>",
          "total": 123,
          "resolved": 123,
          "unresolved": 123,
          "filteredTotal": 123,
          "filteredResolved": 123,
          "filteredUnresolved": 123
        }
      ],
      "uniqueStatuses": [
        "<string>"
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

workspaceId
string<uuid>
required

Workspace ID

Minimum string length: 1
callId
string<uuid>

Filter by specific call ID

granularity
enum<string>

Histogram bucket granularity

Available options:
1h,
24h,
week,
month,
year
startDate
string

Start date for histogram (ISO format)

endDate
string

End date for histogram (ISO format)

archivedFilter
enum<string>
default:active

Filter by archive status

Available options:
active,
all,
archived
limit
string
default:25

Page size

offset
string
default:0

Offset for pagination

filters
string

Base64-encoded filter state

Global search term

sortBy
string

Sort field name

sortOrder
enum<string>

Sort direction

Available options:
asc,
desc
export
string

Set to 'true' to return a file export

exportFormat
enum<string>

Export file format

Available options:
csv,
xlsx,
markdown
exportColumns
string

JSON array of column definitions {id,label}

Response

Problems with pagination and summary

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