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

# List canonical line items



## OpenAPI

````yaml /openapi.json get /line-items
openapi: 3.0.3
info:
  title: MKK Structured Data API
  version: 0.1.0
  description: >-
    Read-only JSON API for normalized MKK/VYK PDF extraction results, portfolio
    entries, and data-quality review queues.
servers:
  - url: https://mkk.celebi.me/api
security: []
tags:
  - name: System
  - name: Funds
  - name: Sections
  - name: Documents
  - name: Line Items
  - name: Portfolio
  - name: Stocks
  - name: Quality
  - name: Exports
paths:
  /line-items:
    get:
      tags:
        - Line Items
      summary: List canonical line items
      operationId: listLineItems
      parameters:
        - $ref: '#/components/parameters/Kind'
        - $ref: '#/components/parameters/SectionIdQuery'
        - $ref: '#/components/parameters/FundIdQuery'
        - $ref: '#/components/parameters/FundCodeQuery'
        - $ref: '#/components/parameters/Q'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: Paged canonical line-item list.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LineItemsResponse'
components:
  parameters:
    Kind:
      name: kind
      in: query
      required: false
      description: Line item kind.
      schema:
        type: string
        enum:
          - metric
          - text
    SectionIdQuery:
      name: section_id
      in: query
      required: false
      description: Filter by canonical section slug.
      schema:
        type: string
    FundIdQuery:
      name: fund_id
      in: query
      required: false
      description: Filter by fund code.
      schema:
        type: string
    FundCodeQuery:
      name: fund_code
      in: query
      required: false
      description: Filter by fund code.
      schema:
        type: string
    Q:
      name: q
      in: query
      required: false
      description: Text search query.
      schema:
        type: string
    Limit:
      name: limit
      in: query
      required: false
      description: Maximum number of rows to return.
      schema:
        type: integer
        minimum: 1
        maximum: 500
    Offset:
      name: offset
      in: query
      required: false
      description: Number of rows to skip.
      schema:
        type: integer
        minimum: 0
  schemas:
    LineItemsResponse:
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
        line_items:
          type: array
          items:
            $ref: '#/components/schemas/LineItem'
      required:
        - total
        - limit
        - offset
        - line_items
    LineItem:
      type: object
      properties:
        id:
          type: integer
        slug:
          type: string
        name:
          type: string
        sectionId:
          type: string
          nullable: true
        sectionName:
          type: string
          nullable: true
        section:
          type: string
          nullable: true
        unit:
          type: string
          nullable: true
        kind:
          type: string
        value_count:
          type: integer
        fund_count:
          type: integer
        document_count:
          type: integer
        values:
          type: array
          items:
            $ref: '#/components/schemas/LineItemValue'
    LineItemValue:
      type: object
      properties:
        id:
          type: integer
        document_id:
          type: integer
        disclosure_index:
          type: string
          nullable: true
        file_name:
          type: string
          nullable: true
        fund_code:
          type: string
          nullable: true
        fund_title:
          type: string
          nullable: true
        period:
          type: string
          nullable: true
        line_item_id:
          type: integer
        line_item_slug:
          type: string
          nullable: true
        line_item_name:
          type: string
          nullable: true
        sectionId:
          type: string
          nullable: true
        sectionName:
          type: string
          nullable: true
        canonical_section:
          type: string
          nullable: true
        kind:
          type: string
          nullable: true
        raw_section:
          type: string
          nullable: true
        raw_label:
          type: string
          nullable: true
        value:
          type: string
          nullable: true
        numeric_value:
          type: number
          nullable: true
        unit:
          type: string
          nullable: true
        source:
          type: string
          nullable: true
        mapping_method:
          type: string
          nullable: true
        mapping_confidence:
          type: number
          nullable: true

````