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

# Get user plan




## OpenAPI

````yaml openapi.json get /user/plan
openapi: 3.0.0
info:
  description: Generated by encore
  title: API for ledger-api-vq7i
  version: '1'
  x-logo:
    altText: Encore logo
    backgroundColor: '#EEEEE1'
    url: https://encore.dev/assets/branding/logo/logo-black.png
servers:
  - description: Encore local dev environment
    url: http://localhost:4000
  - description: ' local dev environment'
    url: https://staging-ledger-api-vq7i.encr.app
security: []
paths:
  /user/plan:
    get:
      summary: |
        Get user plan
      operationId: GET:project.getUserPlanDetails
      parameters:
        - allowEmptyValue: true
          explode: true
          in: header
          name: api_key
          required: true
          schema:
            type: string
          style: simple
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  advanced_analytics:
                    type: boolean
                  api_calls_per_day:
                    type: number
                  assets_per_project:
                    type: number
                  custom_branding:
                    type: boolean
                  customer_wallets:
                    type: number
                  plan_code:
                    type: string
                  priority_support:
                    type: boolean
                  projects:
                    type: number
                  subscription_code:
                    type: string
                  subscription_status:
                    type: string
                  system_wallets:
                    type: number
                  user_id:
                    type: string
                required:
                  - user_id
                  - subscription_status
                  - subscription_code
                  - plan_code
                  - projects
                  - assets_per_project
                  - customer_wallets
                  - system_wallets
                  - api_calls_per_day
                  - custom_branding
                  - priority_support
                  - advanced_analytics
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response

````