Skip to main content
GET
/
v1
/
youtube-suggestions
/
stats
Get suggestion statistics
curl --request GET \
  --url https://api.yalg.ai/v1/youtube-suggestions/stats \
  --header 'x-api-key: <api-key>'
{
  "total": 25,
  "pending": 10,
  "approved": 8,
  "rejected": 5,
  "used": 2,
  "byCategory": {
    "tutorial": 12,
    "review": 8,
    "vlog": 5
  }
}

Authorizations

x-api-key
string
header
default:yalg_live_your_api_key
required

YALG Developer API key. Send it in the x-api-key header from a server-side environment only.

Response

Statistics retrieved successfully