Skip to main content
GET
Introspect the authenticated key, its organization, and credits
Restituisce { organization, api_key, credits } per la chiave presentata — l’id e il nome dell’organizzazione, i metadati sicuri della chiave (id, name, prefix, scopes, scadenza — mai il segreto) e il saldo dei credits disponibili dell’organizzazione. Questo è il modo più rapido per confermare che una chiave funzioni. GET /me richiede qualsiasi chiave valida e nessuno scope specifico.

Autorizzazioni

Authorization
string
header
obbligatorio

Organization API key as a bearer token: Authorization: Bearer samsa_sk_....

Risposta

Successful Response

GET /me body — the quickstart smoke response (ADR §10, scope item 5).

organization
OrganizationInfo · object
obbligatorio

The key's organization (the billing / rate-limit identity, ADR §3.1).

api_key
ApiKeyInfo · object
obbligatorio

The presented key's safe, re-displayable metadata (never secrets).

credits
CreditsInfo · object
obbligatorio

The organization's currently available credit balance.