> ## Documentation Index
> Fetch the complete documentation index at: https://www.edenai.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Inspect the calling management key

> Returns the organization, scopes and expiry of the management key used to authenticate the request. Any valid management key can call this endpoint, which makes it a convenient connectivity check. The key's secret is never returned.



## OpenAPI

````yaml https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/whoami/
openapi: 3.0.3
info:
  title: Organization Management
  version: '2.0'
  description: Your project description
servers:
  - url: https://api.edenai.run
security: []
paths:
  /v3/manage/whoami/:
    get:
      tags:
        - Management Keys
      summary: Inspect the calling management key
      description: >-
        Returns the organization, scopes and expiry of the management key used
        to authenticate the request. Any valid management key can call this
        endpoint, which makes it a convenient connectivity check. The key's
        secret is never returned.
      operationId: manage_whoami_retrieve
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagementKeyIdentity'
          description: ''
      security:
        - ManagementKeyAuth: []
components:
  schemas:
    ManagementKeyIdentity:
      type: object
      properties:
        organization_id:
          type: integer
        organization_name:
          type: string
        key_id:
          type: string
          format: uuid
        name:
          type: string
        scopes:
          type: array
          items:
            type: string
        expires_at:
          type: string
          format: date-time
          nullable: true
      required:
        - expires_at
        - key_id
        - name
        - organization_id
        - organization_name
        - scopes
  securitySchemes:
    ManagementKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: >-
        A management key (created from the organization dashboard or with `POST
        /v3/manage/auth-keys`), sent as `Authorization: Bearer
        <management_key>`. Inference API keys (`sk-eden...`) are not accepted on
        these endpoints.

````