Skip to main content
GET
/
v1
/
statistics
/
overview
Get overview statistics
curl --request GET \
  --url https://api.yalg.ai/v1/statistics/overview \
  --header 'x-api-key: <api-key>'
{
  "totalAnecdotes": 45,
  "totalPosts": 24,
  "scheduledPosts": 3,
  "publishedPosts": 21,
  "favoriteAnecdotes": 12,
  "professionalStories": 18,
  "personalStories": 15,
  "lessonsLearned": 12
}

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

Overview statistics retrieved successfully