Survey Report Resource
SessionId
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6OK
Lightweight survey report representation for listings
Unique identifier for this report
64f8a0e2d5b7c9a1e3f4a5b6User IDs for manager reports. Only populated when the report is for managers, containing the set of manager user IDs that share the same segmentation.
64f8a0e2d5b7c9a1e3f4a5b6Target hierarchy ID for manager reports. This represents the specific hierarchy area from the manager's managed areas that this report is generated for. Null for admin reports or when not applicable.
64f8a0e2d5b7c9a1e3f4a5b6Status of the report generation: ONGOING (being generated), DONE (completed successfully), RETRYING (failed, will retry), FAILED (failed after max retries)
Group IDs used to filter the data analyzed in this report. Empty set means all groups.
64f8a0e2d5b7c9a1e3f4a5b6GET /api/v1/company/surveys/reports/{surveyId}/{roundId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
OK
[
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"forUsers": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"targetHierarchyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"status": "ONGOING",
"reportTypeTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"characteristics": [
{
"characteristicId": "64f8a0e2d5b7c9a1e3f4a5b6",
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "DATE",
"value": true
}
],
"groupIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
]
}
]SessionId
64f8a0e2d5b7c9a1e3f4a5b6OK
Survey report entity containing AI-generated analysis sections
Unique identifier for this report
64f8a0e2d5b7c9a1e3f4a5b6Company ID this report belongs to
64f8a0e2d5b7c9a1e3f4a5b6Survey ID this report analyzes
64f8a0e2d5b7c9a1e3f4a5b6Survey round ID this report analyzes
64f8a0e2d5b7c9a1e3f4a5b6Timestamp when the report was generated
The config/template ID as MongoDB ObjectId. Determines which report configuration was used.
64f8a0e2d5b7c9a1e3f4a5b6User IDs for manager reports. Only populated when configId indicates a manager report, containing the set of manager user IDs that share the same segmentation (hierarchy, segments, groups).
64f8a0e2d5b7c9a1e3f4a5b6Target hierarchy ID for manager reports. This represents the specific hierarchy area from the manager's managed areas that this report is generated for. Null for admin reports or when not applicable.
64f8a0e2d5b7c9a1e3f4a5b6Report objective or purpose that guided the AI generation (e.g., 'identify key drivers of satisfaction')
Tone used in the report content (e.g., 'professional', 'conversational', 'analytical')
Organizational hierarchy IDs used to filter the data analyzed in this report. Empty set means all hierarchies.
64f8a0e2d5b7c9a1e3f4a5b6Group IDs used to filter the data analyzed in this report. Empty set means all groups.
64f8a0e2d5b7c9a1e3f4a5b6Indicates if the survey index scale has been normalized (e.g., to a 0–100 scale).
Minimum value of the survey index scale used in the analytics for this report.
Maximum value of the survey index scale used in the analytics for this report.
Status of the report: SURVEY_ONGOING (survey not expired), ONGOING/DONE/RETRYING/FAILED (report generation status when survey is expired)
GET /api/v1/company/surveys/reports/{reportId} HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"companyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"surveyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"roundId": "64f8a0e2d5b7c9a1e3f4a5b6",
"generatedAt": "2026-01-01T00:00:00.000Z",
"configId": "64f8a0e2d5b7c9a1e3f4a5b6",
"forUsers": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"targetHierarchyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"reportObjective": "text",
"tone": "text",
"reportTypeTitle": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"hierarchyIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"characteristics": [
{
"characteristicId": "64f8a0e2d5b7c9a1e3f4a5b6",
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "DATE",
"value": true
}
],
"groupIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"sections": [
{
"sectionId": "text",
"type": "OVERVIEW",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"content": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
}
}
],
"scaleNormalized": true,
"scaleMin": 1,
"scaleMax": 1,
"reportStatus": "SURVEY_ONGOING"
}Last updated