Celonis Knowledge Model API

Read Process Intelligence data — Knowledge Models, records, KPIs, filters and query/OData results — from the Celonis Platform.

OpenAPI Specification

celonis-knowledge-model-openapi.yaml Raw ↑
openapi: 3.0.0
info:
  title: OpenAPI Specification
  description: >-
    EMS API to work with Knowledge Model elements, like records, kpis, filters
    and their related data.
  x-audience: EX
  version: v1.32.0
security:
  - BearerAuth: []
  - ApiKeyAuth: []
servers:
  - url: https://b0eca2bc-fbc3-400f-b855-9fe468151d15.remockly.com
paths:
  /intelligence/api/knowledge-models:
    get:
      operationId: getKnowledgeModel
      summary: Get a list of KMs
      tags:
        - Schema
      description: List of Knowledge Models defined in an EMS team
      parameters:
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/pageSizeParam'
        - $ref: '#/components/parameters/singleSortParam'
      responses:
        '200':
          description: List of Knowledge Model ids and names
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/knowledgeModelResultPage'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/knowledge-models/{km_id}:
    get:
      operationId: getKnowledgeModelDetails
      summary: Get the top-level KM details
      description: Knowledge Model defined in an EMS team
      tags:
        - Schema
      parameters:
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
      responses:
        '200':
          description: Top-level Knowledge Model details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/knowledgeModelDetailedDTO'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/knowledge-models/{km_id}/filters:
    get:
      operationId: getFilters
      tags:
        - Schema
      summary: Get a list of KM Filters
      description: List of Filters for the Knowledge Model
      parameters:
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/pageSizeParam'
        - $ref: '#/components/parameters/singleSortParam'
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-kms
      responses:
        '200':
          description: List of Filter ids and names
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/filterResultPage'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/knowledge-models/{km_id}/records:
    get:
      operationId: getRecords
      tags:
        - Schema
      summary: Get a list of KM Records schema
      description: List of Records schema
      parameters:
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/pageSizeParam'
        - $ref: '#/components/parameters/singleSortParam'
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
      responses:
        '200':
          description: List of Record ids and names
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/recordSchemaResultPage'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/knowledge-models/{km_id}/records/{record_id}:
    get:
      operationId: getRecordDetails
      tags:
        - Schema
      summary: Get the top-level KM Record Schema details
      description: Top-level Record Schema details
      parameters:
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
        - name: record_id
          in: path
          required: true
          schema:
            type: string
            example: MATERIALS
        - $ref: '#/components/parameters/singleSortParam'
      responses:
        '200':
          description: Top-level Record Schema details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/recordDTO'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/knowledge-models/{km_id}/data:
    get:
      operationId: getKnowledgeModelDataResult
      tags:
        - Data
      summary: Get a list of KM data
      description: Data for a Knowledge Model
      parameters:
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
        - $ref: '#/components/parameters/filtersParam'
        - $ref: '#/components/parameters/fieldsOptionalParam'
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/pageSizeParam'
        - $ref: '#/components/parameters/sortParamKm'
        - $ref: '#/components/parameters/filterExprParam'
        - $ref: '#/components/parameters/options'
        - $ref: '#/components/parameters/kpisParam'
        - $ref: '#/components/parameters/searchTerm'
        - $ref: '#/components/parameters/searchPrecision'
        - $ref: '#/components/parameters/searchField'
      responses:
        '200':
          description: List of Knowledge Model data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/recordResultPageDTO'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
    post:
      tags:
        - Data
      summary: Get a list of KM data with advanced filtering
      description: >-
        Query Data for a Knowledge Model that is combining different Records,
        this endpoint allows clients to easily include more complicated queries.
      operationId: getKnowledgeModelQueryResultByUsingQueryInBody
      parameters:
        - name: km_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KmQueryDataRequest'
        required: true
      responses:
        '200':
          description: List of Knowledge Model data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/recordResultPageDTO'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/knowledge-models/{km_id}/records/{record_id}/data:
    get:
      operationId: getRecordDataResult
      tags:
        - Data
      summary: Get a list of KM Record data
      description: Data for a Record in the Knowledge Model.
      parameters:
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
        - name: record_id
          in: path
          required: true
          schema:
            type: string
            example: MATERIALS
        - $ref: '#/components/parameters/filtersParam'
        - $ref: '#/components/parameters/fieldsParam'
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/pageSizeParam'
        - $ref: '#/components/parameters/sortParamRecord'
        - $ref: '#/components/parameters/filterExprParam'
        - $ref: '#/components/parameters/options'
        - $ref: '#/components/parameters/searchTerm'
        - $ref: '#/components/parameters/searchPrecision'
        - $ref: '#/components/parameters/searchField'
      responses:
        '200':
          description: List of Record data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/recordResultPageDTO'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
    post:
      tags:
        - Data
      summary: Get a list of KM Record data with advanced filtering
      description: >-
        Query Data for a Record in the Knowledge Model. This endpoint allows
        clients to easily include more complicated queries.
      operationId: getRecordDataResultByUsingQueryInBody
      parameters:
        - name: km_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
        - name: record_id
          in: path
          required: true
          style: simple
          explode: false
          schema:
            type: string
            example: MATERIALS
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KmQueryRecordDataRequest'
        required: true
      responses:
        '200':
          description: List of Record data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/recordResultPageDTO'
        '400':
          description: Bad Request.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/errorDTO'
        '401':
          description: Unauthorized access.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/authErrorDTO'
        '403':
          description: Forbidden.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/errorDTO'
        '404':
          description: The specified resource was not found.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/errorDTO'
        '429':
          description: Too Many Requests.
          headers:
            X-RateLimit-Limit:
              description: Request limit per hour.
              schema:
                type: integer
                format: int32
            X-RateLimit-Remaining:
              description: The number of requests left for the time window.
              schema:
                type: integer
                format: int32
            X-RateLimit-Reset:
              description: >-
                The UTC date/time at which the current rate limit window.
                resets.
              schema:
                type: string
                format: date-time
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/errorDTO'
        '500':
          description: Internal Server Error.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/errorDTO'
        '503':
          description: Service Unavailable.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/errorDTO'
  /intelligence/api/knowledge-models/{km_id}/records/{record_id}/query:
    get:
      operationId: getRecordQueryResult
      tags:
        - 'Beta: Semantics for 3P AI Agents'
      summary: Get a list of KM Record data
      description: Query Data for a Record in the Knowledge Model.
      parameters:
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
        - name: record_id
          in: path
          required: true
          schema:
            type: string
            example: MATERIALS
        - $ref: '#/components/parameters/filtersParam'
        - $ref: '#/components/parameters/fieldsOptionalParam'
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/pageSizeParam'
        - $ref: '#/components/parameters/sortParamRecord'
        - $ref: '#/components/parameters/filterExprParam'
        - $ref: '#/components/parameters/options'
        - $ref: '#/components/parameters/searchTerm'
        - $ref: '#/components/parameters/searchPrecision'
        - $ref: '#/components/parameters/searchField'
      responses:
        '200':
          description: List of Record data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/queryResultPageDTO'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/knowledge-models/{km_id}/kpis:
    get:
      operationId: getKpis
      tags:
        - Schema
      summary: Get a list of KM KPI's schema
      description: List of KPI's schema.
      parameters:
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/pageSizeParam'
        - $ref: '#/components/parameters/singleSortParam'
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
      responses:
        '200':
          description: List of KPI's.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/kpiSchemaResultPage'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/knowledge-models/{km_id}/query:
    get:
      operationId: getKnowledgeModelQueryResult
      tags:
        - 'Beta: Semantics for 3P AI Agents'
      summary: Get a list of KM data from different records
      description: Query Data for a Knowledge Model that is combining different Records
      parameters:
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
        - $ref: '#/components/parameters/filtersParam'
        - $ref: '#/components/parameters/fieldsOptionalParam'
        - $ref: '#/components/parameters/pageParam'
        - $ref: '#/components/parameters/pageSizeParam'
        - $ref: '#/components/parameters/sortParamKm'
        - $ref: '#/components/parameters/filterExprParam'
        - $ref: '#/components/parameters/options'
        - $ref: '#/components/parameters/kpisParam'
        - $ref: '#/components/parameters/searchTerm'
        - $ref: '#/components/parameters/searchPrecision'
        - $ref: '#/components/parameters/searchField'
      responses:
        '200':
          description: List of Record data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/queryResultPageDTO'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/knowledge-models/{km_id}/spec:
    get:
      operationId: getKnowledgeModelSpec
      tags:
        - 'Beta: Semantics for 3P AI Agents'
      summary: Generate an OpenAPI spec from a Knowledge Model
      description: OpenaAPI spec of Knowledge Model
      parameters:
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
        - name: curated
          in: query
          required: false
          schema:
            type: boolean
            example: false
      responses:
        '200':
          description: OpenAPI Spec
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/openApiSpecDTO'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/knowledge-models/{km_id}/records/{record_id}/summary:
    get:
      operationId: summaryResult
      tags:
        - 'Beta: Semantics for 3P AI Agents'
      summary: Get KM record statistics - Only for Attributes
      description: >-
        Knowledge Model record content statistics, only calculed for attributes.
        KPI and Flags will return empty results
      parameters:
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
        - name: record_id
          in: path
          required: true
          schema:
            type: string
            example: MATERIALS
        - $ref: '#/components/parameters/filtersParam'
        - $ref: '#/components/parameters/fieldsOptionalParam'
        - $ref: '#/components/parameters/excludFieldsOptionalParam'
        - $ref: '#/components/parameters/sampleSizeParam'
      responses:
        '200':
          description: List of Record data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/recordSummaryResultPageDTO'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/odata/{km_id}.svc/$metadata:
    get:
      operationId: odataMetadataResult
      tags:
        - 'Beta: OData Protocol'
      summary: OData metadata endpoint
      description: OData Knowledge Model $metadata
      parameters:
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
        - $ref: '#/components/parameters/odataFormatParam'
      responses:
        '200':
          description: List of Record data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ODataServiceResultPage'
            application/xml:
              schema:
                $ref: '#/components/schemas/ODataServiceResultPage'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '415':
          $ref: '#/components/responses/NotSupportedFormat'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/odata/{km_id}.svc:
    get:
      operationId: odataServiceDefinitionResult
      tags:
        - 'Beta: OData Protocol'
      summary: OData service definition endpoint
      description: OData Knowledge Model service definition endpoint
      parameters:
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
        - $ref: '#/components/parameters/odataFormatParam'
      responses:
        '200':
          description: List of Record data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ODataServiceDefinitionResultPage'
            application/xml:
              schema:
                $ref: '#/components/schemas/ODataServiceDefinitionXMLResultPage'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '415':
          $ref: '#/components/responses/NotSupportedFormat'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
  /intelligence/api/odata/{km_id}.svc/{record_id}_entries:
    get:
      operationId: odataServiceDataResult
      tags:
        - 'Beta: OData Protocol'
      summary: OData service data endpoint
      description: OData Knowledge Model service data endpoint
      parameters:
        - name: km_id
          in: path
          required: true
          schema:
            type: string
            example: open-purchase-requisition.purchase-requisition-km
        - name: record_id
          in: path
          required: true
          schema:
            type: string
            example: MATERIALS
        - $ref: '#/components/parameters/odataFormatParam'
        - $ref: '#/components/parameters/odataSelectParam'
        - $ref: '#/components/parameters/odataTopParam'
        - $ref: '#/components/parameters/odataSkipParam'
        - $ref: '#/components/parameters/odataFilterParam'
        - $ref: '#/components/parameters/odataFilterIdParam'
        - $ref: '#/components/parameters/odataOrderByParam'
        - $ref: '#/components/parameters/odataCountParam'
      responses:
        '200':
          description: List of Record data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ODataServiceDataResultPage'
            application/xml:
              schema:
                $ref: '#/components/schemas/ODataServiceDataXMLResultPage'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '415':
          $ref: '#/components/responses/NotSupportedFormat'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    ApiKeyAuth:
      type: apiKey
      in: header
      name: AppKey
  schemas:
    resultPage:
      title: Result page
      type: object
      properties:
        page:
          type: integer
          description: Page
          example: 0
        pageSize:
          type: integer
          description: Page size, defined by pageSize parameter
          example: 50
        total:
          type: integer
          description: Total elements returned in the page
          example: 1
        sort:
          type: array
          items:
            type: string
            example: material_number
    schemaResultPage:
      title: Result page
      type: object
      properties:
        page:
          type: integer
          description: Page
          example: 0
        pageSize:
          type: integer
          description: Page size, defined by pageSize parameter
          example: 50
        total:
          type: integer
          description: Total elements returned in the page
          example: 1
        sort:
          type: string
          description: >-
            Field used to apply sorting to the requested data, + or no symbol
            means ASC, - means DESC
          example: +id
    recordResultPageDTO:
      title: Record data result page
      type: object
      additionalProperties: false
      properties:
        content:
          $ref: '#/components/schemas/recordItemDTO'
      allOf:
        - $ref: '#/components/schemas/resultPage'
    recordSchemaResultPage:
      title: Record schema result page
      type: object
      additionalProperties: false
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/recordIdDTO'
      allOf:
        - $ref: '#/components/schemas/schemaResultPage'
    kpiSchemaResultPage:
      title: KPI schema result page
      type: object
      additionalProperties: false
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/kpiDTO'
      allOf:
        - $ref: '#/components/schemas/schemaResultPage'
    filterResultPage:
      title: Filter schema result page
      type: object
      additionalProperties: false
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/filterDTO'
      allOf:
        - $ref: '#/components/schemas/schemaResultPage'
    knowledgeModelResultPage:
      title: KnowledgeModel result page
      type: object
      additionalProperties: false
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/knowledgeModelSimplifiedDTO'
      allOf:
        - $ref: '#/components/schemas/schemaResultPage'
    errorDTO:
      title: Error
      type: object
      description: >-
        This [RFC7807] specification is to define common error formats for those
        applications that need one, so that they aren't required to define their
        own, or worse, tempted to redefine the semantics of existing HTTP status
        codes. This definition was copied from
        https://datatracker.ietf.org/doc/html/rfc7807
      properties:
        title:
          type: string
          description: >-
            A short, human-readable summary of the problem type.  It SHOULD NOT
            change from occurrence to occurrence of the problem, except for
            purposes of localization (e.g., using proactive content negotiation;
            see [RFC7231], Section 3.4). This definition was copied from
            https://datatracker.ietf.org/doc/html/rfc7807
        status:
          type: integer
          description: >-
            The HTTP status code ([RFC7231], Section 6) generated by the origin
            server for this occurrence of the problem. This definition was
            copied from https://datatracker.ietf.org/doc/html/rfc7807
        detail:
          type: string
          description: The details of the Error
        errorCode:
          type: string
          description: Unique Identifier of the Error
        type:
          type: string
          description: >-
            A URI reference [RFC3986] that identifies the problem type. This
            definition was copied from
            https://datatracker.ietf.org/doc/html/rfc7807
    recordSummaryResultPageDTO:
      title: Record data result page
      type: object
      additionalProperties: false
      properties:
        content:
          $ref: '#/components/schemas/recordItemDTO'
        shape:
          type: array
          items:
            type: integer
            example:
              - 10
              - 200000
        summary:
          type: object
          properties:
            count:
              type: integer
              example: 300000
              description: Number of non-null values (applicable to all field types)
            unique:
              type: integer
              description: >-
                Number of unique non-null values (applicable only to strings &
                timestamps)
            top:
              type: string
              description: Most frequent value (applicable only to strings & timestamps)
            freq:
              type: string
              description: >-
                Frequency of the most frequent value (app

# --- truncated at 32 KB (70 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/celonis/refs/heads/main/openapi/celonis-knowledge-model-openapi.yaml