Profile
GET
/v1/profileGet information about the authenticated user and their account.
Example
curl https://api.hypersave.io/v1/profile \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"success": true,
"profile": {
"id": "user_abc123",
"email": "user@example.com",
"name": "John Smith",
"company": "Acme Corp",
"tier": "pro",
"createdAt": "2024-01-01T00:00:00Z",
"settings": {
"defaultSpace": "space_main",
"timezone": "America/New_York",
"language": "en"
},
"limits": {
"requestsPerHour": 1000,
"monthlyRequests": 100000,
"maxStorageMb": 10000,
"maxMemories": 100000
},
"currentUsage": {
"memoryCount": 1523,
"storageMb": 234,
"monthlyRequests": 4521
}
}
}Response Fields
| Field | Type | Description |
|---|---|---|
id | string | User ID |
email | string | User email |
name | string | Display name |
company | string | Company name |
tier | string | Subscription tier: free, pro, enterprise |
createdAt | string | Account creation date |
settings | object | User preferences |
limits | object | Account limits based on tier |
currentUsage | object | Current usage statistics |
Subscription Tiers
| Tier | Requests/Hour | Monthly Requests | Storage |
|---|---|---|---|
| Free | 100 | 10,000 | 1 GB |
| Pro | 1,000 | 100,000 | 10 GB |
| Enterprise | Unlimited | Unlimited | Unlimited |
Error Response
Invalid API Key
{
"success": false,
"error": "UNAUTHORIZED",
"message": "Invalid API key"
}