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

# List public workspace assets

> Returns assets scoped to the workspace attached to the public API key.



## OpenAPI

````yaml /openapi.yaml get /v1/public/workspaces/{workspace_id}/assets
openapi: 3.0.1
info:
  title: Fetch Hive Public API
  version: v1
  description: Customer-facing Fetch Hive API endpoints for public API keys.
servers:
  - url: https://api.fetchhive.com
security: []
paths:
  /v1/public/workspaces/{workspace_id}/assets:
    parameters:
      - name: workspace_id
        in: path
        required: true
        description: Workspace UUID
        schema:
          type: string
          format: uuid
    get:
      tags:
        - Assets
      summary: List public workspace assets
      description: Returns assets scoped to the workspace attached to the public API key.
      responses:
        '200':
          description: assets returned
          content:
            application/json:
              schema:
                type: object
                properties:
                  assets:
                    type: array
                    items:
                      $ref: '#/components/schemas/asset_object'
                required:
                  - assets
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '404':
          description: workspace not found for API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
      security:
        - bearer_auth: []
components:
  schemas:
    asset_object:
      type: object
      properties:
        id:
          type: string
          format: uuid
        file_name:
          type: string
          example: image.png
        file_url:
          type: string
          example: https://cdn.fetchhive.com/image.png
        file_type:
          type: string
          example: image/png
        file_size:
          type: integer
          example: 204800
        asset_type:
          type: string
          example: image
        workspace_id:
          type: string
          format: uuid
          nullable: true
        uploaded_at:
          type: string
          format: date-time
        error_message:
          type: string
          nullable: true
      required:
        - id
        - file_name
        - file_url
        - asset_type
        - uploaded_at
    error_response:
      type: object
      properties:
        error:
          type: string
          example: Invalid access.
      required:
        - error
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: 'Workspace API key sent as `Authorization: Bearer <api_key>`.'

````