Skip to main content
GET
/
v1
/
me
Python
from auriko import Client

client = Client()
identity = client.me.get()
print(f"Workspace: {identity.workspace.id}, Profile: {identity.profile}")
{
  "credential_type": "api_key",
  "status": "active",
  "profile": "inference",
  "key_id": "550e8400-e29b-41d4-a716-446655440000",
  "key_prefix": "ak_live_abc1",
  "key_name": "Production inference",
  "workspace": {
    "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
    "name": "Acme Corp"
  },
  "scopes": [
    "inference:invoke"
  ],
  "rate_limits": {
    "inference_rpm": 1000,
    "management_reads_rpm": 120,
    "management_writes_rpm": 30
  },
  "expires_at": null,
  "created_at": "2026-01-15T00:00:00Z"
}
Returns credential introspection for the calling API key: its workspace, granted scopes, capability profile, rate limits, and expiry. The response reflects current state. Any valid active API key can call this endpoint; no scope is required.

Authorizations

Authorization
string
header
required

API key authentication. Keys start with ak_ prefix. Example: Authorization: Bearer ak_live_xxxxxxxxxxxx

Response

API key identity

credential_type
enum<string>
required

The authentication scheme used by the caller.

Available options:
api_key
status
enum<string>
required

Always "active" on success — disabled or expired keys fail authentication with 401 before this response is produced.

Available options:
active
profile
enum<string>
required

Capability class derived server-side from the key's scopes.

Available options:
inference,
management,
mixed
key_id
string<uuid>
required

The API key's resource ID (not a secret).

key_prefix
string
required

The key's display prefix (e.g. "ak_live_abc1").

key_name
string
required

Human-readable key name.

workspace
object
required

The workspace this key is scoped to.

scopes
string[]
required

Granted scopes for fine-grained capability decisions.

rate_limits
object
required
expires_at
string<date-time> | null
required

Key expiry, or null if the key does not expire.

created_at
string<date-time>
required