Skip to main content
GET
/
api
/
v1
/
analysis
/
recommendations
/
stats
Get Recommendation Stats
curl --request GET \
  --url http://localhost:8000/api/v1/analysis/recommendations/stats \
  --header 'Authorization: Bearer <token>'
{
  "analysis_type": "keyword_pause",
  "total": 123,
  "pending": 123,
  "accepted": 123,
  "rejected": 123,
  "budget_saved": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

customer_id
integer
required
analysis_type
enum<string>
required

The analysis type

Available options:
keyword_pause,
negative_keyword,
double_check_keywords_to_pause,
headline,
description,
budget_migration,
pause_hours,
pause_locations,
search_terms
limit__last_days
integer | null

Response

Successful Response

The schema for recommendation statistics.

analysis_type
enum<string>
required

The types of analyses.

Available options:
keyword_pause,
negative_keyword,
double_check_keywords_to_pause,
headline,
description,
budget_migration,
pause_hours,
pause_locations,
search_terms
total
integer
required
pending
integer
required
accepted
integer
required
rejected
integer
required
budget_saved
number
required