> ## 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.

# List all projects




## OpenAPI

````yaml openapi.json get /projects
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:
  /projects:
    get:
      summary: |
        List all projects
      operationId: GET:project.list
      parameters:
        - allowEmptyValue: true
          explode: true
          in: header
          name: api_key
          required: true
          schema:
            type: string
          style: simple
        - allowEmptyValue: true
          explode: true
          in: query
          name: page
          schema:
            type: number
          style: form
        - allowEmptyValue: true
          explode: true
          in: query
          name: limit
          schema:
            type: number
          style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  pagination:
                    $ref: '#/components/schemas/project.Pagination'
                  projects:
                    items:
                      $ref: '#/components/schemas/project.Project'
                    type: array
                required:
                  - projects
                  - pagination
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  schemas:
    project.Pagination:
      properties:
        limit:
          type: number
        page:
          type: number
        total:
          type: number
        totalPages:
          type: number
      required:
        - page
        - limit
        - total
        - totalPages
      type: object
    project.Project:
      properties:
        asset_id:
          type: string
        created_at:
          type: string
        exchangeRate:
          type: number
        id:
          type: number
        metadata:
          additionalProperties:
            type: string
          type: object
        name:
          type: string
        owner:
          type: string
        supportExchangeRate:
          type: boolean
        type:
          enum:
            - loyalty
            - virtual
          type: string
        updated_at:
          type: string
      required:
        - id
        - name
        - owner
        - asset_id
        - supportExchangeRate
        - exchangeRate
        - type
        - metadata
        - created_at
        - updated_at
      type: object
  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

````