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

# Seznam atributů

> Paginovaný seznam položek slovníku atributů společnosti.



## OpenAPI

````yaml openapi.yaml GET /attributes
openapi: 3.1.0
info:
  title: Lasso API
  description: AI-powered product data extraction and enhancement API
  version: 1.0.0
  contact:
    name: Lasso Support
    url: https://lasso.ai
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://app.productlasso.com/api/v1
    description: Production
security:
  - BearerAuth: []
paths:
  /attributes:
    get:
      tags:
        - Attributes
      summary: List canonical Attributes
      description: >-
        Returns active Attributes by default, ordered and searched by key. Set
        `include_archived=true` to include archived definitions.
      operationId: listAttributes
      parameters:
        - $ref: '#/components/parameters/PageParam'
        - $ref: '#/components/parameters/LimitParam'
        - name: search
          in: query
          schema:
            type: string
          description: Case-insensitive substring search on the Attribute key only.
        - name: type
          in: query
          schema:
            $ref: '#/components/schemas/AttributeType'
        - name: include_archived
          in: query
          schema:
            type: string
            enum:
              - 'true'
          description: >-
            Use the literal string `true` to include archived Attributes. Any
            other value keeps the active-only default.
      responses:
        '200':
          description: Paginated Attribute list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttributeListResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  parameters:
    PageParam:
      name: page
      in: query
      schema:
        type: integer
        default: 1
        minimum: 1
    LimitParam:
      name: limit
      in: query
      schema:
        type: integer
        default: 25
        minimum: 1
        maximum: 100
  schemas:
    AttributeType:
      type: string
      enum:
        - text
        - number
        - url
        - email
        - date
        - boolean
        - richtext
        - format
        - enum
        - tags
        - image
        - images
        - file
        - files
        - json
        - relation
    AttributeListResponse:
      type: object
      required:
        - data
        - pagination
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Attribute'
        pagination:
          $ref: '#/components/schemas/Pagination'
    Attribute:
      type: object
      additionalProperties: false
      required:
        - id
        - key
        - label
        - type
        - format_output_type
        - enum_values
        - tags_values
        - allow_custom_values
        - boolean_config
        - number_config
        - relation_config
        - description
        - validation
        - language
        - image_config
        - status
        - archived_at
        - is_reviewed
        - source_id
        - external_id
        - source_synced_at
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        key:
          type: string
        label:
          type: string
        type:
          $ref: '#/components/schemas/AttributeType'
        format_output_type:
          oneOf:
            - $ref: '#/components/schemas/FormatOutputType'
            - type: 'null'
          type:
            - string
            - 'null'
          description: >-
            Declared output type for format Attributes; null for all other
            Attribute types.
        enum_values:
          type:
            - array
            - 'null'
          items:
            type: string
        tags_values:
          type:
            - array
            - 'null'
          items:
            type: string
        allow_custom_values:
          type: boolean
          description: Whether table editors may append missing enum or tag choices.
        boolean_config:
          type:
            - object
            - 'null'
          additionalProperties: true
        number_config:
          oneOf:
            - $ref: '#/components/schemas/NumberConfig'
            - type: 'null'
          type:
            - object
            - 'null'
          description: >-
            Present only as metadata; Attribute values returned by APIs remain
            raw numbers.
        relation_config:
          type:
            - object
            - 'null'
          additionalProperties: true
        description:
          type:
            - string
            - 'null'
        validation:
          type:
            - object
            - 'null'
          additionalProperties: true
        language:
          type:
            - string
            - 'null'
        image_config:
          oneOf:
            - $ref: '#/components/schemas/ImageConfig'
            - type: 'null'
          type:
            - object
            - 'null'
        status:
          type: string
          enum:
            - active
            - archived
          description: >-
            Derived from archive state. Archive and restore remain
            Dashboard-only.
        archived_at:
          type:
            - string
            - 'null'
          format: date-time
        is_reviewed:
          type: boolean
        source_id:
          type:
            - string
            - 'null'
          format: uuid
        external_id:
          type:
            - string
            - 'null'
        source_synced_at:
          type:
            - string
            - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      examples:
        - id: 11111111-1111-4111-8111-111111111111
          key: product_name
          label: Product name
          type: text
          format_output_type: null
          enum_values: null
          tags_values: null
          allow_custom_values: true
          boolean_config: null
          number_config: null
          relation_config: null
          description: Public product title
          validation: null
          language: en
          image_config: null
          status: active
          archived_at: null
          is_reviewed: true
          source_id: null
          external_id: null
          source_synced_at: null
          created_at: '2026-07-01T00:00:00.000Z'
          updated_at: '2026-07-14T10:00:00.000Z'
    Pagination:
      type: object
      required:
        - page
        - limit
        - total
      properties:
        page:
          type: integer
        limit:
          type: integer
        total:
          type: integer
    Error:
      type: object
      required:
        - status_code
        - error_type
        - message
        - request_id
      properties:
        status_code:
          type: integer
        error_type:
          type: string
          enum:
            - invalid_request
            - unauthenticated
            - forbidden
            - not_found
            - conflict
            - validation_error
            - rate_limited
            - service_unavailable
            - internal_error
        message:
          type: string
        request_id:
          type: string
        code:
          type: string
          description: >-
            Stable machine-readable detail code for validation, conflict, and
            retryable availability errors.
        retryable:
          type: boolean
          description: Whether the request can be retried without changing its payload.
        attribute_id:
          type: string
          format: uuid
          description: Stable Attribute identity when the error is scoped to one Attribute.
        attribute_key:
          type: string
          description: Attribute key when the error is scoped to one Attribute.
        details:
          type: object
          additionalProperties: true
        current_updated_at:
          type: string
          format: date-time
          description: >-
            Current resource revision supplied for client-directed refetch after
            a stale write.
    FormatOutputType:
      type: string
      enum:
        - text
        - number
        - boolean
        - json
        - richtext
        - file
        - image
      description: >-
        The stored result type produced by a format Attribute. Format formulas
        execute only in Extraction; Catalog stores the resulting value.
    NumberConfig:
      type: object
      additionalProperties: false
      description: >-
        Presentation metadata for number and Formula-number Attributes. Stored
        and API values remain numeric.
      properties:
        unit:
          type: string
          minLength: 1
          maxLength: 64
          description: Literal, untranslated unit.
        unit_position:
          type: string
          enum:
            - before
            - after
          default: after
        format_style:
          type: string
          enum:
            - dot_plain
            - comma_plain
            - dot_with_comma_grouping
            - comma_with_dot_grouping
            - dot_with_space_grouping
            - comma_with_space_grouping
        file_export:
          type: string
          enum:
            - raw
            - formatted_text
          default: raw
          description: >-
            Applies to CSV/XLSX file exports, including files requested through
            export endpoints. JSON and non-file API or integration values remain
            raw.
    ImageConfig:
      type: object
      additionalProperties: false
      description: Canonical requirements shared by every usage of an image Attribute.
      properties:
        format:
          type: string
          enum:
            - original
            - webp
            - jpeg
            - png
        required_aspect_ratio:
          type: string
          enum:
            - original
            - '1:1'
            - '1:4'
            - '1:8'
            - '2:3'
            - '3:2'
            - '3:4'
            - '4:1'
            - '4:3'
            - '4:5'
            - '5:4'
            - '8:1'
            - '9:16'
            - '16:9'
            - '21:9'
        required_background_color:
          type: string
          enum:
            - white
            - black
          description: Omit to accept any background and preserve existing image behavior.
        max_size_mb:
          type: number
          minimum: 0
        min_width:
          type: number
          minimum: 0
        min_height:
          type: number
          minimum: 0
        max_width:
          type: number
          minimum: 0
        max_height:
          type: number
          minimum: 0
  responses:
    Unauthorized:
      description: Authentication error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.