---
search:
  tags:
    - Authentication
    - GET
seo:
  description: >-
    Returns only the caller's own credential: its type, API key id (API keys
    only),… Reference for the GET /api/v2/auth/identity endpoint in the Anlyon
    API.
sidebar:
  label: Inspect the current credential
  badge: GET
title: Inspect the current credential
type: openapi-operation
---
Returns only the caller's own credential: its type, API key id (API keys only), workspace and environment, effective scopes and expiry. Needs no scope beyond being authenticated. Use it at startup to check the application holds the scopes it needs and none it should not. Holding a scope is not proof a call will run: policies, budgets, environment halt and quotas still apply at request time. Never cached.

`GET /api/v2/auth/identity`
