> ## 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 Lambda build logs (API Key)



## OpenAPI

````yaml get /api/lambda-builds/{id}/logs
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/lambda-builds/{id}/logs:
    get:
      tags:
        - builds-sdk
      summary: Get Lambda build logs (API Key)
      operationId: LambdaBuildsApiKeyController_getLambdaBuildLogs
      parameters:
        - name: id
          required: true
          in: path
          description: Lambda Build ID
          schema:
            type: string
        - name: nextToken
          required: false
          in: query
          description: Pagination token
          schema:
            type: string
      responses:
        '200':
          description: Lambda build logs retrieved
        '404':
          description: Lambda build not found
        '409':
          description: Logs not available yet
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: Enter your LeanMCP API key

````