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

# auth/status

> Show the current authenticated CloudX identity for the bearer token. Returns the organization, account, API key, and permission details.



## OpenAPI

````yaml https://provisioning.cloudx.io/api/v1/openapi.yaml get /auth/status
openapi: 3.0.3
info:
  title: CloudX API
  description: >-
    Use the CloudX API to retrieve reporting metrics, inspect auctions, and read
    account configuration.
  version: 1.0.0
servers:
  - url: https://provisioning.cloudx.io/api/v1
security: []
tags:
  - name: Authentication
    description: Validate CloudX API keys and inspect authenticated account details.
  - name: Reporting
    description: >-
      Retrieve CloudX reporting metrics for apps, ad units, bidders, and
      exports.
  - name: Configuration
    description: Read live, draft, and published CloudX account configuration.
  - name: Auction Inspection
    description: Inspect auctions, rounds, bids, and related delivery details.
paths:
  /auth/status:
    get:
      tags:
        - Authentication
      summary: auth/status
      description: >-
        Show the current authenticated CloudX identity for the bearer token.
        Returns the organization, account, API key, and permission details.
      operationId: getAuthStatus
      responses:
        '200':
          description: Authenticated user and session state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthStatusResponse'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    AuthStatusResponse:
      type: object
      required:
        - workos_organization_id
      properties:
        auth_type:
          type: string
          enum:
            - api_key
        email:
          type: string
        workos_user_id:
          type: string
        workos_organization_id:
          type: string
        account_id:
          type: string
        user_id:
          type: string
        session_id:
          type: string
        role:
          type: string
        expires_at:
          type: string
        api_key_id:
          type: string
        api_key_name:
          type: string
        api_key_obfuscated_value:
          type: string
        account_type:
          type: string
        permissions:
          type: array
          items:
            type: string
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Create or manage API keys in [CloudX
        Settings](https://app.cloudx.io/settings/api-keys).
      x-default: YOUR_CLOUDX_API_KEY

````