Kimlik ve Sağlık
Anahtar ve Paket Bilgisi(me)
GET/me
Anahtarın firması, paketi, limitleri ve günlük e-posta bütçesi
Son güncelleme: 21 Eylül 2026 · Sözleşme sürümü 1.0.0
Entegrasyonu doğrulamak için ilk çağrı. Anahtarın kapsamlarını ve paket limitlerini/kullanımını döner.
Servis
| Metot | GET |
| Adres | https://mutabakat.ai/api/v1/me |
| Kapsam | Geçerli bir anahtar yeterlidir |
| Idempotency-Key | Kullanılmaz |
| dry_run | Yok |
Yanıt
200Kimlik bilgisi
| Alan | Tür | Açıklama |
|---|---|---|
| org | object | |
| org.id | string | |
| org.name | string | |
| plan | object | |
| plan.key | string | Paket anahtarı |
| plan.display_name | string | Paket adı |
| plan.valid_until | string | null (date-time) | Paket bitiş tarihi (havaleli pakette cutoff; diğerlerinde dönem sonu) |
| plan.limits | object | |
| plan.limits.monthly_reconciliations | integer | null | null = sınırsız |
| plan.limits.monthly_rows | integer | null | |
| plan.limits.per_upload_rows | integer | null | |
| plan.limits.monthly_campaign_emails | integer | null | |
| plan.limits.max_users | integer | null | |
| plan.limits.retention_days | integer | null | |
| plan.usage | object | |
| plan.usage.reconciliations | integer | |
| plan.usage.rows | integer | |
| plan.usage.campaign_emails | integer | |
| plan.remaining | object | |
| plan.remaining.reconciliations | integer | null | null = sınırsız |
| plan.remaining.campaign_emails | integer | null | |
| plan.cycle | object | |
| plan.cycle.period_start | string | null | |
| plan.cycle.period_end | string | null | |
| api_key | object | |
| api_key.id | string | |
| api_key.name | string | |
| api_key.last4 | string | |
| api_key.scopes | "counterparties:read" | "counterparties:write" | "balance:read" | "balance:write" | "balance:send" | "statements:read" | "statements:write" | "statements:invite" | "statements:delete" | "webhooks:manage"[] | |
| api_key.environment | "live" | "test" | live | test |
| email_budget | object | null | Günlük dış e-posta bütçesi; geçici olarak hesaplanamıyorsa null. |
| request_id | RequestId |
Hata Kodları
Bu uç için dönebilecek HTTP durumları: 400 · 401 · 403 · 429 · 500 · 503. Zarf biçimi ve kod listesi için Hata Kodları sayfasına bakın.
Örnek İstek
curl -X GET https://mutabakat.ai/api/v1/me \
-H "Authorization: Bearer $MAI_API_KEY"