/v1/meThe team and key behind this request
Check that a key works and see the team, plan, scopes and rate limit it carries, its monthly Sparks cap and what it spent this month, and the Sparks the team can spend.
readReturns200Response 200
teamobjectrequiredThe team the key belongs to.
team.idstringrequiredThe team's id.
team.namestringrequiredThe team's name.
team.planstringrequiredThe team's plan, e.g. plus, pro or team.
api_keyobjectrequiredThe key that made this request.
api_key.idstringrequiredThe key's id.
api_key.namestringrequiredThe name given to the key in Settings.
api_key.prefixstringrequiredThe 8-character prefix shown in Settings.
api_key.scopesarray of stringsrequiredAny of read, run and webhooks.
api_key.rate_limit_per_minuteintegerrequiredRequests per minute this key may make.
api_key.monthly_sparks_capintegerrequiredThe most this key's runs may hold or be charged in one UTC calendar month, or null for no cap. Set in Settings > API keys.
api_key.sparks_this_monthintegerrequiredSparks this key's runs started this UTC month hold or were charged, checked against the cap.
api_key.month_resets_atstringrequiredWhen sparks_this_month starts again from zero: the start of the next UTC month (ISO 8601).
sparks_availableintegerrequiredSparks the team can spend right now.
Errors use one shape across the API. See the error codes
curl https://api.smiletoai.com/v1/me \
-H "Authorization: Bearer $SMILETOAI_KEY"{
"object": "me",
"team": {
"id": "6f0c2d9a-3b1e-4f57-9a0d-2c8e5b7f1a64",
"name": "Northwind Studio",
"plan": "pro"
},
"api_key": {
"id": "a3e1b0c4-5d2f-4e8a-b7c9-0f1e2d3c4b5a",
"name": "Production",
"prefix": "k7m2p9qa",
"scopes": [
"read",
"run"
],
"rate_limit_per_minute": 60,
"monthly_sparks_cap": 20000,
"sparks_this_month": 4120,
"month_resets_at": "2026-11-01T00:00:00Z"
},
"sparks_available": 84210
}