Inspect the current API key
Returns the key's project, organization, plan, environment and scopes. Works with any valid key.
GET
https://fomodata.dev /v1 /meExample request
curl 'https://fomodata.dev/v1/me' \
-H "Authorization: Bearer $FOMODATA_API_KEY"Response
200 Key info
application/jsonKeyInfo
objectenumrequired"api_key"idstringrequirednamestringrequiredprefixstringrequiredenvironmentenumrequired"test""live"livemodebooleanrequiredscopesarray<string>requiredprojectobjectrequired+ 2 child attributesidstringrequirednamestringrequired
organizationobjectrequired+ 3 child attributesidstringrequirednamestringrequiredplanstringrequired
created_atstring (date-time)requiredexpires_atstring (date-time) | nullrequired
200 · exampleJSON
{
"object": "api_key",
"id": "string",
"name": "string",
"prefix": "fd_test_Ab12",
"environment": "test",
"livemode": true,
"scopes": [
"string"
],
"project": {
"id": "string",
"name": "string"
},
"organization": {
"id": "string",
"name": "string",
"plan": "string"
},
"created_at": "2026-10-07T10:04:12.000Z",
"expires_at": "2026-10-07T10:04:12.000Z"
}Errors
| Status | When |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | Insufficient scope, live access not approved, or history limit |
429 | Rate limit or quota exceeded |
All errors use the standard envelope. See error codes for every code value.