API panelu użytkownika
Schematy danych Kopiuj stronę Markdown
Pola i typy obiektów API panelu użytkownika.
APIKey Pełny przewodnik
Pola obiektów API panelu użytkownika i ich typy. omitempty oznacza, że pole może być nieobecne w odpowiedzi; nie uprawnia to do wysłania null. Ciągi PLACEHOLDER oznaczają typ, a nie rzeczywistą odpowiedź.
APIKeyPole Typ Wymagane Walidacja / opis idintegernie user_idintegernie keystringnie namestringnie statusstringnie ip_whitelistarray · items: stringnie ip_blacklistarray · items: stringnie last_used_atstringnie ; może być null last_used_ipstringnie ; może być null quotanumbernie ; Limit wydatków klucza w USD; 0 — bez limitu quota_usednumbernie ; Wykorzystana część limitu klucza, USD expires_atstringnie ; Okres ważności; null — bezterminowo; może być null created_atstringnie updated_atstringnie current_concurrencyintegernie rate_limit_5hnumbernie rate_limit_1dnumbernie rate_limit_7dnumbernie usage_5hnumbernie usage_1dnumbernie usage_7dnumbernie window_5h_startstringnie ; może być null window_1d_startstringnie ; może być null window_7d_startstringnie ; może być null reset_5h_atstringnie ; może być null reset_1d_atstringnie ; może być null reset_7d_atstringnie ; może być null userobject · User nie ; może być null
{
"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)"
} APIKeyDailyUsagePointPole Typ Wymagane Walidacja / opis datestringnie requestsintegernie input_tokensintegernie output_tokensintegernie cache_read_tokensintegernie cache_write_tokensintegernie total_tokensintegernie costnumbernie ; Koszt według standardowej ceny actual_costnumbernie ; Rzeczywiste obciążenie
{
"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)"
} AuthResponsePole Typ Wymagane Walidacja / opis access_tokenstringnie refresh_tokenstringnie ; Token odświeżania sesji expires_inintegernie ; Okres ważności tokena dostępu w sekundach token_typestringnie userobject · User nie ; może być null
{
"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)"
} BatchAPIKeysUsageRequestPole Typ Wymagane Walidacja / opis api_key_idsarray · items: integer (int64)tak required
{
"api_key_ids": "PLACEHOLDER_API_KEY_IDS (array)"
} BatchAPIKeyUsageStatsPole Typ Wymagane Walidacja / opis api_key_idintegernie today_actual_costnumbernie total_actual_costnumbernie
{
"api_key_id": "PLACEHOLDER_API_KEY_ID (integer)",
"today_actual_cost": "PLACEHOLDER_TODAY_ACTUAL_COST (number)",
"total_actual_cost": "PLACEHOLDER_TOTAL_ACTUAL_COST (number)"
} ChangePasswordRequestPole Typ Wymagane Walidacja / opis old_passwordstringtak required new_passwordstringtak required,min=6
{
"old_password": "PLACEHOLDER_OLD_PASSWORD (string)",
"new_password": "PLACEHOLDER_NEW_PASSWORD (string)"
} CreateAPIKeyRequestPole Typ Wymagane Walidacja / opis namestringtak required custom_keystringnie ; Opcjonalna własna wartość klucza; może być null ip_whitelistarray · items: stringnie ; Lista dozwolonych IP ip_blacklistarray · items: stringnie ; Lista zabronionych IP quotanumbernie ; Limit wydatków klucza w USD; może być null expires_in_daysintegernie ; Okres ważności w dniach; może być null rate_limit_5hnumbernie ; może być null rate_limit_1dnumbernie ; może być null rate_limit_7dnumbernie ; może być null
{
"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)"
} ForgotPasswordRequestPole Typ Wymagane Walidacja / opis emailstringtak required,email turnstile_tokenstringnie
{
"email": "PLACEHOLDER_EMAIL (string)",
"turnstile_token": "PLACEHOLDER_TURNSTILE_TOKEN (string)"
} ForgotPasswordResponsePole Typ Wymagane Walidacja / opis messagestringnie
{
"message": "PLACEHOLDER_MESSAGE (string)"
} Login2FARequestPole Typ Wymagane Walidacja / opis temp_tokenstringtak required totp_codestringtak required,len=6
{
"temp_token": "PLACEHOLDER_TEMP_TOKEN (string)",
"totp_code": "PLACEHOLDER_TOTP_CODE (string)"
} LoginRequestPole Typ Wymagane Walidacja / opis emailstringtak required,email passwordstringtak required turnstile_tokenstringnie
{
"email": "PLACEHOLDER_EMAIL (string)",
"password": "PLACEHOLDER_PASSWORD (string)",
"turnstile_token": "PLACEHOLDER_TURNSTILE_TOKEN (string)"
} LogoutRequestPole Typ Wymagane Walidacja / opis refresh_tokenstringnie ; Opcjonalnie: unieważnij wskazany token odświeżania
{
"refresh_token": "PLACEHOLDER_REFRESH_TOKEN (string)"
} LogoutResponsePole Typ Wymagane Walidacja / opis messagestringnie
{
"message": "PLACEHOLDER_MESSAGE (string)"
} PasskeyBeginLoginRequestPole Typ Wymagane Walidacja / opis turnstile_tokenstringnie
{
"turnstile_token": "PLACEHOLDER_TURNSTILE_TOKEN (string)"
} PasskeyCredentialSummaryPole Typ Wymagane Walidacja / opis idintegernie namestringnie created_atstringnie last_used_atstringnie ; może być null backupbooleannie
{
"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)"
} PasskeyFinishRequestPole Typ Wymagane Walidacja / opis session_tokenstringtak required namestringnie credentialobject · WebAuthn PublicKeyCredential JSONtak required
{
"session_token": "PLACEHOLDER_SESSION_TOKEN (string)",
"name": "PLACEHOLDER_NAME (string)",
"credential": "PLACEHOLDER_CREDENTIAL (object)"
} PasskeyOptionsResponsePole Typ Wymagane Walidacja / opis session_tokenstringnie optionsanynie
{
"session_token": "PLACEHOLDER_SESSION_TOKEN (string)",
"options": "PLACEHOLDER_OPTIONS (any)"
} RedeemCodePole Typ Wymagane Walidacja / opis idintegernie codestringnie typestringnie valuenumbernie statusstringnie used_byintegernie ; może być null used_atstringnie ; może być null created_atstringnie expires_atstringnie ; może być null validity_daysintegernie notesstringnie ; może być null userobject · User nie ; może być null
{
"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)"
} RedeemRequestPole Typ Wymagane Walidacja / opis codestringtak required
{
"code": "PLACEHOLDER_CODE (string)"
} RefreshTokenRequestPole Typ Wymagane Walidacja / opis refresh_tokenstringtak required
{
"refresh_token": "PLACEHOLDER_REFRESH_TOKEN (string)"
} RefreshTokenResponsePole Typ Wymagane Walidacja / opis access_tokenstringnie refresh_tokenstringnie expires_inintegernie ; Okres ważności tokena dostępu w sekundach token_typestringnie
{
"access_token": "PLACEHOLDER_ACCESS_TOKEN (string)",
"refresh_token": "PLACEHOLDER_REFRESH_TOKEN (string)",
"expires_in": "PLACEHOLDER_EXPIRES_IN (integer)",
"token_type": "PLACEHOLDER_TOKEN_TYPE (string)"
} RegisterRequestPole Typ Wymagane Walidacja / opis emailstringtak required,email passwordstringtak required,min=6 verify_codestringnie turnstile_tokenstringnie promo_codestringnie ; Kod promocyjny rejestracji invitation_codestringnie ; Kod zaproszenia
{
"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)"
} ResetPasswordRequestPole Typ Wymagane Walidacja / opis emailstringtak required,email tokenstringtak required new_passwordstringtak required,min=6
{
"email": "PLACEHOLDER_EMAIL (string)",
"token": "PLACEHOLDER_TOKEN (string)",
"new_password": "PLACEHOLDER_NEW_PASSWORD (string)"
} ResetPasswordResponsePole Typ Wymagane Walidacja / opis messagestringnie
{
"message": "PLACEHOLDER_MESSAGE (string)"
} RevokeAllSessionsResponsePole Typ Wymagane Walidacja / opis messagestringnie
{
"message": "PLACEHOLDER_MESSAGE (string)"
} SendVerifyCodeRequestPole Typ Wymagane Walidacja / opis emailstringtak required,email turnstile_tokenstringnie
{
"email": "PLACEHOLDER_EMAIL (string)",
"turnstile_token": "PLACEHOLDER_TURNSTILE_TOKEN (string)"
} SendVerifyCodeResponsePole Typ Wymagane Walidacja / opis messagestringnie countdownintegernie ; Czas oczekiwania w sekundach
{
"message": "PLACEHOLDER_MESSAGE (string)",
"countdown": "PLACEHOLDER_COUNTDOWN (integer)"
} TotpLoginResponsePole Typ Wymagane Walidacja / opis requires_2fabooleannie temp_tokenstringnie user_email_maskedstringnie
{
"requires_2fa": "PLACEHOLDER_REQUIRES_2FA (boolean)",
"temp_token": "PLACEHOLDER_TEMP_TOKEN (string)",
"user_email_masked": "PLACEHOLDER_USER_EMAIL_MASKED (string)"
} TotpStatusResponsePole Typ Wymagane Walidacja / opis enabledbooleannie enabled_atintegernie ; Znacznik czasu Unix; może mieć wartość null feature_enabledbooleannie
{
"enabled": "PLACEHOLDER_ENABLED (boolean)",
"enabled_at": "PLACEHOLDER_ENABLED_AT (integer)",
"feature_enabled": "PLACEHOLDER_FEATURE_ENABLED (boolean)"
} UpdateAPIKeyRequestPole Typ Wymagane Walidacja / opis namestringnie statusstringnie omitempty,oneof=active inactive ip_whitelistarray · items: stringnie ; Dozwolone IP: null nie zmienia listy, pusta tablica ją czyści; może być null ip_blacklistarray · items: stringnie ; Zabronione IP: null nie zmienia listy, pusta tablica ją czyści; może być null quotanumbernie ; Limit wydatków klucza w USD; 0 — bez limitu; może być null expires_atstringnie ; Czas wygaśnięcia w formacie ISO 8601; może być null reset_quotabooleannie ; Zresetować wykorzystaną część limitu wydatków; może być null rate_limit_5hnumbernie ; może być null rate_limit_1dnumbernie ; może być null rate_limit_7dnumbernie ; może być null reset_rate_limit_usagebooleannie ; Zresetować wykorzystanie limitów w oknach czasowych; może być null
{
"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)"
} UpdateProfileRequestPole Typ Wymagane Walidacja / opis usernamestringnie ; może być null avatar_urlstringnie ; może być null balance_notify_enabledbooleannie ; może być null balance_notify_thresholdnumbernie ; może być null
{
"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)"
} UsageLogPole Typ Wymagane Walidacja / opis idintegernie user_idintegernie api_key_idintegernie request_idstringnie modelstringnie service_tierstringnie ; może być null reasoning_effortstringnie ; może być null input_tokensintegernie output_tokensintegernie cache_creation_tokensintegernie cache_read_tokensintegernie cache_creation_5m_tokensintegernie cache_creation_1h_tokensintegernie input_costnumbernie output_costnumbernie cache_creation_costnumbernie cache_read_costnumbernie total_costnumbernie actual_costnumbernie long_context_billing_appliedbooleannie request_typestringnie streambooleannie duration_msintegernie ; może być null first_token_msintegernie ; może być null image_countintegernie image_sizestringnie ; może być null image_input_sizestringnie ; może być null image_output_sizestringnie ; może być null image_input_tokensintegernie image_input_costnumbernie image_output_tokensintegernie image_output_costnumbernie image_size_breakdownobject · additionalProperties: integernie media_typestringnie ; może być null ip_addressstringnie ; może być null session_idstringnie ; może być null created_atstringnie userobject · User nie ; może być null api_keyobject · APIKey nie ; może być null
{
"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)"
} UsageStatsPole Typ Wymagane Walidacja / opis total_requestsintegernie total_input_tokensintegernie total_output_tokensintegernie total_cache_tokensintegernie total_cache_creation_tokensintegernie total_cache_read_tokensintegernie total_tokensintegernie total_costnumbernie total_actual_costnumbernie average_duration_msnumbernie endpointsarray · items: EndpointStat · EndpointStat nie
{
"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)"
} UserPole Typ Wymagane Walidacja / opis idintegernie emailstringnie usernamestringnie rolestringnie balancenumbernie frozen_balancenumbernie concurrencyintegernie statusstringnie last_active_atstringnie ; może być null created_atstringnie updated_atstringnie deleted_atstringnie ; może być null balance_notify_enabledbooleannie balance_notify_threshold_typestringnie balance_notify_thresholdnumbernie ; może być null balance_notify_extra_emailsarray · items: NotifyEmailEntry · NotifyEmailEntry nie total_rechargednumbernie rpm_limitintegernie api_keysarray · items: APIKey · APIKey nie
{
"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)"
} UserAnnouncementPole Typ Wymagane Walidacja / opis idintegernie titlestringnie contentstringnie notify_modestringnie starts_atstringnie ; może być null ends_atstringnie ; może być null read_atstringnie ; może być null created_atstringnie updated_atstringnie
{
"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)"
} UserDashboardStatsPole Typ Wymagane Walidacja / opis total_api_keysintegernie active_api_keysintegernie total_requestsintegernie total_input_tokensintegernie total_output_tokensintegernie total_cache_creation_tokensintegernie total_cache_read_tokensintegernie total_tokensintegernie total_costnumbernie ; Łączny koszt według standardowej ceny total_actual_costnumbernie ; Łączna kwota faktycznie pobrana today_requestsintegernie today_input_tokensintegernie today_output_tokensintegernie today_cache_creation_tokensintegernie today_cache_read_tokensintegernie today_tokensintegernie today_costnumbernie ; Dzisiejszy koszt według standardowej ceny today_actual_costnumbernie ; Kwota faktycznie pobrana dzisiaj average_duration_msnumbernie rpmintegernie ; Średnia liczba żądań na minutę w ciągu ostatnich 5 minut tpmintegernie ; Średnia liczba tokenów na minutę w ciągu ostatnich 5 minut
{
"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)"
} UserProfileResponsePole Typ Wymagane Walidacja / opis idintegernie emailstringnie usernamestringnie rolestringnie balancenumbernie frozen_balancenumbernie concurrencyintegernie statusstringnie last_active_atstringnie ; może być null created_atstringnie updated_atstringnie deleted_atstringnie ; może być null balance_notify_enabledbooleannie balance_notify_threshold_typestringnie balance_notify_thresholdnumbernie ; może być null balance_notify_extra_emailsarray · items: NotifyEmailEntry · NotifyEmailEntry nie total_rechargednumbernie rpm_limitintegernie api_keysarray · items: APIKey · APIKey nie avatar_urlstringnie email_boundbooleannie
{
"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)"
} ValidateInvitationCodeRequestPole Typ Wymagane Walidacja / opis codestringtak required
{
"code": "PLACEHOLDER_CODE (string)"
} ValidateInvitationCodeResponsePole Typ Wymagane Walidacja / opis validbooleannie error_codestringnie
{
"valid": "PLACEHOLDER_VALID (boolean)",
"error_code": "PLACEHOLDER_ERROR_CODE (string)"
}Pole Typ Wymagane Walidacja / opis codestringtak required
{
"code": "PLACEHOLDER_CODE (string)"
}Pole Typ Wymagane Walidacja / opis validbooleannie bonus_amountnumbernie error_codestringnie messagestringnie
{
"valid": "PLACEHOLDER_VALID (boolean)",
"bonus_amount": "PLACEHOLDER_BONUS_AMOUNT (number)",
"error_code": "PLACEHOLDER_ERROR_CODE (string)",
"message": "PLACEHOLDER_MESSAGE (string)"
}
NotifyEmailEntry {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"disabled": {
"type": "boolean"
},
"verified": {
"type": "boolean"
}
}
}EndpointStat {
"type": "object",
"properties": {
"endpoint": {
"type": "string"
},
"requests": {
"type": "integer"
},
"total_tokens": {
"type": "integer"
},
"cost": {
"type": "number"
},
"actual_cost": {
"type": "number"
}
}
}Dodatkowe pytania? Prześlij Request ID i opis — pomożemy wyjaśnić sprawę. Napisz do wsparcia