Account Info
Returns plan and usage information for the authenticated API key.
GET /v1/meRequest
curl "https://api.c0r.ai/v1/me" \
-H "X-API-Key: fdb_your_key"Python
import requests
response = requests.get(
"https://api.c0r.ai/v1/me",
headers={"X-API-Key": "fdb_your_key"}
)
print(response.json())JavaScript
const response = await fetch(
"https://api.c0r.ai/v1/me",
{ headers: { "X-API-Key": "fdb_your_key" } }
);
const data = await response.json();
console.log(data);Response
{
"plan": "developer",
"requests_today": 47,
"requests_limit": 1000,
"key_prefix": "fdb_JpoKI",
"is_active": true
}Response Fields
| Field | Type | Description |
|---|---|---|
plan | string | Your subscription plan: developer, starter, growth, business |
requests_today | integer | Requests made since midnight UTC |
requests_limit | integer | Daily quota for your plan (-1 = unlimited) |
key_prefix | string | First 10 characters of your API key (safe to display) |
is_active | boolean | Whether this key is currently active |
Use Cases
- Monitor your daily usage programmatically
- Build a usage dashboard in your application
- Check remaining quota before a batch operation