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

# Get asset

> Full metadata for one asset: title, file URL, the complete rights answer, and design-layer signals.



## OpenAPI

````yaml /openapi.json get /v1/asset/{asset_id}
openapi: 3.1.0
info:
  title: Lightdrift API
  version: 0.1.0
  description: >-
    Natural-language image search for agents. Describe what you want — in text,
    with a reference image, or both — and get ranked images back, each with a
    machine-readable rights answer. Retrieval only: no generation, no checkout.
servers:
  - url: https://api.lightdrift.ai
    description: Production
security:
  - apiKey: []
paths:
  /v1/asset/{asset_id}:
    get:
      tags:
        - Assets
      summary: Get asset
      description: >-
        Full metadata for one asset: title, file URL, the complete rights
        answer, and design-layer signals.
      operationId: getAsset
      parameters:
        - name: asset_id
          in: path
          required: true
          schema:
            type: string
          description: '`source:id`, e.g. `inat:41290763`.'
          example: inat:41290763
      responses:
        '200':
          description: The asset.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Result'
        '404':
          description: Asset not found.
components:
  schemas:
    Result:
      type: object
      properties:
        asset_id:
          type: string
        score:
          type: number
        title:
          type: string
        source:
          type: string
        width:
          type: integer
        height:
          type: integer
        file:
          type: string
          description: Tracked URL redirecting to the full-resolution file.
        thumb:
          type: string
        rights:
          $ref: '#/components/schemas/Rights'
    Rights:
      type: object
      properties:
        license:
          type: string
        license_verbatim:
          type: string
        commercial:
          type: boolean
        attribution_required:
          type: boolean
        derivatives:
          type: boolean
        share_alike:
          type: boolean
        attribution:
          type: string
          nullable: true
          description: Ready-to-use attribution string; null when not required.
        provenance_url:
          type: string
        basis:
          type: string
          description: as-declared by source; verify for critical use
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your Lightdrift API key. Usage is metered per query.

````