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

# Get status of an entitlement

> Retrieves detailed status information for a specific entitlement



## OpenAPI

````yaml specs/entitlements_api_docs.json get /api/v1/sub-entitlement/{subscriptionId}/{entitlementCode}/status
openapi: 3.1.0
info:
  title: Entitlement API
  version: 1.0.0
  description: API for managing entitlements and plan entitlement quotas.
servers:
  - url: https://dev-entitlements-api.iqraa.ai/api/v1
    description: Production server
security: []
tags: []
paths:
  /api/v1/sub-entitlement/{subscriptionId}/{entitlementCode}/status:
    get:
      tags:
        - Subscription Entitlements
      summary: Get status of an entitlement
      description: Retrieves detailed status information for a specific entitlement
      operationId: SubEntitlementController_getStatus
      parameters:
        - name: x-admin-api-key
          in: header
          description: The API key to access the admin API
          required: true
          schema:
            type: string
        - name: subscriptionId
          required: true
          in: path
          description: ID of the subscription
          schema:
            type: string
        - name: entitlementCode
          required: true
          in: path
          description: Code of the entitlement
          schema:
            type: string
      responses:
        '200':
          description: Successfully retrieved entitlement status
          content:
            application/json:
              schema:
                type: object
                properties:
                  usage:
                    type: number
                  quota:
                    type: number
                  isUnlimited:
                    type: boolean
                  remainingQuota:
                    type: number
                  percentageUsed:
                    type: number
                  isEntitled:
                    type: boolean
        '401':
          description: Unauthorized - Missing or invalid admin API key
        '404':
          description: Not Found - Entitlement or subscription not found

````