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

# Get all projects for user via API key

> Get all projects for the user associated with the API key. Requires BUILD_AND_DEPLOY scope.



## OpenAPI

````yaml get /api/projects
openapi: 3.0.0
info:
  title: LeanMCP SDK API
  description: >-
    API endpoints for LeanMCP SDK integration. These endpoints use API key
    authentication and are designed for programmatic access from the CLI and
    SDK.
  version: 1.0.0
servers:
  - url: https://api.leanmcp.com
    description: Production
  - url: http://localhost:3001
    description: Local Development
security: []
tags:
  - name: builds-sdk
  - name: chat-messages-api-key
  - name: chats-api-key
  - name: deployments-api-key
  - name: deployments-sdk
  - name: mapping-sdk
  - name: projects-api-key
paths:
  /api/projects:
    get:
      tags:
        - projects-api-key
      summary: Get all projects for user via API key
      description: >-
        Get all projects for the user associated with the API key. Requires
        BUILD_AND_DEPLOY scope.
      operationId: ProjectsApiKeyController_getProjects
      parameters: []
      responses:
        '200':
          description: Projects retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Project'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Project:
      type: object
      properties: {}
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Enter your LeanMCP API key

````