---
title: "Analyze Entity New Optimized"
method: POST
path: "/api/v1/new-meta-analytics/analyze-entity-new-optimized"
tags: ["newMetaAnalytics"]
---

# Analyze Entity New Optimized

`POST /api/v1/new-meta-analytics/analyze-entity-new-optimized`

## Query parameters

- `type` string, required — Entity type: 'ad' or 'creative'
- `entity_id` string, required — Entity ID (ad_id or creative_id)
- `selected_metric` string, required — Selected metric
- `selected_value` number, nullable — Selected value (not required for auto metric)
- `bucket` string, required — Bucket classification
- `recommendation` string, required — Recommendation
- `refresh` boolean — Force refresh analysis, ignore cache

## Request body

- object — Request body containing metric_json and other_json

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/brandbooster/apis/fastapi.md) · [All operations](https://skmtc.dev/brandbooster/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/brandbooster/fastapi/revisions/ff7f2b621b41/schema)
