Source: https://ailoot.ai/docs/el/cabinet/schemas-1/
Canonical: https://ailoot.ai/docs/el/cabinet/schemas-1/
Language: el

[API πίνακα ελέγχου](https://ailoot.ai/docs/el/) 

# Σχήματα δεδομένων

[Markdown](https://ailoot.ai/docs/el/cabinet/schemas-1/index.md)

Πεδία και τύποι αντικειμένων του API πίνακα ελέγχου.

Πεδία αντικειμένων του API πίνακα ελέγχου και οι τύποι τους. Το omitempty σημαίνει ότι το πεδίο μπορεί να απουσιάζει από την απάντηση· δεν επιτρέπει την αποστολή null. Οι συμβολοσειρές PLACEHOLDER δηλώνουν τον τύπο, όχι πραγματική απάντηση.

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#apikey)APIKey

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `id` | `integer` | όχι |  |
| `user_id` | `integer` | όχι |  |
| `key` | `string` | όχι |  |
| `name` | `string` | όχι |  |
| `status` | `string` | όχι |  |
| `ip_whitelist` | `array` · `items: string` | όχι |  |
| `ip_blacklist` | `array` · `items: string` | όχι |  |
| `last_used_at` | `string` | όχι | ; μπορεί να είναι null |
| `last_used_ip` | `string` | όχι | ; μπορεί να είναι null |
| `quota` | `number` | όχι | ; Όριο δαπανών κλειδιού σε USD· 0 — χωρίς όριο |
| `quota_used` | `number` | όχι | ; Ποσό που δαπανήθηκε από το όριο του κλειδιού, USD |
| `expires_at` | `string` | όχι | ; Διάρκεια ισχύος· null — χωρίς λήξη· μπορεί να είναι null |
| `created_at` | `string` | όχι |  |
| `updated_at` | `string` | όχι |  |
| `current_concurrency` | `integer` | όχι |  |
| `rate_limit_5h` | `number` | όχι |  |
| `rate_limit_1d` | `number` | όχι |  |
| `rate_limit_7d` | `number` | όχι |  |
| `usage_5h` | `number` | όχι |  |
| `usage_1d` | `number` | όχι |  |
| `usage_7d` | `number` | όχι |  |
| `window_5h_start` | `string` | όχι | ; μπορεί να είναι null |
| `window_1d_start` | `string` | όχι | ; μπορεί να είναι null |
| `window_7d_start` | `string` | όχι | ; μπορεί να είναι null |
| `reset_5h_at` | `string` | όχι | ; μπορεί να είναι null |
| `reset_1d_at` | `string` | όχι | ; μπορεί να είναι null |
| `reset_7d_at` | `string` | όχι | ; μπορεί να είναι null |
| `user` | object · [User](https://ailoot.ai/docs/el/cabinet/schemas-1/#user) | όχι | ; μπορεί να είναι null |

Πεδία αντικειμένου

```json
{
  "id": "PLACEHOLDER_ID (integer)",
  "user_id": "PLACEHOLDER_USER_ID (integer)",
  "key": "PLACEHOLDER_KEY (string)",
  "name": "PLACEHOLDER_NAME (string)",
  "status": "PLACEHOLDER_STATUS (string)",
  "ip_whitelist": "PLACEHOLDER_IP_WHITELIST (array)",
  "ip_blacklist": "PLACEHOLDER_IP_BLACKLIST (array)",
  "last_used_at": "PLACEHOLDER_LAST_USED_AT (string)",
  "last_used_ip": "PLACEHOLDER_LAST_USED_IP (string)",
  "quota": "PLACEHOLDER_QUOTA (number)",
  "quota_used": "PLACEHOLDER_QUOTA_USED (number)",
  "expires_at": "PLACEHOLDER_EXPIRES_AT (string)",
  "created_at": "PLACEHOLDER_CREATED_AT (string)",
  "updated_at": "PLACEHOLDER_UPDATED_AT (string)",
  "current_concurrency": "PLACEHOLDER_CURRENT_CONCURRENCY (integer)",
  "rate_limit_5h": "PLACEHOLDER_RATE_LIMIT_5H (number)",
  "rate_limit_1d": "PLACEHOLDER_RATE_LIMIT_1D (number)",
  "rate_limit_7d": "PLACEHOLDER_RATE_LIMIT_7D (number)",
  "usage_5h": "PLACEHOLDER_USAGE_5H (number)",
  "usage_1d": "PLACEHOLDER_USAGE_1D (number)",
  "usage_7d": "PLACEHOLDER_USAGE_7D (number)",
  "window_5h_start": "PLACEHOLDER_WINDOW_5H_START (string)",
  "window_1d_start": "PLACEHOLDER_WINDOW_1D_START (string)",
  "window_7d_start": "PLACEHOLDER_WINDOW_7D_START (string)",
  "reset_5h_at": "PLACEHOLDER_RESET_5H_AT (string)",
  "reset_1d_at": "PLACEHOLDER_RESET_1D_AT (string)",
  "reset_7d_at": "PLACEHOLDER_RESET_7D_AT (string)",
  "user": "PLACEHOLDER_USER (object)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#apikeydailyusagepoint)APIKeyDailyUsagePoint

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `date` | `string` | όχι |  |
| `requests` | `integer` | όχι |  |
| `input_tokens` | `integer` | όχι |  |
| `output_tokens` | `integer` | όχι |  |
| `cache_read_tokens` | `integer` | όχι |  |
| `cache_write_tokens` | `integer` | όχι |  |
| `total_tokens` | `integer` | όχι |  |
| `cost` | `number` | όχι | ; Κόστος στην κανονική τιμή |
| `actual_cost` | `number` | όχι | ; Πραγματική χρέωση |

Πεδία αντικειμένου

```json
{
  "date": "PLACEHOLDER_DATE (string)",
  "requests": "PLACEHOLDER_REQUESTS (integer)",
  "input_tokens": "PLACEHOLDER_INPUT_TOKENS (integer)",
  "output_tokens": "PLACEHOLDER_OUTPUT_TOKENS (integer)",
  "cache_read_tokens": "PLACEHOLDER_CACHE_READ_TOKENS (integer)",
  "cache_write_tokens": "PLACEHOLDER_CACHE_WRITE_TOKENS (integer)",
  "total_tokens": "PLACEHOLDER_TOTAL_TOKENS (integer)",
  "cost": "PLACEHOLDER_COST (number)",
  "actual_cost": "PLACEHOLDER_ACTUAL_COST (number)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#authresponse)AuthResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `access_token` | `string` | όχι |  |
| `refresh_token` | `string` | όχι | ; Token ανανέωσης συνεδρίας |
| `expires_in` | `integer` | όχι | ; Διάρκεια ισχύος token πρόσβασης σε δευτερόλεπτα |
| `token_type` | `string` | όχι |  |
| `user` | object · [User](https://ailoot.ai/docs/el/cabinet/schemas-1/#user) | όχι | ; μπορεί να είναι null |

Πεδία αντικειμένου

```json
{
  "access_token": "PLACEHOLDER_ACCESS_TOKEN (string)",
  "refresh_token": "PLACEHOLDER_REFRESH_TOKEN (string)",
  "expires_in": "PLACEHOLDER_EXPIRES_IN (integer)",
  "token_type": "PLACEHOLDER_TOKEN_TYPE (string)",
  "user": "PLACEHOLDER_USER (object)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#batchapikeysusagerequest)BatchAPIKeysUsageRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `api_key_ids` | `array` · `items: integer (int64)` | ναι | required |

Πεδία αντικειμένου

```json
{
  "api_key_ids": "PLACEHOLDER_API_KEY_IDS (array)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#batchapikeyusagestats)BatchAPIKeyUsageStats

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `api_key_id` | `integer` | όχι |  |
| `today_actual_cost` | `number` | όχι |  |
| `total_actual_cost` | `number` | όχι |  |

Πεδία αντικειμένου

```json
{
  "api_key_id": "PLACEHOLDER_API_KEY_ID (integer)",
  "today_actual_cost": "PLACEHOLDER_TODAY_ACTUAL_COST (number)",
  "total_actual_cost": "PLACEHOLDER_TOTAL_ACTUAL_COST (number)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#changepasswordrequest)ChangePasswordRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `old_password` | `string` | ναι | required |
| `new_password` | `string` | ναι | required,min=6 |

Πεδία αντικειμένου

```json
{
  "old_password": "PLACEHOLDER_OLD_PASSWORD (string)",
  "new_password": "PLACEHOLDER_NEW_PASSWORD (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#createapikeyrequest)CreateAPIKeyRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `name` | `string` | ναι | required |
| `custom_key` | `string` | όχι | ; Προαιρετική προσαρμοσμένη τιμή κλειδιού· μπορεί να είναι null |
| `ip_whitelist` | `array` · `items: string` | όχι | ; Λίστα επιτρεπόμενων IP |
| `ip_blacklist` | `array` · `items: string` | όχι | ; Λίστα αποκλεισμένων IP |
| `quota` | `number` | όχι | ; Όριο δαπανών κλειδιού σε USD· μπορεί να είναι null |
| `expires_in_days` | `integer` | όχι | ; Διάρκεια ισχύος σε ημέρες· μπορεί να είναι null |
| `rate_limit_5h` | `number` | όχι | ; μπορεί να είναι null |
| `rate_limit_1d` | `number` | όχι | ; μπορεί να είναι null |
| `rate_limit_7d` | `number` | όχι | ; μπορεί να είναι null |

Πεδία αντικειμένου

```json
{
  "name": "PLACEHOLDER_NAME (string)",
  "custom_key": "PLACEHOLDER_CUSTOM_KEY (string)",
  "ip_whitelist": "PLACEHOLDER_IP_WHITELIST (array)",
  "ip_blacklist": "PLACEHOLDER_IP_BLACKLIST (array)",
  "quota": "PLACEHOLDER_QUOTA (number)",
  "expires_in_days": "PLACEHOLDER_EXPIRES_IN_DAYS (integer)",
  "rate_limit_5h": "PLACEHOLDER_RATE_LIMIT_5H (number)",
  "rate_limit_1d": "PLACEHOLDER_RATE_LIMIT_1D (number)",
  "rate_limit_7d": "PLACEHOLDER_RATE_LIMIT_7D (number)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#forgotpasswordrequest)ForgotPasswordRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `email` | `string` | ναι | required,email |
| `turnstile_token` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "email": "PLACEHOLDER_EMAIL (string)",
  "turnstile_token": "PLACEHOLDER_TURNSTILE_TOKEN (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#forgotpasswordresponse)ForgotPasswordResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `message` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "message": "PLACEHOLDER_MESSAGE (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#login2farequest)Login2FARequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `temp_token` | `string` | ναι | required |
| `totp_code` | `string` | ναι | required,len=6 |

Πεδία αντικειμένου

```json
{
  "temp_token": "PLACEHOLDER_TEMP_TOKEN (string)",
  "totp_code": "PLACEHOLDER_TOTP_CODE (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#loginrequest)LoginRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `email` | `string` | ναι | required,email |
| `password` | `string` | ναι | required |
| `turnstile_token` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "email": "PLACEHOLDER_EMAIL (string)",
  "password": "PLACEHOLDER_PASSWORD (string)",
  "turnstile_token": "PLACEHOLDER_TURNSTILE_TOKEN (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#logoutrequest)LogoutRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `refresh_token` | `string` | όχι | ; Προαιρετικά: ανάκληση του συγκεκριμένου token ανανέωσης |

Πεδία αντικειμένου

```json
{
  "refresh_token": "PLACEHOLDER_REFRESH_TOKEN (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#logoutresponse)LogoutResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `message` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "message": "PLACEHOLDER_MESSAGE (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#passkeybeginloginrequest)PasskeyBeginLoginRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `turnstile_token` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "turnstile_token": "PLACEHOLDER_TURNSTILE_TOKEN (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#passkeycredentialsummary)PasskeyCredentialSummary

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `id` | `integer` | όχι |  |
| `name` | `string` | όχι |  |
| `created_at` | `string` | όχι |  |
| `last_used_at` | `string` | όχι | ; μπορεί να είναι null |
| `backup` | `boolean` | όχι |  |

Πεδία αντικειμένου

```json
{
  "id": "PLACEHOLDER_ID (integer)",
  "name": "PLACEHOLDER_NAME (string)",
  "created_at": "PLACEHOLDER_CREATED_AT (string)",
  "last_used_at": "PLACEHOLDER_LAST_USED_AT (string)",
  "backup": "PLACEHOLDER_BACKUP (boolean)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#passkeyfinishrequest)PasskeyFinishRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `session_token` | `string` | ναι | required |
| `name` | `string` | όχι |  |
| `credential` | `object` · `WebAuthn PublicKeyCredential JSON` | ναι | required |

Πεδία αντικειμένου

```json
{
  "session_token": "PLACEHOLDER_SESSION_TOKEN (string)",
  "name": "PLACEHOLDER_NAME (string)",
  "credential": "PLACEHOLDER_CREDENTIAL (object)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#passkeyoptionsresponse)PasskeyOptionsResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `session_token` | `string` | όχι |  |
| `options` | `any` | όχι |  |

Πεδία αντικειμένου

```json
{
  "session_token": "PLACEHOLDER_SESSION_TOKEN (string)",
  "options": "PLACEHOLDER_OPTIONS (any)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#redeemcode)RedeemCode

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `id` | `integer` | όχι |  |
| `code` | `string` | όχι |  |
| `type` | `string` | όχι |  |
| `value` | `number` | όχι |  |
| `status` | `string` | όχι |  |
| `used_by` | `integer` | όχι | ; μπορεί να είναι null |
| `used_at` | `string` | όχι | ; μπορεί να είναι null |
| `created_at` | `string` | όχι |  |
| `expires_at` | `string` | όχι | ; μπορεί να είναι null |
| `validity_days` | `integer` | όχι |  |
| `notes` | `string` | όχι | ; μπορεί να είναι null |
| `user` | object · [User](https://ailoot.ai/docs/el/cabinet/schemas-1/#user) | όχι | ; μπορεί να είναι null |

Πεδία αντικειμένου

```json
{
  "id": "PLACEHOLDER_ID (integer)",
  "code": "PLACEHOLDER_CODE (string)",
  "type": "PLACEHOLDER_TYPE (string)",
  "value": "PLACEHOLDER_VALUE (number)",
  "status": "PLACEHOLDER_STATUS (string)",
  "used_by": "PLACEHOLDER_USED_BY (integer)",
  "used_at": "PLACEHOLDER_USED_AT (string)",
  "created_at": "PLACEHOLDER_CREATED_AT (string)",
  "expires_at": "PLACEHOLDER_EXPIRES_AT (string)",
  "validity_days": "PLACEHOLDER_VALIDITY_DAYS (integer)",
  "notes": "PLACEHOLDER_NOTES (string)",
  "user": "PLACEHOLDER_USER (object)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#redeemrequest)RedeemRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `code` | `string` | ναι | required |

Πεδία αντικειμένου

```json
{
  "code": "PLACEHOLDER_CODE (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#refreshtokenrequest)RefreshTokenRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `refresh_token` | `string` | ναι | required |

Πεδία αντικειμένου

```json
{
  "refresh_token": "PLACEHOLDER_REFRESH_TOKEN (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#refreshtokenresponse)RefreshTokenResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `access_token` | `string` | όχι |  |
| `refresh_token` | `string` | όχι |  |
| `expires_in` | `integer` | όχι | ; Διάρκεια ισχύος token πρόσβασης σε δευτερόλεπτα |
| `token_type` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "access_token": "PLACEHOLDER_ACCESS_TOKEN (string)",
  "refresh_token": "PLACEHOLDER_REFRESH_TOKEN (string)",
  "expires_in": "PLACEHOLDER_EXPIRES_IN (integer)",
  "token_type": "PLACEHOLDER_TOKEN_TYPE (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#registerrequest)RegisterRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `email` | `string` | ναι | required,email |
| `password` | `string` | ναι | required,min=6 |
| `verify_code` | `string` | όχι |  |
| `turnstile_token` | `string` | όχι |  |
| `promo_code` | `string` | όχι | ; Κωδικός προσφοράς εγγραφής |
| `invitation_code` | `string` | όχι | ; Κωδικός πρόσκλησης |

Πεδία αντικειμένου

```json
{
  "email": "PLACEHOLDER_EMAIL (string)",
  "password": "PLACEHOLDER_PASSWORD (string)",
  "verify_code": "PLACEHOLDER_VERIFY_CODE (string)",
  "turnstile_token": "PLACEHOLDER_TURNSTILE_TOKEN (string)",
  "promo_code": "PLACEHOLDER_PROMO_CODE (string)",
  "invitation_code": "PLACEHOLDER_INVITATION_CODE (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#resetpasswordrequest)ResetPasswordRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `email` | `string` | ναι | required,email |
| `token` | `string` | ναι | required |
| `new_password` | `string` | ναι | required,min=6 |

Πεδία αντικειμένου

```json
{
  "email": "PLACEHOLDER_EMAIL (string)",
  "token": "PLACEHOLDER_TOKEN (string)",
  "new_password": "PLACEHOLDER_NEW_PASSWORD (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#resetpasswordresponse)ResetPasswordResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `message` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "message": "PLACEHOLDER_MESSAGE (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#revokeallsessionsresponse)RevokeAllSessionsResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `message` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "message": "PLACEHOLDER_MESSAGE (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#sendverifycoderequest)SendVerifyCodeRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `email` | `string` | ναι | required,email |
| `turnstile_token` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "email": "PLACEHOLDER_EMAIL (string)",
  "turnstile_token": "PLACEHOLDER_TURNSTILE_TOKEN (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#sendverifycoderesponse)SendVerifyCodeResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `message` | `string` | όχι |  |
| `countdown` | `integer` | όχι | ; Χρόνος αναμονής σε δευτερόλεπτα |

Πεδία αντικειμένου

```json
{
  "message": "PLACEHOLDER_MESSAGE (string)",
  "countdown": "PLACEHOLDER_COUNTDOWN (integer)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#totploginresponse)TotpLoginResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `requires_2fa` | `boolean` | όχι |  |
| `temp_token` | `string` | όχι |  |
| `user_email_masked` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "requires_2fa": "PLACEHOLDER_REQUIRES_2FA (boolean)",
  "temp_token": "PLACEHOLDER_TEMP_TOKEN (string)",
  "user_email_masked": "PLACEHOLDER_USER_EMAIL_MASKED (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#totpstatusresponse)TotpStatusResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `enabled` | `boolean` | όχι |  |
| `enabled_at` | `integer` | όχι | ; Χρονική σήμανση Unix· μπορεί να είναι null |
| `feature_enabled` | `boolean` | όχι |  |

Πεδία αντικειμένου

```json
{
  "enabled": "PLACEHOLDER_ENABLED (boolean)",
  "enabled_at": "PLACEHOLDER_ENABLED_AT (integer)",
  "feature_enabled": "PLACEHOLDER_FEATURE_ENABLED (boolean)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#updateapikeyrequest)UpdateAPIKeyRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `name` | `string` | όχι |  |
| `status` | `string` | όχι | omitempty,oneof=active inactive |
| `ip_whitelist` | `array` · `items: string` | όχι | ; Επιτρεπόμενες IP: το null δεν αλλάζει τη λίστα, ο κενός πίνακας την καθαρίζει· μπορεί να είναι null |
| `ip_blacklist` | `array` · `items: string` | όχι | ; Αποκλεισμένες IP: το null δεν αλλάζει τη λίστα, ο κενός πίνακας την καθαρίζει· μπορεί να είναι null |
| `quota` | `number` | όχι | ; Όριο δαπανών κλειδιού σε USD· 0 — χωρίς όριο· μπορεί να είναι null |
| `expires_at` | `string` | όχι | ; Χρόνος λήξης σε μορφή ISO 8601· μπορεί να είναι null |
| `reset_quota` | `boolean` | όχι | ; Μηδενισμός του χρησιμοποιημένου ποσού του ορίου δαπανών· μπορεί να είναι null |
| `rate_limit_5h` | `number` | όχι | ; μπορεί να είναι null |
| `rate_limit_1d` | `number` | όχι | ; μπορεί να είναι null |
| `rate_limit_7d` | `number` | όχι | ; μπορεί να είναι null |
| `reset_rate_limit_usage` | `boolean` | όχι | ; Μηδενισμός της χρήσης των ορίων ανά χρονικό παράθυρο· μπορεί να είναι null |

Πεδία αντικειμένου

```json
{
  "name": "PLACEHOLDER_NAME (string)",
  "status": "PLACEHOLDER_STATUS (string)",
  "ip_whitelist": "PLACEHOLDER_IP_WHITELIST (array)",
  "ip_blacklist": "PLACEHOLDER_IP_BLACKLIST (array)",
  "quota": "PLACEHOLDER_QUOTA (number)",
  "expires_at": "PLACEHOLDER_EXPIRES_AT (string)",
  "reset_quota": "PLACEHOLDER_RESET_QUOTA (boolean)",
  "rate_limit_5h": "PLACEHOLDER_RATE_LIMIT_5H (number)",
  "rate_limit_1d": "PLACEHOLDER_RATE_LIMIT_1D (number)",
  "rate_limit_7d": "PLACEHOLDER_RATE_LIMIT_7D (number)",
  "reset_rate_limit_usage": "PLACEHOLDER_RESET_RATE_LIMIT_USAGE (boolean)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#updateprofilerequest)UpdateProfileRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `username` | `string` | όχι | ; μπορεί να είναι null |
| `avatar_url` | `string` | όχι | ; μπορεί να είναι null |
| `balance_notify_enabled` | `boolean` | όχι | ; μπορεί να είναι null |
| `balance_notify_threshold` | `number` | όχι | ; μπορεί να είναι null |

Πεδία αντικειμένου

```json
{
  "username": "PLACEHOLDER_USERNAME (string)",
  "avatar_url": "PLACEHOLDER_AVATAR_URL (string)",
  "balance_notify_enabled": "PLACEHOLDER_BALANCE_NOTIFY_ENABLED (boolean)",
  "balance_notify_threshold": "PLACEHOLDER_BALANCE_NOTIFY_THRESHOLD (number)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#usagelog)UsageLog

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `id` | `integer` | όχι |  |
| `user_id` | `integer` | όχι |  |
| `api_key_id` | `integer` | όχι |  |
| `request_id` | `string` | όχι |  |
| `model` | `string` | όχι |  |
| `service_tier` | `string` | όχι | ; μπορεί να είναι null |
| `reasoning_effort` | `string` | όχι | ; μπορεί να είναι null |
| `input_tokens` | `integer` | όχι |  |
| `output_tokens` | `integer` | όχι |  |
| `cache_creation_tokens` | `integer` | όχι |  |
| `cache_read_tokens` | `integer` | όχι |  |
| `cache_creation_5m_tokens` | `integer` | όχι |  |
| `cache_creation_1h_tokens` | `integer` | όχι |  |
| `input_cost` | `number` | όχι |  |
| `output_cost` | `number` | όχι |  |
| `cache_creation_cost` | `number` | όχι |  |
| `cache_read_cost` | `number` | όχι |  |
| `total_cost` | `number` | όχι |  |
| `actual_cost` | `number` | όχι |  |
| `long_context_billing_applied` | `boolean` | όχι |  |
| `request_type` | `string` | όχι |  |
| `stream` | `boolean` | όχι |  |
| `duration_ms` | `integer` | όχι | ; μπορεί να είναι null |
| `first_token_ms` | `integer` | όχι | ; μπορεί να είναι null |
| `image_count` | `integer` | όχι |  |
| `image_size` | `string` | όχι | ; μπορεί να είναι null |
| `image_input_size` | `string` | όχι | ; μπορεί να είναι null |
| `image_output_size` | `string` | όχι | ; μπορεί να είναι null |
| `image_input_tokens` | `integer` | όχι |  |
| `image_input_cost` | `number` | όχι |  |
| `image_output_tokens` | `integer` | όχι |  |
| `image_output_cost` | `number` | όχι |  |
| `image_size_breakdown` | `object` · `additionalProperties: integer` | όχι |  |
| `media_type` | `string` | όχι | ; μπορεί να είναι null |
| `ip_address` | `string` | όχι | ; μπορεί να είναι null |
| `session_id` | `string` | όχι | ; μπορεί να είναι null |
| `created_at` | `string` | όχι |  |
| `user` | object · [User](https://ailoot.ai/docs/el/cabinet/schemas-1/#user) | όχι | ; μπορεί να είναι null |
| `api_key` | object · [APIKey](https://ailoot.ai/docs/el/cabinet/schemas-1/#apikey) | όχι | ; μπορεί να είναι null |

Πεδία αντικειμένου

```json
{
  "id": "PLACEHOLDER_ID (integer)",
  "user_id": "PLACEHOLDER_USER_ID (integer)",
  "api_key_id": "PLACEHOLDER_API_KEY_ID (integer)",
  "request_id": "PLACEHOLDER_REQUEST_ID (string)",
  "model": "PLACEHOLDER_MODEL (string)",
  "service_tier": "PLACEHOLDER_SERVICE_TIER (string)",
  "reasoning_effort": "PLACEHOLDER_REASONING_EFFORT (string)",
  "input_tokens": "PLACEHOLDER_INPUT_TOKENS (integer)",
  "output_tokens": "PLACEHOLDER_OUTPUT_TOKENS (integer)",
  "cache_creation_tokens": "PLACEHOLDER_CACHE_CREATION_TOKENS (integer)",
  "cache_read_tokens": "PLACEHOLDER_CACHE_READ_TOKENS (integer)",
  "cache_creation_5m_tokens": "PLACEHOLDER_CACHE_CREATION_5M_TOKENS (integer)",
  "cache_creation_1h_tokens": "PLACEHOLDER_CACHE_CREATION_1H_TOKENS (integer)",
  "input_cost": "PLACEHOLDER_INPUT_COST (number)",
  "output_cost": "PLACEHOLDER_OUTPUT_COST (number)",
  "cache_creation_cost": "PLACEHOLDER_CACHE_CREATION_COST (number)",
  "cache_read_cost": "PLACEHOLDER_CACHE_READ_COST (number)",
  "total_cost": "PLACEHOLDER_TOTAL_COST (number)",
  "actual_cost": "PLACEHOLDER_ACTUAL_COST (number)",
  "long_context_billing_applied": "PLACEHOLDER_LONG_CONTEXT_BILLING_APPLIED (boolean)",
  "request_type": "PLACEHOLDER_REQUEST_TYPE (string)",
  "stream": "PLACEHOLDER_STREAM (boolean)",
  "duration_ms": "PLACEHOLDER_DURATION_MS (integer)",
  "first_token_ms": "PLACEHOLDER_FIRST_TOKEN_MS (integer)",
  "image_count": "PLACEHOLDER_IMAGE_COUNT (integer)",
  "image_size": "PLACEHOLDER_IMAGE_SIZE (string)",
  "image_input_size": "PLACEHOLDER_IMAGE_INPUT_SIZE (string)",
  "image_output_size": "PLACEHOLDER_IMAGE_OUTPUT_SIZE (string)",
  "image_input_tokens": "PLACEHOLDER_IMAGE_INPUT_TOKENS (integer)",
  "image_input_cost": "PLACEHOLDER_IMAGE_INPUT_COST (number)",
  "image_output_tokens": "PLACEHOLDER_IMAGE_OUTPUT_TOKENS (integer)",
  "image_output_cost": "PLACEHOLDER_IMAGE_OUTPUT_COST (number)",
  "image_size_breakdown": "PLACEHOLDER_IMAGE_SIZE_BREAKDOWN (object)",
  "media_type": "PLACEHOLDER_MEDIA_TYPE (string)",
  "ip_address": "PLACEHOLDER_IP_ADDRESS (string)",
  "session_id": "PLACEHOLDER_SESSION_ID (string)",
  "created_at": "PLACEHOLDER_CREATED_AT (string)",
  "user": "PLACEHOLDER_USER (object)",
  "api_key": "PLACEHOLDER_API_KEY (object)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#usagestats)UsageStats

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `total_requests` | `integer` | όχι |  |
| `total_input_tokens` | `integer` | όχι |  |
| `total_output_tokens` | `integer` | όχι |  |
| `total_cache_tokens` | `integer` | όχι |  |
| `total_cache_creation_tokens` | `integer` | όχι |  |
| `total_cache_read_tokens` | `integer` | όχι |  |
| `total_tokens` | `integer` | όχι |  |
| `total_cost` | `number` | όχι |  |
| `total_actual_cost` | `number` | όχι |  |
| `average_duration_ms` | `number` | όχι |  |
| `endpoints` | `array` · `items: EndpointStat` · [EndpointStat](https://ailoot.ai/docs/el/cabinet/schemas-1/#endpointstat) | όχι |  |

Πεδία αντικειμένου

```json
{
  "total_requests": "PLACEHOLDER_TOTAL_REQUESTS (integer)",
  "total_input_tokens": "PLACEHOLDER_TOTAL_INPUT_TOKENS (integer)",
  "total_output_tokens": "PLACEHOLDER_TOTAL_OUTPUT_TOKENS (integer)",
  "total_cache_tokens": "PLACEHOLDER_TOTAL_CACHE_TOKENS (integer)",
  "total_cache_creation_tokens": "PLACEHOLDER_TOTAL_CACHE_CREATION_TOKENS (integer)",
  "total_cache_read_tokens": "PLACEHOLDER_TOTAL_CACHE_READ_TOKENS (integer)",
  "total_tokens": "PLACEHOLDER_TOTAL_TOKENS (integer)",
  "total_cost": "PLACEHOLDER_TOTAL_COST (number)",
  "total_actual_cost": "PLACEHOLDER_TOTAL_ACTUAL_COST (number)",
  "average_duration_ms": "PLACEHOLDER_AVERAGE_DURATION_MS (number)",
  "endpoints": "PLACEHOLDER_ENDPOINTS (array)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#user)User

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `id` | `integer` | όχι |  |
| `email` | `string` | όχι |  |
| `username` | `string` | όχι |  |
| `role` | `string` | όχι |  |
| `balance` | `number` | όχι |  |
| `frozen_balance` | `number` | όχι |  |
| `concurrency` | `integer` | όχι |  |
| `status` | `string` | όχι |  |
| `last_active_at` | `string` | όχι | ; μπορεί να είναι null |
| `created_at` | `string` | όχι |  |
| `updated_at` | `string` | όχι |  |
| `deleted_at` | `string` | όχι | ; μπορεί να είναι null |
| `balance_notify_enabled` | `boolean` | όχι |  |
| `balance_notify_threshold_type` | `string` | όχι |  |
| `balance_notify_threshold` | `number` | όχι | ; μπορεί να είναι null |
| `balance_notify_extra_emails` | `array` · `items: NotifyEmailEntry` · [NotifyEmailEntry](https://ailoot.ai/docs/el/cabinet/schemas-1/#notifyemailentry) | όχι |  |
| `total_recharged` | `number` | όχι |  |
| `rpm_limit` | `integer` | όχι |  |
| `api_keys` | `array` · `items: APIKey` · [APIKey](https://ailoot.ai/docs/el/cabinet/schemas-1/#apikey) | όχι |  |

Πεδία αντικειμένου

```json
{
  "id": "PLACEHOLDER_ID (integer)",
  "email": "PLACEHOLDER_EMAIL (string)",
  "username": "PLACEHOLDER_USERNAME (string)",
  "role": "PLACEHOLDER_ROLE (string)",
  "balance": "PLACEHOLDER_BALANCE (number)",
  "frozen_balance": "PLACEHOLDER_FROZEN_BALANCE (number)",
  "concurrency": "PLACEHOLDER_CONCURRENCY (integer)",
  "status": "PLACEHOLDER_STATUS (string)",
  "last_active_at": "PLACEHOLDER_LAST_ACTIVE_AT (string)",
  "created_at": "PLACEHOLDER_CREATED_AT (string)",
  "updated_at": "PLACEHOLDER_UPDATED_AT (string)",
  "deleted_at": "PLACEHOLDER_DELETED_AT (string)",
  "balance_notify_enabled": "PLACEHOLDER_BALANCE_NOTIFY_ENABLED (boolean)",
  "balance_notify_threshold_type": "PLACEHOLDER_BALANCE_NOTIFY_THRESHOLD_TYPE (string)",
  "balance_notify_threshold": "PLACEHOLDER_BALANCE_NOTIFY_THRESHOLD (number)",
  "balance_notify_extra_emails": "PLACEHOLDER_BALANCE_NOTIFY_EXTRA_EMAILS (array)",
  "total_recharged": "PLACEHOLDER_TOTAL_RECHARGED (number)",
  "rpm_limit": "PLACEHOLDER_RPM_LIMIT (integer)",
  "api_keys": "PLACEHOLDER_API_KEYS (array)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#userannouncement)UserAnnouncement

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `id` | `integer` | όχι |  |
| `title` | `string` | όχι |  |
| `content` | `string` | όχι |  |
| `notify_mode` | `string` | όχι |  |
| `starts_at` | `string` | όχι | ; μπορεί να είναι null |
| `ends_at` | `string` | όχι | ; μπορεί να είναι null |
| `read_at` | `string` | όχι | ; μπορεί να είναι null |
| `created_at` | `string` | όχι |  |
| `updated_at` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "id": "PLACEHOLDER_ID (integer)",
  "title": "PLACEHOLDER_TITLE (string)",
  "content": "PLACEHOLDER_CONTENT (string)",
  "notify_mode": "PLACEHOLDER_NOTIFY_MODE (string)",
  "starts_at": "PLACEHOLDER_STARTS_AT (string)",
  "ends_at": "PLACEHOLDER_ENDS_AT (string)",
  "read_at": "PLACEHOLDER_READ_AT (string)",
  "created_at": "PLACEHOLDER_CREATED_AT (string)",
  "updated_at": "PLACEHOLDER_UPDATED_AT (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#userdashboardstats)UserDashboardStats

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `total_api_keys` | `integer` | όχι |  |
| `active_api_keys` | `integer` | όχι |  |
| `total_requests` | `integer` | όχι |  |
| `total_input_tokens` | `integer` | όχι |  |
| `total_output_tokens` | `integer` | όχι |  |
| `total_cache_creation_tokens` | `integer` | όχι |  |
| `total_cache_read_tokens` | `integer` | όχι |  |
| `total_tokens` | `integer` | όχι |  |
| `total_cost` | `number` | όχι | ; Συνολικό κόστος στην κανονική τιμή |
| `total_actual_cost` | `number` | όχι | ; Συνολική πραγματική χρέωση |
| `today_requests` | `integer` | όχι |  |
| `today_input_tokens` | `integer` | όχι |  |
| `today_output_tokens` | `integer` | όχι |  |
| `today_cache_creation_tokens` | `integer` | όχι |  |
| `today_cache_read_tokens` | `integer` | όχι |  |
| `today_tokens` | `integer` | όχι |  |
| `today_cost` | `number` | όχι | ; Σημερινό κόστος στην κανονική τιμή |
| `today_actual_cost` | `number` | όχι | ; Πραγματική χρέωση για σήμερα |
| `average_duration_ms` | `number` | όχι |  |
| `rpm` | `integer` | όχι | ; Μέσος αριθμός αιτημάτων ανά λεπτό κατά τα τελευταία 5 λεπτά |
| `tpm` | `integer` | όχι | ; Μέσος αριθμός token ανά λεπτό κατά τα τελευταία 5 λεπτά |

Πεδία αντικειμένου

```json
{
  "total_api_keys": "PLACEHOLDER_TOTAL_API_KEYS (integer)",
  "active_api_keys": "PLACEHOLDER_ACTIVE_API_KEYS (integer)",
  "total_requests": "PLACEHOLDER_TOTAL_REQUESTS (integer)",
  "total_input_tokens": "PLACEHOLDER_TOTAL_INPUT_TOKENS (integer)",
  "total_output_tokens": "PLACEHOLDER_TOTAL_OUTPUT_TOKENS (integer)",
  "total_cache_creation_tokens": "PLACEHOLDER_TOTAL_CACHE_CREATION_TOKENS (integer)",
  "total_cache_read_tokens": "PLACEHOLDER_TOTAL_CACHE_READ_TOKENS (integer)",
  "total_tokens": "PLACEHOLDER_TOTAL_TOKENS (integer)",
  "total_cost": "PLACEHOLDER_TOTAL_COST (number)",
  "total_actual_cost": "PLACEHOLDER_TOTAL_ACTUAL_COST (number)",
  "today_requests": "PLACEHOLDER_TODAY_REQUESTS (integer)",
  "today_input_tokens": "PLACEHOLDER_TODAY_INPUT_TOKENS (integer)",
  "today_output_tokens": "PLACEHOLDER_TODAY_OUTPUT_TOKENS (integer)",
  "today_cache_creation_tokens": "PLACEHOLDER_TODAY_CACHE_CREATION_TOKENS (integer)",
  "today_cache_read_tokens": "PLACEHOLDER_TODAY_CACHE_READ_TOKENS (integer)",
  "today_tokens": "PLACEHOLDER_TODAY_TOKENS (integer)",
  "today_cost": "PLACEHOLDER_TODAY_COST (number)",
  "today_actual_cost": "PLACEHOLDER_TODAY_ACTUAL_COST (number)",
  "average_duration_ms": "PLACEHOLDER_AVERAGE_DURATION_MS (number)",
  "rpm": "PLACEHOLDER_RPM (integer)",
  "tpm": "PLACEHOLDER_TPM (integer)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#userprofileresponse)UserProfileResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `id` | `integer` | όχι |  |
| `email` | `string` | όχι |  |
| `username` | `string` | όχι |  |
| `role` | `string` | όχι |  |
| `balance` | `number` | όχι |  |
| `frozen_balance` | `number` | όχι |  |
| `concurrency` | `integer` | όχι |  |
| `status` | `string` | όχι |  |
| `last_active_at` | `string` | όχι | ; μπορεί να είναι null |
| `created_at` | `string` | όχι |  |
| `updated_at` | `string` | όχι |  |
| `deleted_at` | `string` | όχι | ; μπορεί να είναι null |
| `balance_notify_enabled` | `boolean` | όχι |  |
| `balance_notify_threshold_type` | `string` | όχι |  |
| `balance_notify_threshold` | `number` | όχι | ; μπορεί να είναι null |
| `balance_notify_extra_emails` | `array` · `items: NotifyEmailEntry` · [NotifyEmailEntry](https://ailoot.ai/docs/el/cabinet/schemas-1/#notifyemailentry) | όχι |  |
| `total_recharged` | `number` | όχι |  |
| `rpm_limit` | `integer` | όχι |  |
| `api_keys` | `array` · `items: APIKey` · [APIKey](https://ailoot.ai/docs/el/cabinet/schemas-1/#apikey) | όχι |  |
| `avatar_url` | `string` | όχι |  |
| `email_bound` | `boolean` | όχι |  |

Πεδία αντικειμένου

```json
{
  "id": "PLACEHOLDER_ID (integer)",
  "email": "PLACEHOLDER_EMAIL (string)",
  "username": "PLACEHOLDER_USERNAME (string)",
  "role": "PLACEHOLDER_ROLE (string)",
  "balance": "PLACEHOLDER_BALANCE (number)",
  "frozen_balance": "PLACEHOLDER_FROZEN_BALANCE (number)",
  "concurrency": "PLACEHOLDER_CONCURRENCY (integer)",
  "status": "PLACEHOLDER_STATUS (string)",
  "last_active_at": "PLACEHOLDER_LAST_ACTIVE_AT (string)",
  "created_at": "PLACEHOLDER_CREATED_AT (string)",
  "updated_at": "PLACEHOLDER_UPDATED_AT (string)",
  "deleted_at": "PLACEHOLDER_DELETED_AT (string)",
  "balance_notify_enabled": "PLACEHOLDER_BALANCE_NOTIFY_ENABLED (boolean)",
  "balance_notify_threshold_type": "PLACEHOLDER_BALANCE_NOTIFY_THRESHOLD_TYPE (string)",
  "balance_notify_threshold": "PLACEHOLDER_BALANCE_NOTIFY_THRESHOLD (number)",
  "balance_notify_extra_emails": "PLACEHOLDER_BALANCE_NOTIFY_EXTRA_EMAILS (array)",
  "total_recharged": "PLACEHOLDER_TOTAL_RECHARGED (number)",
  "rpm_limit": "PLACEHOLDER_RPM_LIMIT (integer)",
  "api_keys": "PLACEHOLDER_API_KEYS (array)",
  "avatar_url": "PLACEHOLDER_AVATAR_URL (string)",
  "email_bound": "PLACEHOLDER_EMAIL_BOUND (boolean)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#validateinvitationcoderequest)ValidateInvitationCodeRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `code` | `string` | ναι | required |

Πεδία αντικειμένου

```json
{
  "code": "PLACEHOLDER_CODE (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#validateinvitationcoderesponse)ValidateInvitationCodeResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `valid` | `boolean` | όχι |  |
| `error_code` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "valid": "PLACEHOLDER_VALID (boolean)",
  "error_code": "PLACEHOLDER_ERROR_CODE (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#validatepromocoderequest)ValidatePromoCodeRequest

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `code` | `string` | ναι | required |

Πεδία αντικειμένου

```json
{
  "code": "PLACEHOLDER_CODE (string)"
}
```

## [](https://ailoot.ai/docs/el/cabinet/schemas-1/#validatepromocoderesponse)ValidatePromoCodeResponse

| Το πεδίο | Τύπος | Υποχρεωτικό | Έλεγχος / περιγραφή |
| --- | --- | --- | --- |
| `valid` | `boolean` | όχι |  |
| `bonus_amount` | `number` | όχι |  |
| `error_code` | `string` | όχι |  |
| `message` | `string` | όχι |  |

Πεδία αντικειμένου

```json
{
  "valid": "PLACEHOLDER_VALID (boolean)",
  "bonus_amount": "PLACEHOLDER_BONUS_AMOUNT (number)",
  "error_code": "PLACEHOLDER_ERROR_CODE (string)",
  "message": "PLACEHOLDER_MESSAGE (string)"
}
```

## NotifyEmailEntry

```json
{
  "type": "object",
  "properties": {
    "email": {
      "type": "string"
    },
    "disabled": {
      "type": "boolean"
    },
    "verified": {
      "type": "boolean"
    }
  }
}
```

## EndpointStat

```json
{
  "type": "object",
  "properties": {
    "endpoint": {
      "type": "string"
    },
    "requests": {
      "type": "integer"
    },
    "total_tokens": {
      "type": "integer"
    },
    "cost": {
      "type": "number"
    },
    "actual_cost": {
      "type": "number"
    }
  }
}
```

Έχετε ερωτήσεις; Στείλτε μας το Request ID και μια περιγραφή — θα σας βοηθήσουμε να βρείτε την αιτία.[Επικοινωνία με την υποστήριξη](mailto:support@ailoot.ai)

## Ailoot · Η εταιρεία και το χαρτοφυλάκιο έργων της





Η Ailoot στηρίζεται στη συσσωρευμένη λειτουργική εμπειρία, τη μεγάλη πελατειακή βάση, τη σταθερή εξυπηρέτηση και τον συνεχή έλεγχο KPI.





Η εταιρεία και το χαρτοφυλάκιο έργων της: εκατομμύρια πελάτες· μηνιαίες πωλήσεις δισεκατομμυρίων.





Η Ailoot αξιοποιεί αυτή τη λειτουργική εμπειρία για πρόσβαση μέσω API σε λειτουργίες AI στα προϊόντα, τους πράκτορες, τις εφαρμογές και τους αυτοματισμούς των πελατών.
