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

# Get the deployment-managed identity and provisioning status

> Returns non-secret OIDC mode and SCIM configuration metadata. Credential values are never returned.



## OpenAPI

````yaml /openapi/next.yaml get /admin/identity/status
openapi: 3.1.0
info:
  title: Blue — Service Contract
  version: 0.1.0
  description: >
    The client-side contract the `blue` CLI expects from the provisioned
    service. The reference `control-api` implements it; any BYO service that
    honors these shapes can be swapped in. Gateway-mode inference JWT issuance
    is OPTIONAL — governance-only deployments need only `GET
    /governance-config`. CLI callers use OAuth 2.0 access tokens issued through
    RFC 8628 device authorization; dashboard callers use an HTTP-only Better
    Auth session cookie.
servers:
  - url: https://harness.example.com
    description: Replace with the Control API URL for your deployment.
security:
  - oauthDevice: []
tags:
  - name: System
    description: Service health and authenticated identity.
  - name: Configuration
    description: Personalized governance policy and client reconciliation state.
  - name: Gateway
    description: Per-user managed inference-gateway credential lifecycle.
  - name: Sessions
    description: Raw-session upload, metadata, and download lifecycle.
  - name: Administration
    description: Organization-administrator policy and client operations.
  - name: User management
    description: >-
      Organization user lifecycle, session revocation, and invitation
      operations.
  - name: Identity provisioning
    description: SCIM 2.0 user and group provisioning for an external identity provider.
paths:
  /admin/identity/status:
    get:
      tags:
        - User management
      summary: Get the deployment-managed identity and provisioning status
      description: >-
        Returns non-secret OIDC mode and SCIM configuration metadata. Credential
        values are never returned.
      operationId: getAdminIdentityStatus
      responses:
        '200':
          description: Managed identity status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentityStatusResponse'
        '403':
          description: Administrator role required
      security:
        - oauthDevice: []
        - dashboardSession: []
components:
  schemas:
    IdentityStatusResponse:
      type: object
      required:
        - auth_mode
        - scim
      properties:
        auth_mode:
          type: string
          enum:
            - password
            - oidc
        scim:
          type: object
          required:
            - configured
            - group_role_mappings
          properties:
            configured:
              type: boolean
              description: True when a SCIM bearer credential is configured.
            group_role_mappings:
              type: object
              description: Exact SCIM group names mapped to governance roles.
              additionalProperties:
                $ref: '#/components/schemas/GovernanceRole'
    GovernanceRole:
      type: string
      enum:
        - admin
        - member
  securitySchemes:
    oauthDevice:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >
        OAuth 2.0 access token obtained through RFC 8628 at
        /api/auth/device/code and /api/auth/oauth2/token. The API enforces
        governance:read, session:write, and client-status:write as appropriate.
    dashboardSession:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: HTTP-only Better Auth dashboard session cookie.

````