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

# Read a release's full build log

> Returns the full captured build log for one target of a release: the complete transcript from inside the sandbox (source fetch, uv install resolution, ComfyUI boot), served inline for troubleshooting. Defaults to the failed target when the build failed, else the first target; os and gpu select a specific target. Empty log until a build has been captured.




## OpenAPI

````yaml /openapi-builder.yaml get /v1/releases/{id}/logs
openapi: 3.0.3
info:
  title: Comfy Builder API
  version: 0.1.0
  description: >
    Builder owns builds (editable environment definitions) and cuts immutable,
    deployable releases that Deploy later runs.
servers:
  - url: https://platformapi.comfy.org/builder
    description: Comfy Developer Platform
security:
  - BearerAuth: []
  - ApiKeyAuth: []
paths:
  /v1/releases/{id}/logs:
    get:
      summary: Read a release's full build log
      description: >
        Returns the full captured build log for one target of a release: the
        complete transcript from inside the sandbox (source fetch, uv install
        resolution, ComfyUI boot), served inline for troubleshooting. Defaults
        to the failed target when the build failed, else the first target; os
        and gpu select a specific target. Empty log until a build has been
        captured.
      operationId: getReleaseLogs
      parameters:
        - $ref: '#/components/parameters/PathID'
        - name: os
          in: query
          required: false
          schema:
            type: string
            enum:
              - linux
              - windows
              - mac
        - name: gpu
          in: query
          required: false
          schema:
            type: string
            enum:
              - nvidia
              - amd
              - cpu
              - mps
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildLogContent'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    PathID:
      name: id
      in: path
      required: true
      schema:
        type: string
  schemas:
    BuildLogContent:
      type: object
      required:
        - releaseId
        - log
        - truncated
      properties:
        releaseId:
          type: string
        os:
          type: string
          description: >-
            The target OS of the served log; absent when no target has been
            built yet.
          enum:
            - linux
            - windows
            - mac
        gpu:
          type: string
          description: >-
            The target GPU of the served log; absent when no target has been
            built yet.
          enum:
            - nvidia
            - amd
            - cpu
            - mps
        log:
          type: string
          description: >-
            The full captured build log for the target; empty if none was
            captured yet.
        truncated:
          type: boolean
          description: >-
            True when the stored log was capped (head and tail kept, middle
            dropped).
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Machine-readable error code.
        message:
          type: string
          description: Human-readable detail.
  responses:
    NotFound:
      description: Not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >
        A workspace-scoped Cloud JWT. A missing or invalid token is 401
        UNAUTHORIZED in the Error body.
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >
        A workspace API key, sent alone. The service checks it on every request
        and acts as the key's user in the key's workspace. A request carrying a
        key and a Bearer token is 400 INVALID_REQUEST, and a value that is not a
        key's shape is 401 UNAUTHORIZED. A refused key answers 401
        (UNAUTHORIZED), 403 (FORBIDDEN), 404 (NOT_FOUND) or 429 (RATE_LIMITED)
        with its message and Retry-After; a 503 (SERVICE_UNAVAILABLE) means the
        key could not be checked right now, so retry. Each refusal answers the
        Error body.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.