> ## 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 custom-node frontend files for one built target

> Returns what an editor must load for this release's node packs to draw their widgets: the /extensions paths the release's ComfyUI listed at build time (its own core extensions excluded, since every editor ships those) and a short-lived download link to a gzipped tar holding every file of every pack web directory, laid out as extensions/<name>/<file> exactly as ComfyUI serves them, with manifest.json as the first entry. os and gpu select a target; the default is the first ready one, ordered by os, gpu and accel variant. 404 when no ready target matches, or when the target picked has no captured archive, even if another ready target has one (pass os and gpu to ask for that one). The tenant guard is the whole authorization model: a release in another workspace is a 404, not a 403.




## OpenAPI

````yaml /openapi-builder.yaml get /v1/releases/{id}/extensions
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}/extensions:
    get:
      summary: Read a release's custom-node frontend files for one built target
      description: >
        Returns what an editor must load for this release's node packs to draw
        their widgets: the /extensions paths the release's ComfyUI listed at
        build time (its own core extensions excluded, since every editor ships
        those) and a short-lived download link to a gzipped tar holding every
        file of every pack web directory, laid out as extensions/<name>/<file>
        exactly as ComfyUI serves them, with manifest.json as the first entry.
        os and gpu select a target; the default is the first ready one, ordered
        by os, gpu and accel variant. 404 when no ready target matches, or when
        the target picked has no captured archive, even if another ready target
        has one (pass os and gpu to ask for that one). The tenant guard is the
        whole authorization model: a release in another workspace is a 404, not
        a 403.
      operationId: getReleaseExtensions
      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/ReleaseExtensions'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    PathID:
      name: id
      in: path
      required: true
      schema:
        type: string
  schemas:
    ReleaseExtensions:
      type: object
      description: >
        A release's custom-node frontend files for one built target: the
        /extensions paths to load and where to fetch the files from.
      required:
        - files
        - archiveUrl
        - expiresAt
      properties:
        files:
          type: array
          description: >
            The "/extensions/<name>/<path>.js" paths ComfyUI listed for the
            release's packs, grouped by pack in pack-name order (each pack's
            paths in the order ComfyUI listed them), with <name> re-escaped by
            Go's url.PathEscape, which leaves $ & + : = @ as they are where
            ComfyUI's quote escapes them. These are the paths the archive's
            files sit under. Empty when no pack ships a web directory.
          items:
            type: string
        archiveUrl:
          type: string
          format: uri
          description: >
            Presigned GET for the gzipped tar (manifest.json first, then
            extensions/<name>/<file> for every file of every pack web
            directory). Expires at expiresAt.
        expiresAt:
          type: string
          format: date-time
    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.