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

# Get an Asset

> Get a specific asset by ID with optional reference expansion



## OpenAPI

````yaml /api/openapi.yaml get /v1/assets/{assetTypeName}/{assetId}
openapi: 3.0.3
info:
  title: Documentation Service API
  description: API documentation for Documentation Service
  version: 1.0.0
servers:
  - url: https://api.us.lexful.app
    description: US pod
security:
  - bearerAuth: []
    accountId: []
paths:
  /v1/assets/{assetTypeName}/{assetId}:
    get:
      tags:
        - Assets
      summary: Get an Asset
      description: Get a specific asset by ID with optional reference expansion
      parameters:
        - schema:
            type: string
          in: query
          name: expand
          required: false
          description: >-
            Comma-separated list of fields to expand (e.g., "tags",
            "references", "references.referenceName")
        - schema:
            type: boolean
          in: query
          name: include_deleted
          required: false
          description: 'Include soft-deleted (default: false)'
        - schema:
            type: string
          in: path
          name: assetTypeName
          required: true
          description: Asset type name
        - schema:
            type: string
            format: uuid
          in: path
          name: assetId
          required: true
          description: Asset ID
      responses:
        '200':
          $ref: '#/components/responses/GetAssetResponse'
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '403':
          $ref: '#/components/responses/ForbiddenResponse'
        '404':
          $ref: '#/components/responses/NotFoundResponse'
        '500':
          $ref: '#/components/responses/InternalServerErrorResponse'
components:
  responses:
    GetAssetResponse:
      description: >-
        Asset with dynamic properties from asset type definition spread at root
        level
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/GetAssetResponse_application_json'
          example:
            id: 019983a9-c4c0-73af-aec9-463feeadc2e7
            organization_id: 019983a9-c4bf-77da-a35b-5eb177b7b859
            organization_name: Acme Corporation
            visibility: inherit
            owned_by: 019983a9-c4c0-73af-aec9-463feeadc2e7
            name: John Doe
            first_name: John
            last_name: Doe
            title: CTO
            important: true
            contact_type: Decision Maker
            contact_methods:
              - type: Email
                value: john.doe@example.com
              - type: Mobile
                value: +1-555-0123
            preferred_contact_method: Email
            references:
              location: 019983a9-c4c1-7abc-def0-123456789abc
            created_at: '2024-01-15T10:30:00.000Z'
            updated_at: '2024-01-20T14:45:00.000Z'
            created_by: 019983a9-c4c0-73af-aec9-463feeadc2e7
            updated_by: 019983a9-c4c0-73af-aec9-463feeadc2e7
    BadRequestResponse:
      description: Bad request - validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ForbiddenResponse:
      description: Forbidden - insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFoundResponse:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalServerErrorResponse:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    GetAssetResponse_application_json:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Asset unique identifier
        organization_id:
          type: string
          format: uuid
          description: Organization ID
        organization_name:
          type: string
          description: Organization name
        visibility:
          type: string
          enum:
            - inherit
            - private
            - restricted
          description: Asset visibility setting
        owned_by:
          type: string
          format: uuid
          description: User ID of asset owner
        tags:
          type: array
          description: Expanded tags (only present when expand=tags is used)
          items:
            $ref: '#/components/schemas/GetAssetResponse_application_json_tags_items'
        references:
          type: object
          additionalProperties: true
          description: Asset references (IDs or expanded assets)
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        deleted_at:
          type: string
          nullable: true
          format: date-time
          description: Deletion timestamp
        created_by:
          type: string
          description: User ID who created
        updated_by:
          type: string
          description: User ID who last updated
      additionalProperties: true
      description: >-
        Asset with dynamic properties from asset type definition spread at root
        level
    ErrorResponse:
      description: Bad request - validation error
      type: object
      properties:
        status:
          type: number
          description: HTTP status code
        message:
          type: string
          description: Error message
        error_id:
          type: string
          description: Unique error identifier
        error_code:
          type: string
          description: Error code
        developer_message:
          type: string
          description: Additional details for developers
    GetAssetResponse_application_json_tags_items:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Tag ID
        name:
          type: string
          description: Tag name
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token
    accountId:
      type: apiKey
      in: header
      name: X-Account-ID
      description: Account ID

````