GET/api/v1/account/keySupabase JWT

API key metadata

Returns the API-key prefix, tier, trial expiration, and payment-warning flag for the signed-in user. The full key plaintext is shown exactly once at first provision; subsequent reads return only the prefix. Pass `?provision=false` for non-burning reads from the dashboard.

Parameters

NameInTypeDescription
provisionquerybooleanWhen false, performs a non-burning read (does not trigger first-provision plaintext reveal). Default: true.

Request

Example response

{
  "data": {
    "user_id": "dca2c107-7a34-4767-aaa9-a81a6d46e830",
    "key_prefix": "si_live_olov",
    "tier": "platform",
    "is_active": true,
    "payment_warning": false,
    "created_at": "2026-04-14T09:42:11Z",
    "trial_expires_at": null,
    "stripe_subscription_id": "sub_1Nj2Q9XXXX"
  },
  "meta": {
    "request_id": "req_8aZpmK4qX0nT",
    "timestamp": "2026-05-20T14:22:08Z",
    "response_time_ms": 12
  }
}