# List earn asset configurations

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/earn/configs:
    get:
      summary: List earn asset configurations
      deprecated: false
      description: ''
      operationId: getConfigs
      tags:
        - REST API/Endpoints/Earn
        - Earn
      parameters:
        - name: assetId
          in: query
          description: ''
          required: false
          example: b86c034b-efe3-11eb-b56f-0691764446a7
          schema:
            type: string
            format: uuid
        - name: type
          in: query
          description: ''
          required: false
          example: FLEXIBLE
          schema:
            type: string
        - name: mode
          in: query
          description: ''
          required: false
          example: STAKING_EARN
          schema:
            type: string
        - name: cursor
          in: query
          description: ''
          required: false
          example: b86c034b-efe3-11eb-b56f-0691764446a7
          schema:
            type: string
        - name: page_size
          in: query
          description: ''
          required: false
          example: 20
          schema:
            type: integer
            format: int32
            default: 20
      responses:
        '200':
          description: Asset configs retrieved successfully
          content:
            '*/*':
              schema:
                properties:
                  data:
                    type: array
                    items:
                      properties:
                        id:
                          type: string
                          format: uuid
                        assetId:
                          type: string
                          format: uuid
                        annualPercentageRate:
                          type: number
                        type:
                          type: string
                        mode:
                          type: string
                        enabled:
                          type: boolean
                        soldout:
                          type: boolean
                      x-apidog-orders:
                        - id
                        - assetId
                        - annualPercentageRate
                        - type
                        - mode
                        - enabled
                        - soldout
                      type: object
                  selfCursor:
                    type: string
                  nextCursor:
                    type: string
                  hasNextPage:
                    type: boolean
                x-apidog-orders:
                  - data
                  - selfCursor
                  - nextCursor
                  - hasNextPage
                type: object
          headers: {}
          x-apidog-name: OK
        '400':
          description: Invalid query parameters
          content:
            '*/*':
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                    x-apidog-orders:
                      - code
                x-apidog-orders:
                  - error
          headers: {}
          x-apidog-name: ''
        '500':
          description: Internal server error
          content:
            '*/*':
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                    x-apidog-orders:
                      - code
                x-apidog-orders:
                  - error
          headers: {}
          x-apidog-name: ''
      security:
        - x-api-key: []
          x-apidog:
            schemeGroups:
              - id: xVoqgt-BxvN24tj6KAniR
                schemeIds:
                  - x-api-key
            required: true
            use:
              id: xVoqgt-BxvN24tj6KAniR
            scopes:
              xVoqgt-BxvN24tj6KAniR:
                x-api-key: []
      x-apidog-folder: REST API/Endpoints/Earn
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/365298/apis/api-4375766-run
components:
  schemas: {}
  securitySchemes:
    x-api-key:
      type: apikey
      name: x-api-key
      in: header
servers:
  - url: https://api.public.bitpanda.com
    description: Production
security: []

```