---
title: "Get recommendation"
method: GET
path: "/v2/optimize/recommendations/{recommendation_id}"
tags: ["recommendations"]
---

# Get recommendation

`GET /v2/optimize/recommendations/{recommendation_id}`

Returns the full details of a single recommendation, including metadata, suggested actions, and cost impact. **Note:** The `optimization_id` field is deprecated; use `recommendation_type_id` instead.

## Path parameters

- `recommendation_id` string, required — The ID of the recommendation to get

## Response `200`

Successful Response

- GetRecommendationResponse
  - `recommendation` RecommendationDetails, required
    - `recommendation_id` string, required — The ID of the recommendation
    - `title` string, required — The title of the recommendation
    - `category` string, required — The category of the recommendation
    - `optimization_id` string — Deprecated: renamed to recommendation_type_id. The optimization type ID.
    - `recommendation_type_id` string, required — The recommendation type ID
    - `source` string, nullable — The source of the recommendation
    - `effort` string — The effort of the recommendation
    - `status` string — The status of the recommendation
    - `work_item` string, nullable — The ID of a work item associated with a configured ticketing system like Jira, etc.
    - `cost_impact_last_30_days` number — The cost impact of the recommendation over the last 30 days
    - `realized_savings_last_30_days` number — The realized savings of the recommendation over the last 30 days
    - `resource` string, nullable — The resource that this recommendation is about
    - `resource_type` string, nullable — The type of the resource
    - `resource_name` string, nullable — The name of the resource
    - `account` string[] — The cloud provider account of the recommendation
    - `addressed_on_ts` integer, nullable — The timestamp of when the recommendation was addressed
    - `cloud_provider` string[] — The cloud provider of the recommendation
    - `region` string[] — The cloud provider region of the recommendation
    - `service` string[] — The cloud provider service of the recommendation
    - `last_seen_ts` integer, nullable — The timestamp of when the recommendation was last seen
    - `suggested_actions` string, nullable — The suggested actions of the recommendation
    - `metadata` object, nullable — The metadata of the recommendation
    - `enriched` boolean — Whether the recommendation has been enriched with additional context
    - `cluster` string[], nullable — The Kubernetes cluster associated with the recommendation
    - `namespace` string[], nullable — The Kubernetes namespace associated with the recommendation
    - `pod` string[], nullable — The Kubernetes pod associated with the recommendation
    - `cost_graph_filters` object, nullable — Filters used to generate the cost graph for this recommendation
    - `cost_type` string — The cost type used for the recommendation analysis
    - `created` integer — The Unix timestamp of when the recommendation was created
    - `days_ago_begin` integer — The number of days in the lookback window for the recommendation
    - `description` string — A detailed description of the recommendation and suggested actions
    - `granularity` string — The time granularity of the cost data for this recommendation
    - `last_evaluated` integer — The Unix timestamp of when the recommendation was last evaluated
    - `last_updated_reason` string — The reason for the last update to the recommendation
    - `update_ts` integer — The Unix timestamp of when the recommendation was last updated
  - `columns` string[] — The columns in the response
  - `display_names` object — A mapping of column names to display names
  - `multiple_value_columns` string[] — Columns in the response that are an array of values

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources.md) · [All operations](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudzero/cloudzero-api-v2-resources/revisions/fd805a0e75e5/schema)
