> For the complete documentation index, see [llms.txt](https://api-docs.myhappyforce.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.myhappyforce.com/docs/api-reference/questions-stats-resource.md).

# Questions Stats Resource

## GET /api/v1/company/stats/questions

>

```json
{"openapi":"3.1.0","info":{"title":"Happyforce API","version":"v1"},"tags":[],"servers":[{"url":"{url}","description":"API URL","variables":{"url":{"description":"API Environment","enum":["https://api.happyforce.com","https://staging.happyforce.com","http://localhost:9000"],"default":"https://api.happyforce.com"}}}],"security":[{"companyAPISessionId":[]}],"components":{"securitySchemes":{"companyAPISessionId":{"type":"apiKey","description":"SessionId","name":"SessionId","in":"header"}},"schemas":{"QuestionStatsResultDTO":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"$ref":"#/components/schemas/QuestionStatsResult"}},"periodResults":{"$ref":"#/components/schemas/QuestionStatsResult"}}},"QuestionStatsResult":{"type":"object","properties":{"votes":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/QuestionStatsDateResult"}},"ratings":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}},"ratingPercents":{"type":"object","additionalProperties":{"type":"number","format":"double"}},"ratingsVariation":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}},"invitedParticipants":{"type":"integer","format":"int64"},"expectedParticipants":{"type":"integer","format":"int64"},"cohortParticipants":{"type":"integer","format":"int64"},"periodParticipants":{"type":"integer","format":"int64"},"previousPeriodParticipants":{"type":"integer","format":"int64"},"periodParticipantsVariation":{"type":"integer","format":"int64"},"periodParticipantsVariationPercent":{"type":"number","format":"double"},"newParticipants":{"type":"integer","format":"int64"},"lostParticipants":{"type":"integer","format":"int64"},"participationPercent":{"type":"number","format":"double"},"votesPeriod":{"type":"integer","format":"int64"},"votesVariation":{"type":"integer","format":"int64"},"votesVariationPercent":{"type":"number","format":"double"},"periodIndex":{"type":"number","format":"double"},"periodIndexVariation":{"type":"number","format":"double"},"periodIndexVariationPercent":{"type":"number","format":"double"},"valuation":{"$ref":"#/components/schemas/ValuationType"},"quality":{"$ref":"#/components/schemas/DataQuality"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"skippedVotes":{"type":"integer","format":"int64"}}},"QuestionStatsDateResult":{"type":"object","properties":{"date":{"type":"string","format":"date-time"},"indexRating":{"type":"number","format":"double"},"ratings":{"type":"array","items":{"$ref":"#/components/schemas/VoteRating"},"uniqueItems":true},"totalVotes":{"type":"integer","format":"int32"},"totalParticipants":{"type":"integer","format":"int32"},"skippedVotes":{"type":"integer","format":"int32"},"participationPercent":{"type":"number","format":"double"}}},"VoteRating":{"type":"object","properties":{"puntuation":{"type":"integer","format":"int32"},"votes":{"type":"integer","format":"int32"}}},"ValuationType":{"type":"string","description":"Valuation of data of a specific field or metric; usually based on the participation of employees in a survey or the number of responses to a question.","enum":["NO_DATA","BAD","WARNING","NEUTRAL","GOOD","EXCELLENT"]},"DataQuality":{"type":"string","description":"Quality of data of a specific field or metric","enum":["NO_DATA","LOW","WARNING","NORMAL","GOOD"]}}},"paths":{"/api/v1/company/stats/questions":{"get":{"tags":["questions-stats-resource"],"operationId":"getCompanyQuestionsRangeStats","parameters":[{"name":"from","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"hierarchyId","in":"query","required":false,"schema":{"type":"string"}},{"name":"questionId","in":"query","required":true,"schema":{"type":"string"}},{"name":"filters","in":"query","required":false,"schema":{"type":"string"}},{"name":"groupId","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"uniqueItems":true}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/QuestionStatsResultDTO"}}}}}}}}}
```
