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

# Get all screening results

> Get all screening results for the current customer. Returns product sku, name, and LCA result fields from the summaries table. Pass ?type=csv to get the response as CSV. Pass ?include=material,distribution,total to choose which result fields to return (valid values: material, manufacturing, distribution, usePhase, endOfLife, total). Paginated with defaults page=1, pageSize=50 (ignored when type=csv).



## OpenAPI

````yaml get /screenings/results
openapi: 3.1.0
info:
  title: MÅLBAR LCA API
  version: 1.0.0
  description: API for Life Cycle Assessment (LCA) screening capabilities
servers:
  - url: https://api.maalbar.dk/v1
    description: MÅLBAR LCA API
security: []
paths:
  /screenings/results:
    get:
      tags:
        - Screenings
      summary: Get all screening results
      description: >-
        Get all screening results for the current customer. Returns product sku,
        name, and LCA result fields from the summaries table. Pass ?type=csv to
        get the response as CSV. Pass ?include=material,distribution,total to
        choose which result fields to return (valid values: material,
        manufacturing, distribution, usePhase, endOfLife, total). Paginated with
        defaults page=1, pageSize=50 (ignored when type=csv).
      operationId: get-screenings-results
      parameters: []
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScreeningResultsApiOutput'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ScreeningResultsApiOutput:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ScreeningResultsApiOutputItem'
        pagination:
          $ref: '#/components/schemas/PaginationMetaSchema'
      required:
        - data
        - pagination
    ScreeningResultsApiOutputItem:
      type: object
      properties:
        sku:
          type: string
        name:
          type: string
        material:
          type: number
        manufacturing:
          type: number
        distribution:
          type: number
        usePhase:
          type: number
        endOfLife:
          type: number
        total:
          type: number
      required:
        - sku
        - name
    PaginationMetaSchema:
      type: object
      properties:
        page:
          type: number
        pageSize:
          type: number
        totalCount:
          type: number
        totalPages:
          type: number
      required:
        - page
        - pageSize
        - totalCount
        - totalPages
  responses:
    '400':
      description: Bad Request
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Invalid request parameters
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Authentication required
    '404':
      description: Not Found
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Resource not found
    '500':
      description: Internal Server Error
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: An unexpected error occurred
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key

````