> 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/scores-ai-resource.md).

# Scores Ai Resource

## GET /api/v1/company/scores/ai/{scoreId}

>

```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":{"DateGroupingTypes":{"type":"string","description":"Types of date grouping intervals","enum":["DAY","WEEK","MONTH","QUARTER","NON_NATURAL_QUARTER","YEAR"]},"ScoresAIResumeWithActionsDTO":{"type":"object","properties":{"text":{"type":"string"},"actions":{"type":"array","items":{"$ref":"#/components/schemas/AIActionRecomendationDTO"}}}},"AIActionRecomendationDTO":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"}}}}},"paths":{"/api/v1/company/scores/ai/{scoreId}":{"get":{"tags":["scores-ai-resource"],"operationId":"generateScoreResult","parameters":[{"name":"scoreId","in":"path","required":true,"schema":{"type":"string"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","format":"date-time"}},{"name":"hierarchyId","in":"query","required":false,"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}},{"name":"grouping","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DateGroupingTypes","default":"MONTH"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ScoresAIResumeWithActionsDTO"}}}}}}}}}
```
