# RabbitRecommendations

## GET /recommendations

> List of Entertainment Program Recommendations for movies or shows.

```json
{"openapi":"3.1.1","info":{"title":"Rabbit Recommendations API","version":"1.0"},"tags":[{"name":"RabbitRecommendations"}],"servers":[{"url":"https://api.origin.fabricdata.com/api/RabbitRecommendations"}],"security":[{"ApiKeyHeader":[],"ApiKeyQuery":[]}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","description":"Authorize requests passing your apiKey in HTTP header.","name":"Ocp-Apim-Subscription-Key","in":"header"}},"schemas":{"XRoadMediaRecommendationResponse":{"title":"XRoadMediaRecommendationResponse","properties":{"recommendations":{"type":"array","items":{"$ref":"#/components/schemas/Recommendation"}}},"description":"XRoadMediaRecommendationResponse","type":"object"},"Recommendation":{"title":"Recommendation","properties":{"explanations":{"description":"List of reasons for recommendation.","type":"array","items":{"$ref":"#/components/schemas/Explanation"}},"score":{"description":"Quality of the recommendation relative to other recommendations.","type":"number","format":"float"},"program":{"$ref":"#/components/schemas/Program","description":"The ID and Type of IVA Program."}},"description":"Recommendation","type":"object"},"Explanation":{"title":"Explanation","properties":{"originator":{"description":"Origination of the explanation.","type":"string"},"type":{"description":"The granularity of recommendation match.","type":"string"},"message":{"type":"string"}},"description":"Explanation","type":"object"},"Program":{"title":"Program","properties":{"Id":{"description":"The ID of the program (show or movie)","type":"integer","format":"int64"},"Type":{"description":"The type of IVA program (show or movie).","type":"string"}},"description":"Program","type":"object"}}},"paths":{"/recommendations":{"get":{"tags":["RabbitRecommendations"],"summary":"List of Entertainment Program Recommendations for movies or shows.","description":"","operationId":"GetXRoadMediaRecommendations","parameters":[{"schema":{"type":"integer","format":"int64"},"name":"MovieId","in":"query","description":"Source MovieId for recommendations.","required":false},{"schema":{"type":"integer","format":"int64"},"name":"ShowId","in":"query","description":"Source ShowId for recommendations.","required":false},{"schema":{"type":"string","enum":["similar","similarShowsOnly","similarMoviesOnly"]},"name":"Type","in":"query","description":"Type of recommendation response.","required":false}],"responses":{"200":{"description":"OK.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/XRoadMediaRecommendationResponse"}},"application/xml":{"schema":{"$ref":"#/components/schemas/XRoadMediaRecommendationResponse"}},"text/csv":{"schema":{"$ref":"#/components/schemas/XRoadMediaRecommendationResponse"}},"text/html":{"schema":{"$ref":"#/components/schemas/XRoadMediaRecommendationResponse"}}}},"204":{"description":"No content."},"400":{"description":"Bad request."},"401":{"description":"Unauthorized."},"403":{"description":"Forbidden. The subscription key does not have permission to access this method."},"404":{"description":"Not found. The item you requested could not be found or has been deleted."},"409":{"description":"Conflict."},"429":{"description":"Too many requests."},"500":{"description":"Internal server error."},"503":{"description":"Service unavailable."}},"deprecated":false}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.fabricdata.com/origin/apis-all/rabbit-recommendations-api-docs/rabbitrecommendations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
