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

# Get asset

> Retrieve basic information about an asset

Look up an asset by ID: name, type, owner, folder, and schedules. This endpoint does not return secrets (for example connection passwords or credentials).


## OpenAPI

````yaml api-reference/openapi.json GET /api/public/v1/assets/{assetId}
openapi: 3.0.0
info:
  title: Less Public API
  version: 1.0.0
  description: >-
    Integrator-facing JSON API. All paths are under `/api/public/v1` and match
    the route handlers in the Less webapp (`apps/webapp/src/app/api/public/v1`).
    Authenticate with `Authorization: Bearer <api-token>`.
servers:
  - url: https://{BaseURL}
    variables:
      BaseURL:
        default: app.less.tech
        description: >-
          Your workspace host (hostname only, no scheme or path). Defaults to
          app.less.tech; replace with your workspace host if different.
security:
  - bearerAuth: []
paths:
  /api/public/v1/assets/{assetId}:
    get:
      tags:
        - Assets
      summary: Get asset
      description: >-
        Returns a curated view of a single asset. The `assetId` is the first
        path segment after `/assets/` for all asset-scoped routes (list is the
        only exception). Connection credentials and other secrets are never
        included. Models include `details.tablePrefix`; orchestrations include
        `details.computeProfile`. Use `GET .../model` for the full published
        version (same shape as `GET .../model/versions/{versionId}`).
      parameters:
        - name: assetId
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: UUID of the asset.
      responses:
        '200':
          description: Asset found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicGetAssetSuccess'
        '400':
          description: Invalid `assetId` (not a UUID).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorBody'
        '401':
          description: Missing or invalid bearer token.
        '404':
          description: Asset not found or not accessible for this token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorBody'
        '500':
          description: Unexpected error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorBody'
components:
  schemas:
    PublicGetAssetSuccess:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/PublicAsset'
      required:
        - data
    PublicApiErrorBody:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
      required:
        - error
    PublicAsset:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type: string
          nullable: true
        type:
          type: string
          description: Human-readable asset type from the product (e.g. Model, Source).
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        owner:
          $ref: '#/components/schemas/PublicAssetOwner'
        parentFolder:
          $ref: '#/components/schemas/PublicAssetFolder'
          description: Folder containing this asset, if any.
          nullable: true
        schedules:
          type: array
          items:
            $ref: '#/components/schemas/PublicAssetSchedule'
        details:
          $ref: '#/components/schemas/PublicAssetDetails'
          description: Extra fields for certain kinds (e.g. table prefix for models).
      required:
        - id
        - name
        - description
        - type
        - createdAt
        - updatedAt
        - owner
        - parentFolder
        - schedules
    PublicAssetOwner:
      type: object
      properties:
        id:
          type: string
          format: uuid
          nullable: true
          description: Owner user id.
        displayName:
          type: string
          nullable: true
          description: Display name of the user who owns the asset.
        email:
          type: string
          nullable: true
          description: Owner email when available.
      required:
        - id
        - displayName
        - email
    PublicAssetFolder:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
      required:
        - id
        - name
    PublicAssetSchedule:
      type: object
      properties:
        cronExpression:
          type: string
          description: Cron expression for scheduled runs.
        timezone:
          type: string
          description: Timezone for the schedule.
        nextRunAt:
          type: string
          nullable: true
          description: ISO 8601 timestamp of the next scheduled run, if known.
      required:
        - cronExpression
        - timezone
        - nextRunAt
    PublicAssetDetails:
      type: object
      properties:
        tablePrefix:
          type: string
          nullable: true
          description: Saved table prefix for models.
        computeProfile:
          type: string
          nullable: true
          description: Compute size label for orchestrations.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````