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

# Get KPI

> Retrieves a KPI for an order.



## OpenAPI

````yaml https://console.lomaplatform.com/api/vendor/v1/openapi get /api/vendor/v1/orders/{orderId}/kpis/{kpiId}
openapi: 3.1.0
info:
  title: LOMA Vendor API
  version: 1.0.0
  description: >-
    API for managing vendor data on LOMA.

    ### Authentication


    Your API Key should be passed in the `API-Key` header formatted as
    `KEY_ID:KEY_SECRET`.


    Vendors can create API keys in the LOMA console.
  contact:
    email: support@lomaplatform.com
servers:
  - url: https://console.lomaplatform.com
security: []
paths:
  /api/vendor/v1/orders/{orderId}/kpis/{kpiId}:
    get:
      tags:
        - Order KPIs
      summary: Get KPI
      description: Retrieves a KPI for an order.
      responses:
        '200':
          description: 200 OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  value:
                    anyOf:
                      - type: string
                      - type: number
                      - type: 'null'
                  created_at:
                    type: string
                  updated_at:
                    type: string
                required:
                  - id
                  - name
                  - value
                  - created_at
                  - updated_at
                example:
                  id: evJcYq2GgBtdoVxa
                  name: Schools Engaged
                  value: '2'
                  created_at: '2024-08-23T19:10:23.266295+00:00'
                  updated_at: '2024-08-23T19:10:23.266295+00:00'
        '404':
          description: KPI not found.
      security:
        - apiKeyHeader: []
components:
  securitySchemes:
    apiKeyHeader:
      type: apiKey
      in: header
      name: API-Key
      description: API Key for the vendor

````