Skip to main content
GET
Introspect the authenticated key, its organization, and credits
Gibt { organization, api_key, credits } für den präsentierten Key zurück — die Organisations-id und den Namen, die sicheren Metadaten des Keys (id, Name, Prefix, Scopes, Ablaufdatum — niemals das Secret) und den verfügbaren Credit-Stand der Organisation. Das ist der schnellste Weg, um zu bestätigen, dass ein Key funktioniert. GET /me erfordert irgendeinen gültigen Key und keinen spezifischen Scope.

Autorisierungen

Authorization
string
header
erforderlich

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

Antwort

Successful Response

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

organization
OrganizationInfo · object
erforderlich

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

api_key
ApiKeyInfo · object
erforderlich

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

credits
CreditsInfo · object
erforderlich

The organization's currently available credit balance.