swagger: '2.0'
info:
  title: KnowledgeLake API
  version: 1.0.0.0
host: your-tenant.example.com
basePath: /api
schemes:
  - https
paths:
  /V1_AppsAPI/GetCatalogs:
    post:
      tags:
        - V1_AppsAPI
      summary: Retrieves the collection of catalogs configured.
      description: Retrieves the collection of catalogs configured.
      operationId: V1AppsAPIController_GetCatalogs
      produces:
        - application/json
      responses:
        '200':
          description: Returns a collection of catalogs.
          schema:
            $ref: '#/definitions/DataResponseCatalogDTOCollection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                CatalogTypeId: 3a37199f-5d73-47f6-853f-37e520349f54
                CatalogTypeNameKey: Catalog type name key
                CatalogName: Catalog Name
                CatalogId: d0440103-b389-400c-af80-21e33fd10d82
                CatalogFeatures: 
                FactoryFeatures: 
                CatalogMetadata: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_AppsAPI/GetGroups:
    post:
      tags:
        - V1_AppsAPI
      summary: Retrieves the collection of groups associated with the specified catalog.
      description: Retrieves the collection of groups associated with the specified catalog.
      operationId: V1AppsAPIController_GetGroups
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information about the catalog
          required: true
          schema:
            $ref: '#/definitions/CatalogIdentifierParameter'
      responses:
        '200':
          description: 'Returns a collection of groups, including identifying information for each group.'
          schema:
            $ref: '#/definitions/DataResponseCatalogIdentityBaseDTOCollection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Token: Sales_00000000-0000-0000-0000-000000000000
                CatalogId: a8ef4227-ce1f-4563-b565-49a8a122403f
                DisplayName: Sales
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_AppsAPI/GetUsers:
    post:
      tags:
        - V1_AppsAPI
      summary: Retrieves the collection of users associated with the specified catalog.
      description: Retrieves the collection of users associated with the specified catalog.
      operationId: V1AppsAPIController_GetUsers
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information about the catalog
          required: true
          schema:
            $ref: '#/definitions/CatalogIdentifierParameter'
      responses:
        '200':
          description: 'Returns a collection of groups, including identifying information for each group.'
          schema:
            $ref: '#/definitions/DataResponseCatalogIdentityUserDTOCollection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Token: JohnSmith@acme.com_00000000-0000-0000-0000-000000000000
                CatalogId: c8c03118-e35b-4abb-91ba-95665ae19fae
                DisplayName: John Smith
                Email: john.smit@example.com
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_AppsAPI/SyncCatalog:
    post:
      tags:
        - V1_AppsAPI
      summary: Syncs the users and groups associated with the specified catalog.
      description: Syncs the users and groups associated with the specified catalog.
      operationId: V1AppsAPIController_SyncCatalog
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information about the catalog
          required: true
          schema:
            $ref: '#/definitions/CatalogIdentifierParameter'
      responses:
        '200':
          description: 'Returns a collection of groups, including identifying information for each group.'
          schema:
            $ref: '#/definitions/DataResponseCatalogSyncDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Removed:
                  - Token: JohnSmith@acme.com_00000000-0000-0000-0000-000000000000
                    CatalogId: 7be13974-7333-4de0-a6a4-3b0c98153723
                    DisplayName: John Smith
                Added:
                  - Token: Sales_00000000-0000-0000-0000-000000000000
                    CatalogId: bf6790c5-b9b4-4f44-846f-8bf98d01c0b7
                    DisplayName: Sales
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_AppsAPI/GetAllAppsPermissionsDefinitions:
    post:
      tags:
        - V1_AppsAPI
      summary: Retrieves all defintions for apps permissions that are assignable to apps identities.
      description: Retrieves all defintions for apps permissions that are assignable to apps identities.
      operationId: V1AppsAPIController_GetAllAppsPermissionsDefinitions
      produces:
        - application/json
      responses:
        '200':
          description: Returns a collection apps permissions definitions.
          schema:
            $ref: '#/definitions/DataResponseAppPermissionsDTOCollection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - ApplicationId: taxonomy
                  AuthorizedFeatureKeys:
                    - taxonomy_ft_use_app
                    - taxonomy_ft_caneditconfig
                - ApplicationId: webindex
                  AuthorizedFeatureKeys:
                    - webindex_ft_batch_editstructure
                    - webindex_ft_batch_view
                    - webindex_ft_batch_index
                    - webindex_ft_indexpanel_view
                    - webindex_ft_app
                    - webindex_ft_batchgrid_view
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_AppsAPI/GetAppsPermissionsForIdentity:
    post:
      tags:
        - V1_AppsAPI
      summary: Retrieves authorized apps permissions and identity information associated with the specified identity token.
      description: Retrieves authorized apps permissions and identity information associated with the specified identity token.
      operationId: V1AppsAPIController_GetAppsPermissionsForIdentity
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information about the identity
          required: true
          schema:
            $ref: '#/definitions/IdentityIdentifierParameter'
      responses:
        '200':
          description: Returns an object representation of the specified identity and all apps permissions granted to that identity.
          schema:
            $ref: '#/definitions/DataResponseIdentityAndAppPermissionsDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Token: JohnSmith@acme.com_00000000-0000-0000-0000-000000000000
                Name: JohnSmith@acme.com
                CatalogId: 37c4a8db-70fe-4c35-9876-f2b885e20677
                IsGroup: false
                AppFeaturePermissions:
                  - ApplicationId: webindex
                    AuthorizedFeatureKeys:
                      - webindex_ft_batch_editstructure
                      - webindex_ft_batch_view
                      - webindex_ft_batch_index
                      - webindex_ft_indexpanel_view
                      - webindex_ft_app
                      - webindex_ft_batchgrid_view
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_AutomationAPI/GetBots:
    post:
      tags:
        - V1_AutomationAPI
      summary: Retrieves state information for all bots
      description: Retrieves state information for all bots
      operationId: V1AutomationAPIController_GetBots
      produces:
        - application/json
      responses:
        '200':
          description: 'Returns a collection of objects containing bot information such as bot ID, display name, machine name, and status'
          schema:
            $ref: '#/definitions/DataResponseBotStatusUpdate'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BotStatuses:
                  - BotId: 00000000-0000-0000-0000-000000000000
                    DisplayName: Example Bot
                    MachineName: Example Bot Host
                    Status: Online
                    MaintenanceMode: false
                StatusLastRetrievedUTC: '0001-01-01T00:00:00.0000000+00:00'
                Success: true
                GetBotsOperationMessages: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/GetBatch:
    post:
      tags:
        - V1_BatchAPI
      summary: 'Retrieves a projection of the structure of the specified batch, including documents, pages, and various metadata.'
      description: 'Retrieves a projection of the structure of the specified batch, including documents, pages, and various metadata.'
      operationId: V1BatchAPIController_GetBatch
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information about the batch and its lock status
          required: true
          schema:
            $ref: '#/definitions/BatchTokenDTO'
      responses:
        '200':
          description: 'Returns a projection of the structure of the specified batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908918
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/ReadBatch:
    post:
      tags:
        - V1_BatchAPI
      summary: Retrieves a batch token for the specified batch id.
      description: Retrieves a batch token for the specified batch id.
      operationId: V1BatchAPIController_ReadBatch
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information about the batch
          required: true
          schema:
            $ref: '#/definitions/BatchIdentifierParameter'
      responses:
        '200':
          description: Returns a batch token containing identifying information about the batch and its lock status.
          schema:
            $ref: '#/definitions/DataResponseBatchToken'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchId: 00000000-0000-0000-0000-000000000000
                LockId: 
                LocationId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/NewBatch:
    post:
      tags:
        - V1_BatchAPI
      summary: Creates a new batch object in the context of the batch system.
      description: Creates a new batch object in the context of the batch system.
      operationId: V1BatchAPIController_NewBatch
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information about the batch
          required: true
          schema:
            $ref: '#/definitions/BatchIdentifierParameter'
      responses:
        '200':
          description: Returns a batch token containing identifying information about the batch and its lock status.
          schema:
            $ref: '#/definitions/DataResponseBatchToken'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchId: 00000000-0000-0000-0000-000000000000
                LockId: 
                LocationId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/LockBatch:
    post:
      tags:
        - V1_BatchAPI
      summary: Locks an existing batch to the user associated with the API token used to invoke this endpoint.
      description: Locks an existing batch to the user associated with the API token used to invoke this endpoint.
      operationId: V1BatchAPIController_LockBatch
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information about the batch
          required: true
          schema:
            $ref: '#/definitions/BatchIdentifierParameter'
      responses:
        '200':
          description: Returns a batch token containing identifying information about the batch and its lock status.
          schema:
            $ref: '#/definitions/DataResponseBatchToken'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchId: 00000000-0000-0000-0000-000000000000
                LockId: 
                LocationId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/UnlockBatch:
    post:
      tags:
        - V1_BatchAPI
      summary: Unlocks an existing batch.
      description: Unlocks an existing batch.
      operationId: V1BatchAPIController_UnlockBatch
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information about the batch and its lock status
          required: true
          schema:
            $ref: '#/definitions/BatchTokenDTO'
      responses:
        '200':
          description: Returns a batch token containing identifying information about the batch and its lock status.
          schema:
            $ref: '#/definitions/DataResponseBatchToken'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchId: 00000000-0000-0000-0000-000000000000
                LockId: 
                LocationId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/CommitBatch:
    post:
      tags:
        - V1_BatchAPI
      summary: Saves the current state of the batch in the batch system to the batch authority.
      description: Saves the current state of the batch in the batch system to the batch authority.
      operationId: V1BatchAPIController_CommitBatch
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information about the batch and its lock status
          required: true
          schema:
            $ref: '#/definitions/BatchTokenDTO'
      responses:
        '200':
          description: Returns a batch token containing identifying information about the batch and its lock status.
          schema:
            $ref: '#/definitions/DataResponseBatchToken'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchId: 00000000-0000-0000-0000-000000000000
                LockId: 
                LocationId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/RemoveBatch:
    post:
      tags:
        - V1_BatchAPI
      summary: Removes the specified batch from the batch system.
      description: Removes the specified batch from the batch system.
      operationId: V1BatchAPIController_RemoveBatch
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information about the batch and its lock status
          required: true
          schema:
            $ref: '#/definitions/BatchTokenDTO'
      responses:
        '200':
          description: The specified batch was successfully removed from the batch system.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/AddDocument:
    post:
      tags:
        - V1_BatchAPI
      summary: Creates a new document object in the context of the specified batch.
      description: Creates a new document object in the context of the specified batch.
      operationId: V1BatchAPIController_AddDocument
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information about the batch and its lock status and an identifier to assign to the new document
          required: true
          schema:
            $ref: '#/definitions/DocumentIdentifierParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908918
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/AddDocumentFile:
    post:
      tags:
        - V1_BatchAPI
      summary: Uploads a file to be added to the specified document as an input or output file.
      description: Uploads a file to be added to the specified document as an input or output file.
      operationId: V1BatchAPIController_AddDocumentFile
      consumes:
        - multipart/form-data
      produces:
        - application/json
      parameters:
        - in: formData
          name: File
          description: The contents of the file to be uploaded as a new document file
          type: file
        - in: formData
          name: Payload
          description: 'An JSON-stringified object used to transport values used during document file addition. EXAMPLE: {"BatchToken":{"BatchId":"3b82f062-eec3-4b0b-8e7c-c06ef17e2db8","LockId":"48082aec-55e6-4c93-9cf9-824218ccf7e8","LocationId":"c756c773-b406-40c0-97fe-7b0a67f70591"},"DocumentId":"422810ce-7894-4841-987f-b72df24ce28d","DocumentFileId":"00f3a2f6-6873-4c49-a062-20fdf4c18f8b","DocumentFileType":0,"DocumentFileName":"Example.png","DocumentFileMIMEType":"image/png"}'
          type: string
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908918
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/AddBatchFile:
    post:
      tags:
        - V1_BatchAPI
      summary: Uploads a file (in parallel) to be added to the batch as either a document or page file
      description: Uploads a file (in parallel) to be added to the batch as either a document or page file
      operationId: V1BatchAPIController_AddBatchFile
      consumes:
        - multipart/form-data
      produces:
        - application/json
      parameters:
        - in: formData
          name: File
          description: The contents of the file to be uploaded as a new document file
          type: file
        - in: formData
          name: Payload
          description: 'An JSON-stringified object used to transport values used during document file addition. EXAMPLE: {"BatchToken":{"BatchId":"3b82f062-eec3-4b0b-8e7c-c06ef17e2db8","LockId":"48082aec-55e6-4c93-9cf9-824218ccf7e8","LocationId":"c756c773-b406-40c0-97fe-7b0a67f70591"},"Identifier":"422810ce-7894-4841-987f-b72df24ce28d","DocumentFileName":"Example.png","DocumentFileMIMEType":"image/png"}'
          type: string
      responses:
        '200':
          description: Returns a reference to the uploaded file.
          schema:
            $ref: '#/definitions/DataResponseBatchFileDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Hash: abcdefabcdef
                Identifier: 1e5081f9-819b-4607-abde-25a12ed57165
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/AddBatchDocuments:
    post:
      tags:
        - V1_BatchAPI
      summary: Adds document files to the specified batch that were previously made available to the batch through a call to AddBatchFile
      description: Adds document files to the specified batch that were previously made available to the batch through a call to AddBatchFile
      operationId: V1BatchAPIController_AddBatchDocuments
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Input
          required: true
          schema:
            $ref: '#/definitions/AddDocumentsParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908918
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/AddBatchDocumentPages:
    post:
      tags:
        - V1_BatchAPI
      summary: Adds page files to the specified batch that were previously made available to the batch through a call to AddBatchFile
      description: Adds page files to the specified batch that were previously made available to the batch through a call to AddBatchFile
      operationId: V1BatchAPIController_AddBatchDocumentPages
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Input
          required: true
          schema:
            $ref: '#/definitions/AddDocumentPagesParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/GetDocumentFile:
    post:
      tags:
        - V1_BatchAPI
      summary: Downloads the specified document file.
      description: Downloads the specified document file.
      operationId: V1BatchAPIController_GetDocumentFile
      consumes:
        - application/json
      produces:
        - application/octet-stream
        - application/json
      parameters:
        - in: body
          name: body
          description: 'Identifying information about the batch, document, and document file'
          required: true
          schema:
            $ref: '#/definitions/DocumentFileIdentifierParameter'
      responses:
        '200':
          description: Returns the requested document file as content.
          schema:
            type: file
          headers:
            Content-Disposition:
              description: attachment; filename="filename.jpg"
              type: string
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/ReorderDocument:
    post:
      tags:
        - V1_BatchAPI
      summary: Reorders a document in a batch by assigning it to the specified index and shifting the order of other documents in the batch.
      description: Reorders a document in a batch by assigning it to the specified index and shifting the order of other documents in the batch.
      operationId: V1BatchAPIController_ReorderDocument
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information about the batch and document and the new index of the document in the batch's document collection
          required: true
          schema:
            $ref: '#/definitions/ReorderDocumentParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/RemoveDocument:
    post:
      tags:
        - V1_BatchAPI
      summary: Removes and discards the specified document from its batch.
      description: Removes and discards the specified document from its batch.
      operationId: V1BatchAPIController_RemoveDocument
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information about the batch and document
          required: true
          schema:
            $ref: '#/definitions/DocumentIdentifierParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/RemoveDocumentFile:
    post:
      tags:
        - V1_BatchAPI
      summary: Removes and discards the specified document file from its document.
      description: Removes and discards the specified document file from its document.
      operationId: V1BatchAPIController_RemoveDocumentFile
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: 'Identifying information about the batch, document, and document file'
          required: true
          schema:
            $ref: '#/definitions/DocumentFileIdentifierParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/AddPage:
    post:
      tags:
        - V1_BatchAPI
      summary: Creates a new page object in the context of the specified batch and document.
      description: Creates a new page object in the context of the specified batch and document.
      operationId: V1BatchAPIController_AddPage
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information about the batch and document and an identifier to assign to the new page
          required: true
          schema:
            $ref: '#/definitions/PageIdentifierParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/ReorderPage:
    post:
      tags:
        - V1_BatchAPI
      summary: Reorders a page in a document by assigning it to the specified index and shifting the order of other pages in the document.
      description: Reorders a page in a document by assigning it to the specified index and shifting the order of other pages in the document.
      operationId: V1BatchAPIController_ReorderPage
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: 'Identifying information about the batch, document, and page and the new index of the page in the document''s page collection'
          required: true
          schema:
            $ref: '#/definitions/ReorderPageParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/MovePages:
    post:
      tags:
        - V1_BatchAPI
      summary: Moves Pages from Document to Target Document
      description: Moves Pages from Document to Target Document
      operationId: V1BatchAPIController_MovePages
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Input
          required: true
          schema:
            $ref: '#/definitions/MovePagesParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/RemovePage:
    post:
      tags:
        - V1_BatchAPI
      summary: Removes and discards the specified page from its document.
      description: Removes and discards the specified page from its document.
      operationId: V1BatchAPIController_RemovePage
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: 'Identifying information about the batch, document, and page'
          required: true
          schema:
            $ref: '#/definitions/PageIdentifierParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/UpsertBatchMetadata:
    post:
      tags:
        - V1_BatchAPI
      summary: Adds or updates metadata values in the specified batch's metadata collection.
      description: Adds or updates metadata values in the specified batch's metadata collection.
      operationId: V1BatchAPIController_UpsertBatchMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information about the batch and the metadata to add to or update on the batch
          required: true
          schema:
            $ref: '#/definitions/BatchMetadataAPIParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/RemoveBatchMetadata:
    post:
      tags:
        - V1_BatchAPI
      summary: Removes metadata values from the specified batch's metadata collection.
      description: Removes metadata values from the specified batch's metadata collection.
      operationId: V1BatchAPIController_RemoveBatchMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information about the batch and the metadata to remove from the batch
          required: true
          schema:
            $ref: '#/definitions/BatchMetadataAPIParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/UpsertDocumentMetadata:
    post:
      tags:
        - V1_BatchAPI
      summary: Adds or updates metadata values in the specified document's metadata collection.
      description: Adds or updates metadata values in the specified document's metadata collection.
      operationId: V1BatchAPIController_UpsertDocumentMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information about the batch and document and the metadata to add to or update on the document
          required: true
          schema:
            $ref: '#/definitions/DocumentMetadataAPIParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/RemoveDocumentMetadata:
    post:
      tags:
        - V1_BatchAPI
      summary: Removes metadata values from the specified document's metadata collection.
      description: Removes metadata values from the specified document's metadata collection.
      operationId: V1BatchAPIController_RemoveDocumentMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information about the batch and document and the metadata to remove from the document
          required: true
          schema:
            $ref: '#/definitions/DocumentMetadataAPIParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/UpsertPageMetadata:
    post:
      tags:
        - V1_BatchAPI
      summary: Adds or updates metadata values in the specified page's metadata collection.
      description: Adds or updates metadata values in the specified page's metadata collection.
      operationId: V1BatchAPIController_UpsertPageMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: 'Identifying information about the batch, document, and page and the metadata to add to or update on the page'
          required: true
          schema:
            $ref: '#/definitions/PageMetadataAPIParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_BatchAPI/RemovePageMetadata:
    post:
      tags:
        - V1_BatchAPI
      summary: Removes metadata values from the specified page's metadata collection.
      description: Removes metadata values from the specified page's metadata collection.
      operationId: V1BatchAPIController_RemovePageMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: 'Identifying information about the batch, document, and page and the metadata to remove from the page'
          required: true
          schema:
            $ref: '#/definitions/PageMetadataAPIParameter'
      responses:
        '200':
          description: 'Returns a projection of the structure of the affected batch, including documents, pages, and various metadata.'
          schema:
            $ref: '#/definitions/DataResponseBatchProjection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 20261007-201908919
                Documents:
                  - Id: 00000000-0000-0000-0000-000000000000
                    Index: '0'
                    Pages:
                      - Id: 00000000-0000-0000-0000-000000000000
                        Index: '0'
                        OriginalFileName: Example original page name
                        PageFiles:
                          - Id: 00000000-0000-0000-0000-000000000000
                            FileName: Example page file name
                            Extension: .tif
                            FileSize: 102456
                            LocationHash: Do not alter this value!
                            Type: Raw
                            Metadata:
                              Example Bucket:
                                Example Key: Example Value
                        Metadata:
                          Example Bucket:
                            Example Key: Example Value
                    Files:
                      - Id: 00000000-0000-0000-0000-000000000000
                        FileName: Example FileName
                        Extension: .pdf
                        LocationHash: Do not alter this value!
                        Type: Input
                    Metadata:
                      Example Bucket:
                        Example Key: Example Value
                Metadata:
                  Example Bucket:
                    Example Key: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_EventsAPI/WriteEvent:
    post:
      tags:
        - V1_EventsAPI
      summary: Adds an event to the Monitor log with the provided properties and scopes.
      description: Adds an event to the Monitor log with the provided properties and scopes.
      operationId: V1EventsAPIController_WriteEvent
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing a dicitonary of event properties and a list of scopes
          required: true
          schema:
            $ref: '#/definitions/EventDTO'
      responses:
        '200':
          description: Returns indication of successful event write
          schema:
            type: object
            properties:
              Success:
                type: boolean
              MessageKey:
                type: string
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_IntuitiveAIAPI/CreateNewClass:
    post:
      tags:
        - V1_IntuitiveAIAPI
      summary: ''
      description: ''
      operationId: V1IntuitiveAIAPIController_CreateNewClass
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to create a new Learn Class
          required: true
          schema:
            $ref: '#/definitions/NewClassRequest'
      responses:
        '200':
          description: 'Create new class response, containing the ID of the created class.'
          schema:
            type: object
            properties:
              Success:
                type: boolean
              MessageKey:
                type: string
              Data:
                format: uuid
                type: string
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_IntuitiveAIAPI/GetAllKnownClassInformation:
    post:
      tags:
        - V1_IntuitiveAIAPI
      summary: ''
      description: ''
      operationId: V1IntuitiveAIAPIController_GetAllKnownClassInformation
      produces:
        - application/json
      responses:
        '200':
          description: 'Create new class response, containing the ID of the created class.'
          schema:
            $ref: '#/definitions/KLApiDataResponseListIntuitiveAIClassInformation'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data: [ ]
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_IntuitiveAIAPI/AddDocumentFile:
    post:
      tags:
        - V1_IntuitiveAIAPI
      summary: ''
      description: ''
      operationId: V1IntuitiveAIAPIController_AddDocumentFile
      consumes:
        - multipart/form-data
      produces:
        - application/json
      parameters:
        - in: formData
          name: ClassId
          description: The Class Id to add the document to.
          type: string
          format: uuid
        - in: formData
          name: SubclassId
          description: Optional subclass Id to add the document to.
          type: string
          format: uuid
          x-nullable: true
        - in: formData
          name: CorrectExtractedValues
          type: string
        - in: formData
          name: OcrData
          type: string
        - in: formData
          name: File
          description: The input file to add to the class.
          type: file
        - in: formData
          name: FileName
          description: 'The name of the file to upload, including extension.'
          type: string
        - in: formData
          name: mimeType
          description: The MIME type of the file to upload.
          type: string
      responses:
        '200':
          description: KnownDocument response.
          schema:
            $ref: '#/definitions/KLApiDataResponseKnownDocument2'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                KnownClassId: 00000000-0000-0000-0000-000000000000
                KnownSubclassId: 
                Id: 00000000-0000-0000-0000-000000000000
                KnownPages: 
                CreatedDate: '0001-01-01T00:00:00.0000000+00:00'
                Creator: 
                Name: 
                OriginalName: 
                CorrectExtractedValues: 
                IncorrectExtractedValues: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_IntuitiveAIAPI/GetDefaultRuleAutoExtractionAction:
    post:
      tags:
        - V1_IntuitiveAIAPI
      summary: ''
      description: ''
      operationId: V1IntuitiveAIAPIController_GetDefaultRuleAutoExtractionAction
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to get an action off of the default rule of a Learn Class or Subclass by Id
          required: true
          schema:
            $ref: '#/definitions/GetDefaultRuleActionRequest'
      responses:
        '200':
          description: The returned AutoExtractorInteractionAction.
          schema:
            $ref: '#/definitions/KLApiDataResponseAutoExtractorInteractionAction'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                AutoExtractorSettings:
                  FieldDefinitions: 
                  ExtractorMode: TextOnly
                Id: 951a75ae-f3f8-4750-86d1-2592e9a43927
                Type: AutoExtractorExtractionAction
                SerializedData: '{"FieldDefinitions":null,"ExtractorMode":0}'
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_IntuitiveAIAPI/SetDefaultRuleAutoExtractionAction:
    post:
      tags:
        - V1_IntuitiveAIAPI
      summary: ''
      description: ''
      operationId: V1IntuitiveAIAPIController_SetDefaultRuleAutoExtractionAction
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to set an action on the default rule of a Learn Class or Subclass by Id
          required: true
          schema:
            $ref: '#/definitions/SetDefaultRuleAutoExtractionActionRequest'
      responses:
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_IntuitiveAIAPI/GetClass:
    post:
      tags:
        - V1_IntuitiveAIAPI
      summary: ''
      description: ''
      operationId: V1IntuitiveAIAPIController_GetClass
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to get a Learn Class by Id
          required: true
          schema:
            $ref: '#/definitions/GetClassRequest'
      responses:
        '200':
          description: The returned IntuitiveAIClass.
          schema:
            $ref: '#/definitions/KLApiDataResponseIntuitiveAIClass'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Template: 
                KnownDocuments: 
                Id: 00000000-0000-0000-0000-000000000000
                Name: 
                Locked: false
                LockedTime: 
                LockedBy: 
                Tags: 
                LastModified: '0001-01-01T00:00:00.0000000+00:00'
                Modifier: 
                Creator: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_IntuitiveAIAPI/GetSubclass:
    post:
      tags:
        - V1_IntuitiveAIAPI
      summary: ''
      description: ''
      operationId: V1IntuitiveAIAPIController_GetSubclass
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to get a Learn Subclass by Id
          required: true
          schema:
            $ref: '#/definitions/GetSubclassRequest'
      responses:
        '200':
          description: The returned IntuitiveAISubclass.
          schema:
            $ref: '#/definitions/KLApiDataResponseIntuitiveAISubclass'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Template: 
                Id: 00000000-0000-0000-0000-000000000000
                KnownClassId: 00000000-0000-0000-0000-000000000000
                Name: 
                LastModified: '0001-01-01T00:00:00.0000000+00:00'
                Modifier: 
                Creator: 
                Locked: false
                LockedTime: 
                LockedBy: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_JobsAPI/QueryForJobRuns:
    post:
      tags:
        - V1_JobsAPI
      summary: 'Retrieves monitor data for all jobs, or jobs specified by filters'
      description: 'Retrieves monitor data for all jobs, or jobs specified by filters'
      operationId: V1JobsAPIController_QueryForJobRuns
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object filters for jobs
          required: true
          schema:
            $ref: '#/definitions/FilterJobParameter'
      responses:
        '200':
          description: Returns an object containing job monitor data
          schema:
            $ref: '#/definitions/DataResponseJobDefinitionList'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - Status: Error
                  JobID: 08035def-a9fe-41f7-99e6-74b8ffc03c0e
                  JobDisplayName: Import File
                  LastRuntime: '2026-10-07T20:19:08.9196097+00:00'
                  NextRuntime: '2026-10-07T20:19:08.9196093+00:00'
                - Status: Error
                  JobID: 08035def-a9fe-41f7-99e6-74b8ffc03c0e
                  JobDisplayName: Import File
                  LastRuntime: '2026-10-07T20:19:08.9196101+00:00'
                  NextRuntime: '2026-10-07T20:19:08.9196101+00:00'
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_JobsAPI/QueryForJobHistories:
    post:
      tags:
        - V1_JobsAPI
      summary: 'Retrieves historical run data for all jobs, or jobs specified by filters.'
      description: 'Retrieves historical run data for all jobs, or jobs specified by filters.'
      operationId: V1JobsAPIController_QueryForJobHistories
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object filters for jobs
          required: true
          schema:
            $ref: '#/definitions/FilterJobHistoryParameter'
      responses:
        '200':
          description: Returns an object containing job history data
          schema:
            $ref: '#/definitions/DataResponseJobHistoryList'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - JobInstanceID: 08035def-a9fe-41f7-99e6-74b8ffc03c0e
                  JobScriptId: a06ee719-f1a3-4675-a3c6-dad040d26779
                  ExecutionId: de0bb36c-61dd-4461-91a1-1603fcf7a178
                  JobDisplayName: Import File
                  ServiceName: WorkerServiceActivity Processing
                  JobStatus: Active
                  EntryDate: '2026-10-07T20:19:08.9196395+00:00'
                  EventDescription: Processing.Job.Start.ExecuteJob
                  ExceptionMessage: 
                - JobInstanceID: 08035def-a9fe-41f7-99e6-74b8ffc03c0e
                  JobScriptId: a06ee719-f1a3-4675-a3c6-dad040d26779
                  ExecutionId: de0bb36c-61dd-4461-91a1-1603fcf7a178
                  JobDisplayName: Import File
                  ServiceName: WorkerServiceActivity Processing
                  JobStatus: Active
                  EntryDate: '2026-10-07T20:19:08.9196399+00:00'
                  EventDescription: Processing.Job.Start.ExecuteJob
                  ExceptionMessage: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_JobsAPI/ResubmitJob:
    post:
      tags:
        - V1_JobsAPI
      summary: Resubmits a job identified by JobInstanceID (required). Immediately triggers the job to run.
      description: Resubmits a job identified by JobInstanceID (required). Immediately triggers the job to run.
      operationId: V1JobsAPIController_ResubmitJob
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object identifying the job to run. JobInstanceID is required
          required: true
          schema:
            $ref: '#/definitions/RunJobParameter'
      responses:
        '200':
          description: Job was successfully resubmitted
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/AddPagesFromBatchFiles:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Add page files (that were added via StoreBatchFile) to a WorkItem Document.
      description: Add page files (that were added via StoreBatchFile) to a WorkItem Document.
      operationId: V1KWorkItemAPIController_AddPagesFromBatchFiles
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: ''
          required: true
          schema:
            $ref: '#/definitions/AddPagesFromBatchFilesParameter'
      responses:
        '200':
          description: Work Item Info.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemDocumentIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
                DocumentId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/GetWorkState:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: ''
      description: ''
      operationId: V1KWorkItemAPIController_GetWorkState
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Work Item ID
          required: true
          schema:
            $ref: '#/definitions/PaasWorkItemIdDTO'
      responses:
        '200':
          description: Work Item Info.
          schema:
            $ref: '#/definitions/KLApiDataResponseWorkItemInfoDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItem: 
                WorkItemName: 
                WorkStatus: Completed
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/QueryWorkState:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: ''
      description: ''
      operationId: V1KWorkItemAPIController_QueryWorkState
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Query parameters to run against active work items.
          required: true
          schema:
            $ref: '#/definitions/PaasWorkQueryParameter'
      responses:
        '200':
          description: List of Work Item Info.
          schema:
            $ref: '#/definitions/KLApiDataResponseListWorkItemInfoWithMetadata'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - WorkItemMetadata: 
                  WorkItem: 
                  WorkItemName: 
                  WorkStatus: Completed
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/NewWorkItem:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Create a new Work Item which may later be queued for work.
      description: Create a new Work Item which may later be queued for work.
      operationId: V1KWorkItemAPIController_NewWorkItem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Work Item creation request object.
          required: true
          schema:
            $ref: '#/definitions/WorkItemCreationRequestParameter'
      responses:
        '200':
          description: WorkItem Id response.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/GetWorkItem:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Get a detailed result object representing the contents of the Work Item and its metadata.
      description: Get a detailed result object representing the contents of the Work Item and its metadata.
      operationId: V1KWorkItemAPIController_GetWorkItem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Work Item ID
          required: true
          schema:
            $ref: '#/definitions/PaasWorkItemIdDTO'
      responses:
        '200':
          description: WorkItem projection.
          schema:
            $ref: '#/definitions/KLApiDataResponseWorkItemProjectionDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
                Name: ''
                Documents: [ ]
                Metadata: { }
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/DeleteWorkItem:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: 'Completely remove this Work Item and any ascociated files, state, and holds.'
      description: 'Completely remove this Work Item and any ascociated files, state, and holds.'
      operationId: V1KWorkItemAPIController_DeleteWorkItem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Work Item ID
          required: true
          schema:
            $ref: '#/definitions/PaasWorkItemIdDTO'
      responses:
        '200':
          description: WorkItem Id response.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/UpsertWorkItemMetadata:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Upsert metadata on an existing Work Item.
      description: Upsert metadata on an existing Work Item.
      operationId: V1KWorkItemAPIController_UpsertWorkItemMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Object defining metadata to be set on a WorkItem.
          required: true
          schema:
            $ref: '#/definitions/UpsertPaasWorkItemMetadataParameter'
      responses:
        '200':
          description: WorkItem Id response.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/SetDocumentOcr:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Add ocr to an existing document.
      description: Add ocr to an existing document.
      operationId: V1KWorkItemAPIController_SetDocumentOcr
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to Set OCR data for a Document.
          required: true
          schema:
            $ref: '#/definitions/SetDocumentOcrParameter'
      responses:
        '200':
          description: WorkItem Document File response.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemDocumentFileIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
                DocumentId: 00000000-0000-0000-0000-000000000000
                DocumentFileId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/SetPageOcr:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Add ocr to an existing document.
      description: Add ocr to an existing document.
      operationId: V1KWorkItemAPIController_SetPageOcr
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to Set OCR data for a Page.
          required: true
          schema:
            $ref: '#/definitions/SetPageOcrParameter'
      responses:
        '200':
          description: WorkItem Page File response.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemPageFileIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
                DocumentId: 00000000-0000-0000-0000-000000000000
                PageId: 00000000-0000-0000-0000-000000000000
                PageFileId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/UpsertDocumentMetadata:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Upsert metadata on an existing Work Item Document.
      description: Upsert metadata on an existing Work Item Document.
      operationId: V1KWorkItemAPIController_UpsertDocumentMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Object defining metadata to be set on a WorkItem Document.
          required: true
          schema:
            $ref: '#/definitions/UpsertPaasDocumentMetadataParameter'
      responses:
        '200':
          description: WorkItem Document response.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemDocumentIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
                DocumentId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/UpsertPageMetadata:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Upsert metadata on an existing Work Item Page.
      description: Upsert metadata on an existing Work Item Page.
      operationId: V1KWorkItemAPIController_UpsertPageMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Object defining metadata to be set on a WorkItem Page.
          required: true
          schema:
            $ref: '#/definitions/UpsertPaasPageMetadataParameter'
      responses:
        '200':
          description: WorkItem Page response.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemPageIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
                DocumentId: 00000000-0000-0000-0000-000000000000
                PageId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/GetDocumentFile:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Get a Document file for a WorkItem.
      description: Get a Document file for a WorkItem.
      operationId: V1KWorkItemAPIController_GetDocumentFile
      consumes:
        - application/json
      produces:
        - application/octet-stream
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to fetch a Document file from a WorkItem.
          required: true
          schema:
            $ref: '#/definitions/GetDocumentFileParameter'
      responses:
        '200':
          description: WorkItem Document file.
          schema:
            type: file
          headers:
            Content-Disposition:
              description: attachment; filename="filename.jpg"
              type: string
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/GetPageFile:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Get a Page file for a WorkItem.
      description: Get a Page file for a WorkItem.
      operationId: V1KWorkItemAPIController_GetPageFile
      consumes:
        - application/json
      produces:
        - application/octet-stream
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to fetch a Page file from a WorkItem.
          required: true
          schema:
            $ref: '#/definitions/GetPageFileParameter'
      responses:
        '200':
          description: WorkItem Page file.
          schema:
            type: file
          headers:
            Content-Disposition:
              description: attachment; filename="filename.jpg"
              type: string
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/GetDocumentOcrData:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Get Ocr data for a Document of a WorkItem.
      description: Get Ocr data for a Document of a WorkItem.
      operationId: V1KWorkItemAPIController_GetDocumentOcrData
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to fetch Ocr data for a Document from a WorkItem.
          required: true
          schema:
            $ref: '#/definitions/GetDocumentOcrParameter'
      responses:
        '200':
          description: List of page Ocr results.
          schema:
            $ref: '#/definitions/KLApiDataResponseListPageOcrDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - PageId: 00000000-0000-0000-0000-000000000000
                  Text: 
                  Confidence: 0
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/GetPageOcrData:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Get Ocr data for a Page of a WorkItem.
      description: Get Ocr data for a Page of a WorkItem.
      operationId: V1KWorkItemAPIController_GetPageOcrData
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to fetch Ocr data for a Page from a WorkItem.
          required: true
          schema:
            $ref: '#/definitions/GetPageOcrParameter'
      responses:
        '200':
          description: Page Ocr result.
          schema:
            $ref: '#/definitions/KLApiDataResponsePageOcrDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                PageId: 00000000-0000-0000-0000-000000000000
                Text: 
                Confidence: 0
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/GetWorkItemHistory:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Get the events that have occurred to modify a WorkItem's state
      description: Get the events that have occurred to modify a WorkItem's state
      operationId: V1KWorkItemAPIController_GetWorkItemHistory
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Work Item ID
          required: true
          schema:
            $ref: '#/definitions/PaasWorkItemIdDTO'
      responses:
        '200':
          description: WorkItem event history.
          schema:
            $ref: '#/definitions/KLApiDataResponseListWorkItemEventDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - EventIndex: 0
                  Occurred: '0001-01-01T00:00:00.0000000+00:00'
                  EventType: 
                  EventParameters: 
                  GroupingEventId: 00000000-0000-0000-0000-000000000000
                  GroupEventType: 
                  Hash: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/GetWorkflowHistory:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Get the Workflow events that have occurred during the processing of a WorkItem
      description: Get the Workflow events that have occurred during the processing of a WorkItem
      operationId: V1KWorkItemAPIController_GetWorkflowHistory
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Work Item ID
          required: true
          schema:
            $ref: '#/definitions/PaasWorkItemIdDTO'
      responses:
        '200':
          description: WorkItem event history.
          schema:
            $ref: '#/definitions/KLApiDataResponseListWorkflowEventDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - EventId: 00000000-0000-0000-0000-000000000000
                  BoolProperties: 
                  DoubleProperties: 
                  LongProperties: 
                  StringProperties: 
                  DurationMs: 
                  Scopes: 
                  UserId: 
                  OccurredTime: 0
                  MachineId: 
                  IndexedEventType: Standalone
                  WorkType: 
                  StepId: 
                  ProcessVersion: 
                  ProcessId: 
                  WorkItemRootId: 
                  WorkItemId: 
                  ParentEventId: 
                  IndexedEventStatus: Event
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/RemoveDocument:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Remove a Document from a WorkItem.
      description: Remove a Document from a WorkItem.
      operationId: V1KWorkItemAPIController_RemoveDocument
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to remove a Document file from a WorkItem.
          required: true
          schema:
            $ref: '#/definitions/GetDocumentParameter'
      responses:
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/AddDocument:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: 'Add a document, and optionally a File or Metadata, to a Work Item.'
      description: 'Add a document, and optionally a File or Metadata, to a Work Item.'
      operationId: V1KWorkItemAPIController_AddDocument
      consumes:
        - multipart/form-data
      produces:
        - application/json
      parameters:
        - in: formData
          name: WorkItemId
          description: The Work Item Id to add the document to.
          type: string
          format: uuid
        - in: formData
          name: File
          description: The input file to add to the new document.
          type: file
        - in: formData
          name: FileName
          description: 'The name of the document file to upload, including extension.'
          type: string
        - in: formData
          name: mimeType
          description: The MIME type of the document file to upload.
          type: string
        - in: formData
          name: MetadataParameter
          description: JSON string of a AddPaasDocumentMetadataParameter object. Example KL.Apps.OpenAPI.Controllers.Domain.RequestParameters.PaasWorkItem.AddPaasDocumentMetadataParameter.
          type: string
      responses:
        '200':
          description: WorkItem Document response.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemDocumentIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
                DocumentId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/AddPage:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: 'Add a document, and optionally a File or Metadata, to a Work Item.'
      description: 'Add a document, and optionally a File or Metadata, to a Work Item.'
      operationId: V1KWorkItemAPIController_AddPage
      consumes:
        - multipart/form-data
      produces:
        - application/json
      parameters:
        - in: formData
          name: WorkItemId
          description: The Work Item Id to add the page to.
          type: string
          format: uuid
        - in: formData
          name: DocumentId
          description: The Work Item Document Id to add the page to.
          type: string
          format: uuid
        - in: formData
          name: File
          description: The input file to add to the new page.
          type: file
        - in: formData
          name: FileName
          description: 'The name of the page file to upload, including extension.'
          type: string
        - in: formData
          name: mimeType
          description: The MIME type of the page file to upload.
          type: string
        - in: formData
          name: MetadataParameter
          description: JSON string of a AddPaasDocumentMetadataParameter object. Example KL.Apps.OpenAPI.Controllers.Domain.RequestParameters.PaasWorkItem.AddPaasDocumentMetadataParameter.
          type: string
      responses:
        '200':
          description: WorkItem Page response.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemPageIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
                DocumentId: 00000000-0000-0000-0000-000000000000
                PageId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/SetDocumentFile:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: 'Set the file for a document, removing all current document files and pages.'
      description: 'Set the file for a document, removing all current document files and pages.'
      operationId: V1KWorkItemAPIController_SetDocumentFile
      consumes:
        - multipart/form-data
      produces:
        - application/json
      parameters:
        - in: formData
          name: WorkItemId
          description: The Work Item Id to add the document to.
          type: string
          format: uuid
        - in: formData
          name: DocumentId
          description: The Document to add the document file to.
          type: string
          format: uuid
        - in: formData
          name: File
          description: The input file to add to the new document.
          type: file
        - in: formData
          name: FileName
          description: 'The name of the document file to upload, including extension.'
          type: string
        - in: formData
          name: mimeType
          description: The MIME type of the document file to upload.
          type: string
      responses:
        '200':
          description: WorkItem Document response.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemDocumentFileIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
                DocumentId: 00000000-0000-0000-0000-000000000000
                DocumentFileId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/StoreBatchFile:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: 'Store a file for a batch, but don''t associate it with the batch itself. The result of this should be used by subsequent calls.'
      description: 'Store a file for a batch, but don''t associate it with the batch itself. The result of this should be used by subsequent calls.'
      operationId: V1KWorkItemAPIController_StoreBatchFile
      consumes:
        - multipart/form-data
      produces:
        - application/json
      parameters:
        - in: formData
          name: WorkItemId
          description: The Work Item Id.
          type: string
          format: uuid
        - in: formData
          name: File
          description: The input file to store with the batch.
          type: file
        - in: formData
          name: FileName
          description: 'The name of the batch file to upload, including extension.'
          type: string
        - in: formData
          name: mimeType
          description: The MIME type of the batch file to upload.
          type: string
      responses:
        '200':
          description: WorkItem Document response.
          schema:
            $ref: '#/definitions/KLApiDataResponseBlobIdentifierWithInfo'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                FetchBinaryStrategyId: 
                Hash: 
                Length: 0
                FileNameHint: 
                MimeType: 
                BlobId: 
                ContainerName: 
                ConnectionStringName: 
                BlobStorageSystemId: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_KWorkItemAPI/RemoveDocumentFile:
    post:
      tags:
        - V1_KWorkItemAPI
      summary: Remove a Document file for a WorkItem.
      description: Remove a Document file for a WorkItem.
      operationId: V1KWorkItemAPIController_RemoveDocumentFile
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to fetch a Document file from a WorkItem.
          required: true
          schema:
            $ref: '#/definitions/GetDocumentFileParameter'
      responses:
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/GetFingerprintInformation:
    post:
      tags:
        - V1_LearnAPI
      summary: Retrieve metadata about a single Fingerprint.
      description: Retrieve metadata about a single Fingerprint.
      operationId: V1LearnAPIController_GetFingerprintInformation
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: The id of the Fingerprint
          required: true
          schema:
            $ref: '#/definitions/FingerprintIdParameter'
      responses:
        '200':
          description: Returns a LearnFingerprintInformation object with metadata about a fingerprint.
          schema:
            $ref: '#/definitions/DataResponseLearnFingerprintInformation'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: Test Fingerprint 1
                Tags:
                  - fingerprintType1
                  - fingerprintType2
                LastModified: '2026-10-07T20:19:08.9204228+00:00'
                Modifier: appsuser2_00000000-0000-0000-0000-000000000000
                Creator: appsuser1_00000000-0000-0000-0000-000000000000
                Locked: false
                LockedTime: 
                LockedBy: ''
                ContentTypeId: 00000000-0000-0000-0000-000000000000
                ContentTypeName: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/GetAllFingerprintInformation:
    post:
      tags:
        - V1_LearnAPI
      summary: Retrieve a list of metadata about every Fingerprint.
      description: Retrieve a list of metadata about every Fingerprint.
      operationId: V1LearnAPIController_GetAllFingerprintInformation
      produces:
        - application/json
      responses:
        '200':
          description: Returns a list of LearnFingerprintInformation objects with metadata about every fingerprint.
          schema:
            $ref: '#/definitions/DataResponseLearnFingerprintInformationList'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - Id: 00000000-0000-0000-0000-000000000000
                  Name: Test Fingerprint 1
                  Tags:
                    - fingerprintType1
                    - fingerprintType2
                  LastModified: '2026-10-07T20:19:08.9204469+00:00'
                  Modifier: appsuser2_00000000-0000-0000-0000-000000000000
                  Creator: appsuser1_00000000-0000-0000-0000-000000000000
                  Locked: false
                  LockedTime: 
                  LockedBy: ''
                  ContentTypeId: 00000000-0000-0000-0000-000000000000
                  ContentTypeName: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/ExportFingerprintDefinition:
    post:
      tags:
        - V1_LearnAPI
      summary: Export a Fingerprint definition. Note to import a Fingerprint requires both a Definition and the exported Fingerprint Files.
      description: Export a Fingerprint definition. Note to import a Fingerprint requires both a Definition and the exported Fingerprint Files.
      operationId: V1LearnAPIController_ExportFingerprintDefinition
      consumes:
        - application/json
      produces:
        - application/octet-stream
        - application/json
      parameters:
        - in: body
          name: body
          description: The id of the Fingerprint
          required: true
          schema:
            $ref: '#/definitions/FingerprintIdParameter'
      responses:
        '200':
          description: Returns the fingerprint definition file (.klfd)
          schema:
            type: file
          headers:
            Content-Disposition:
              description: attachment; filename="filename.jpg"
              type: string
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/ExportFingerprintFiles:
    post:
      tags:
        - V1_LearnAPI
      summary: Export a Fingerprint's definition and training files. Note to import a Fingerprint requires both a Definition and the exported Fingerprint Files.
      description: Export a Fingerprint's definition and training files. Note to import a Fingerprint requires both a Definition and the exported Fingerprint Files.
      operationId: V1LearnAPIController_ExportFingerprintFiles
      consumes:
        - application/json
      produces:
        - application/octet-stream
        - application/json
      parameters:
        - in: body
          name: body
          description: The id of the Fingerprint
          required: true
          schema:
            $ref: '#/definitions/FingerprintIdParameter'
      responses:
        '200':
          description: Returns the fingerprint files archive file (.klff)
          schema:
            type: file
          headers:
            Content-Disposition:
              description: attachment; filename="filename.jpg"
              type: string
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/ImportFingerprint:
    post:
      tags:
        - V1_LearnAPI
      summary: Import a Fingerprint's definition and training files.
      description: Import a Fingerprint's definition and training files.
      operationId: V1LearnAPIController_ImportFingerprint
      consumes:
        - multipart/form-data
      produces:
        - application/json
      parameters:
        - in: formData
          name: FingerprintDefinitionFile
          description: The fingerprint definition file (.klfd)
          type: file
        - in: formData
          name: FingerprintFilesFile
          description: The fingerprint files archive (.klff)
          type: file
        - in: formData
          name: ContentTypeMapping
          description: "An JSON-stringified object used to map content types during import. EXAMPLE: {\n  \"NewContentTypeId\": \"00000000-0000-0000-0000-000000000000\"\n}"
          type: string
      responses:
        '200':
          description: Returns a LearnFingerprintInformation object with metadata about a fingerprint.
          schema:
            $ref: '#/definitions/DataResponseLearnFingerprintInformation'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: Test Fingerprint 1
                Tags:
                  - fingerprintType1
                  - fingerprintType2
                LastModified: '2026-10-07T20:19:08.9205183+00:00'
                Modifier: appsuser2_00000000-0000-0000-0000-000000000000
                Creator: appsuser1_00000000-0000-0000-0000-000000000000
                Locked: false
                LockedTime: 
                LockedBy: ''
                ContentTypeId: 00000000-0000-0000-0000-000000000000
                ContentTypeName: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/CreateNewFingerprint:
    post:
      tags:
        - V1_LearnAPI
      summary: Create a new fingerprint with no Rules except the Default Rule setting content type
      description: Create a new fingerprint with no Rules except the Default Rule setting content type
      operationId: V1LearnAPIController_CreateNewFingerprint
      consumes:
        - multipart/form-data
      produces:
        - application/json
      parameters:
        - in: formData
          name: FingerprintModelImageFile
          description: The image file to use as the model file for the Fingerprint (.tiff/.tif and .pdf only)
          type: file
        - in: formData
          name: AddFingerprintInformation
          description: Object representing the Fingerprint information to add on creation
          type: string
      responses:
        '200':
          description: Returns a LearnFingerprintInformation object with metadata about a fingerprint.
          schema:
            $ref: '#/definitions/DataResponseLearnFingerprintInformation'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: Test Fingerprint 1
                Tags:
                  - fingerprintType1
                  - fingerprintType2
                LastModified: '2026-10-07T20:19:08.9205529+00:00'
                Modifier: appsuser2_00000000-0000-0000-0000-000000000000
                Creator: appsuser1_00000000-0000-0000-0000-000000000000
                Locked: false
                LockedTime: 
                LockedBy: ''
                ContentTypeId: 00000000-0000-0000-0000-000000000000
                ContentTypeName: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/DeleteFingerprint:
    post:
      tags:
        - V1_LearnAPI
      summary: Permanently removes a Fingerprint and all ascociated files.
      description: Permanently removes a Fingerprint and all ascociated files.
      operationId: V1LearnAPIController_DeleteFingerprint
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: The id of the Fingerprint and a lock override
          required: true
          schema:
            $ref: '#/definitions/ModifyTrainingFilesParameter'
      responses:
        '200':
          description: Returns a success object.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/AddRegexToOcrRule:
    post:
      tags:
        - V1_LearnAPI
      summary: Add a new Rule to a fingerprint with a single Regex Anchor Condition and a single Ocr Action.
      description: Add a new Rule to a fingerprint with a single Regex Anchor Condition and a single Ocr Action.
      operationId: V1LearnAPIController_AddRegexToOcrRule
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: The configuration for the regex and ocr zones
          required: true
          schema:
            $ref: '#/definitions/RegexToOcrInteractionDefinition'
      responses:
        '200':
          description: Returns a success object.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/AddImageAnchorToOcrRule:
    post:
      tags:
        - V1_LearnAPI
      summary: Add a new Rule to a fingerprint with a single Image Anchor Condition and a single Ocr Action.
      description: Add a new Rule to a fingerprint with a single Image Anchor Condition and a single Ocr Action.
      operationId: V1LearnAPIController_AddImageAnchorToOcrRule
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: The configuration for the image anchor and ocr zones
          required: true
          schema:
            $ref: '#/definitions/ImageAnchorToOcrInteractionDefinition'
      responses:
        '200':
          description: Returns a success object.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/AddStaticMetadataActionToDefaultRule:
    post:
      tags:
        - V1_LearnAPI
      summary: Add a new static metadata action to the existing default rule.
      description: Add a new static metadata action to the existing default rule.
      operationId: V1LearnAPIController_AddStaticMetadataActionToDefaultRule
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: The configuration for the static metadata action
          required: true
          schema:
            $ref: '#/definitions/StaticMetadataActionDefinition'
      responses:
        '200':
          description: Returns a success object.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/AddTrainingFile:
    post:
      tags:
        - V1_LearnAPI
      summary: Add training file to an existing Fingerprint
      description: Add training file to an existing Fingerprint
      operationId: V1LearnAPIController_AddTrainingFile
      consumes:
        - multipart/form-data
      produces:
        - application/json
      parameters:
        - in: formData
          name: FingerprintTrainingImageFile
          description: The image file to use as the model file for the Fingerprint (.tiff and .pdf only)
          type: file
        - in: formData
          name: ModifyTrainingFiles
          description: "Guid of the content type id to set for documents that match this fingerprint. EXAMPLE: {\n  \"FingerprintId\": \"00000000-0000-0000-0000-000000000000\",\n  \"ForceOverrideLock\": false,\n  \"FileName\": null,\n  \"mimeType\": null\n}"
          type: string
      responses:
        '200':
          description: Returns a success object.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/RemoveTrainingFiles:
    post:
      tags:
        - V1_LearnAPI
      summary: Removes all training files associated with a Fingerprint. This does not remove the model file
      description: Removes all training files associated with a Fingerprint. This does not remove the model file
      operationId: V1LearnAPIController_RemoveTrainingFiles
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: The id of the Fingerprint and a lock override
          required: true
          schema:
            $ref: '#/definitions/ModifyTrainingFilesParameter'
      responses:
        '200':
          description: Returns a success object.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/SetTags:
    post:
      tags:
        - V1_LearnAPI
      summary: Set the tags for a Fingerprint
      description: Set the tags for a Fingerprint
      operationId: V1LearnAPIController_SetTags
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Object representing the tags and id of the Fingerprint to apply them to
          required: true
          schema:
            $ref: '#/definitions/SetFingerprintTagsParameter'
      responses:
        '200':
          description: Returns a success object.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/ChangeFingerprintContentType:
    post:
      tags:
        - V1_LearnAPI
      summary: Used to update the content type set by the Fingerprint on a match (in the default rule)
      description: Used to update the content type set by the Fingerprint on a match (in the default rule)
      operationId: V1LearnAPIController_ChangeFingerprintContentType
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: 'Object representing the Fingerprint id, and the mapping to the new content type'
          required: true
          schema:
            $ref: '#/definitions/ChangeFingerprintContentTypeParameter'
      responses:
        '200':
          description: Returns a success object.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_LearnAPI/SyncFingerprintsForProcessing:
    post:
      tags:
        - V1_LearnAPI
      summary: Cause the processing engine to update its cached list of fingerprints.
      description: Cause the processing engine to update its cached list of fingerprints.
      operationId: V1LearnAPIController_SyncFingerprintsForProcessing
      produces:
        - application/json
      responses:
        '200':
          description: Returns a success object.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/NewWorkItem:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Creates a new work item that represents a batch in the processing system.
      description: Creates a new work item that represents a batch in the processing system.
      operationId: V1ProcessingAPIController_NewWorkItem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the work item
          required: true
          schema:
            $ref: '#/definitions/WorkItemNamedParameter'
      responses:
        '200':
          description: The workitem as idenitfied by the passed in parameter
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchName: Batch Name
                HoldId: 00000000-0000-0000-0000-000000000000
                ScheduledDeletion: '2026-10-07T20:19:08.9206854+00:00'
                UserLockTimeStamp: '2026-10-07T20:19:08.9206856+00:00'
                WorkerLockTimeStamp: '2026-10-07T20:19:08.9206857+00:00'
                UserToken: admin_00000000-0000-0000-0000-000000000000
                Suspended: false
                LockWorkerId: 
                DueDate: '2026-10-07T20:19:08.9206869+00:00'
                RoleId: 00000000-0000-0000-0000-000000000000
                Status: Active
                ActivityActive: true
                ActivityId: 00000000-0000-0000-0000-000000000000
                ItemId: 00000000-0000-0000-0000-000000000000
                HoldStatus: 
                ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/LockWorkItem:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Locks an existing work item to the user associated with the API token used to invoke this endpoint.
      description: Locks an existing work item to the user associated with the API token used to invoke this endpoint.
      operationId: V1ProcessingAPIController_LockWorkItem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the work item
          required: true
          schema:
            $ref: '#/definitions/WorkItemIdentifierParameter'
      responses:
        '200':
          description: The workitem as idenitfied by the passed in parameter
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchName: Batch Name
                HoldId: 00000000-0000-0000-0000-000000000000
                ScheduledDeletion: '2026-10-07T20:19:08.9207063+00:00'
                UserLockTimeStamp: '2026-10-07T20:19:08.9207064+00:00'
                WorkerLockTimeStamp: '2026-10-07T20:19:08.9207064+00:00'
                UserToken: admin_00000000-0000-0000-0000-000000000000
                Suspended: false
                LockWorkerId: 
                DueDate: '2026-10-07T20:19:08.9207066+00:00'
                RoleId: 00000000-0000-0000-0000-000000000000
                Status: Active
                ActivityActive: true
                ActivityId: 00000000-0000-0000-0000-000000000000
                ItemId: 00000000-0000-0000-0000-000000000000
                HoldStatus: 
                ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/UnlockWorkItem:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Unlocks an existing work item.
      description: Unlocks an existing work item.
      operationId: V1ProcessingAPIController_UnlockWorkItem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the work item
          required: true
          schema:
            $ref: '#/definitions/WorkItemIdentifierParameter'
      responses:
        '200':
          description: The workitem as idenitfied by the passed in parameter
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchName: Batch Name
                HoldId: 00000000-0000-0000-0000-000000000000
                ScheduledDeletion: '2026-10-07T20:19:08.9207176+00:00'
                UserLockTimeStamp: '2026-10-07T20:19:08.9207176+00:00'
                WorkerLockTimeStamp: '2026-10-07T20:19:08.9207177+00:00'
                UserToken: admin_00000000-0000-0000-0000-000000000000
                Suspended: false
                LockWorkerId: 
                DueDate: '2026-10-07T20:19:08.9207178+00:00'
                RoleId: 00000000-0000-0000-0000-000000000000
                Status: Active
                ActivityActive: true
                ActivityId: 00000000-0000-0000-0000-000000000000
                ItemId: 00000000-0000-0000-0000-000000000000
                HoldStatus: 
                ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/RemoveWorkItem:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Removes an existing work item.
      description: Removes an existing work item.
      operationId: V1ProcessingAPIController_RemoveWorkItem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the work item
          required: true
          schema:
            $ref: '#/definitions/WorkItemIdentifierParameter'
      responses:
        '200':
          description: The work item was successfully removed from the processing system.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/ReleaseHold:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Removes the hold on an existing work item if it exists.
      description: Removes the hold on an existing work item if it exists.
      operationId: V1ProcessingAPIController_ReleaseHold
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the work item
          required: true
          schema:
            $ref: '#/definitions/WorkItemIdentifierParameter'
      responses:
        '200':
          description: The workitem as idenitfied by the passed in parameter
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchName: Batch Name
                HoldId: 00000000-0000-0000-0000-000000000000
                ScheduledDeletion: '2026-10-07T20:19:08.9207354+00:00'
                UserLockTimeStamp: '2026-10-07T20:19:08.9207355+00:00'
                WorkerLockTimeStamp: '2026-10-07T20:19:08.9207356+00:00'
                UserToken: admin_00000000-0000-0000-0000-000000000000
                Suspended: false
                LockWorkerId: 
                DueDate: '2026-10-07T20:19:08.9207357+00:00'
                RoleId: 00000000-0000-0000-0000-000000000000
                Status: Active
                ActivityActive: true
                ActivityId: 00000000-0000-0000-0000-000000000000
                ItemId: 00000000-0000-0000-0000-000000000000
                HoldStatus: 
                ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/GetWorkitem:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Gets a Workitem based on the id of provided
      description: Gets a Workitem based on the id of provided
      operationId: V1ProcessingAPIController_GetWorkitem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the work item
          required: true
          schema:
            $ref: '#/definitions/WorkItemIdentifierParameter'
      responses:
        '200':
          description: The workitem as idenitfied by the passed in parameter
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchName: Batch Name
                HoldId: 00000000-0000-0000-0000-000000000000
                ScheduledDeletion: '2026-10-07T20:19:08.9207477+00:00'
                UserLockTimeStamp: '2026-10-07T20:19:08.9207478+00:00'
                WorkerLockTimeStamp: '2026-10-07T20:19:08.9207479+00:00'
                UserToken: admin_00000000-0000-0000-0000-000000000000
                Suspended: false
                LockWorkerId: 
                DueDate: '2026-10-07T20:19:08.9207480+00:00'
                RoleId: 00000000-0000-0000-0000-000000000000
                Status: Active
                ActivityActive: true
                ActivityId: 00000000-0000-0000-0000-000000000000
                ItemId: 00000000-0000-0000-0000-000000000000
                HoldStatus: 
                ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/GetAllWorkitems:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Gets all Workitems
      description: Gets all Workitems
      operationId: V1ProcessingAPIController_GetAllWorkitems
      produces:
        - application/json
      responses:
        '200':
          description: All the workitems available in the system
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTOList'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - BatchName: Batch Name
                  HoldId: 00000000-0000-0000-0000-000000000000
                  ScheduledDeletion: '2026-10-07T20:19:08.9207571+00:00'
                  UserLockTimeStamp: '2026-10-07T20:19:08.9207571+00:00'
                  WorkerLockTimeStamp: '2026-10-07T20:19:08.9207572+00:00'
                  UserToken: admin_00000000-0000-0000-0000-000000000000
                  Suspended: false
                  LockWorkerId: 
                  DueDate: '2026-10-07T20:19:08.9207573+00:00'
                  RoleId: 00000000-0000-0000-0000-000000000000
                  Status: Active
                  ActivityActive: true
                  ActivityId: 00000000-0000-0000-0000-000000000000
                  ItemId: 00000000-0000-0000-0000-000000000000
                  HoldStatus: 
                  ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/GetWorkItemMonitorData:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Retrieves monitor data for all work items in the processing system
      description: Retrieves monitor data for all work items in the processing system
      operationId: V1ProcessingAPIController_GetWorkItemMonitorData
      produces:
        - application/json
      responses:
        '200':
          description: Returns monitor data for all work items in the processing system
          schema:
            $ref: '#/definitions/DataResponseWorkItemMonitorDataDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemData:
                  - WorkItemId: 00000000-0000-0000-0000-000000000000
                    WorkItemName: 20201117-222444018
                    WorkItemStatus: Active
                    ProcessName: Test Process 1
                    ActivityName: Upload To Destination
                    HoldId: 00000000-0000-0000-0000-000000000000
                    WorkItemUser: bmk_93ae2a09ea3e06cebb195878ef147db546f2a653
                    LastUpdated: '2026-10-07T20:19:08.9207721+00:00'
                TotalItems: '5'
                ErrorItems: '100'
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/QueryForWorkItems:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Queries the current work items in the processing system.
      description: Queries the current work items in the processing system.
      operationId: V1ProcessingAPIController_QueryForWorkItems
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Optional filters used to narrow the work item query
          required: true
          schema:
            $ref: '#/definitions/WorkItemQueryParameter'
      responses:
        '200':
          description: Returns a list of work items matching the supplied query filters
          schema:
            $ref: '#/definitions/DataResponseWorkitemQueryResultList'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - WorkItemId: 4704ba05-f83b-46fb-27b8-91b0a3522cc1
                  HoldId: 
                  LastUpdated: '2026-10-07T20:19:08.9208005+00:00'
                  WorkItemName: 20201117-222444018
                  Status: Active
                  Process: Invoice Capture
                  Step: Index Documents
                  UserToken: bmk_93ae2a09ea3e06cebb195878ef147db546f2a653
                  Properties: [ ]
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/QueryForWorkItemHistories:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Retrieves event history for work items in the processing system
      description: Retrieves event history for work items in the processing system
      operationId: V1ProcessingAPIController_QueryForWorkItemHistories
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Optional filters for work item event history
          required: true
          schema:
            $ref: '#/definitions/WorkItemHistoryQueryParameter'
      responses:
        '200':
          description: Returns a list of event history records for matching work items
          schema:
            $ref: '#/definitions/DataResponseBatchMonitorWorkItemDataDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - WorkitemId: 4704ba05-f83b-46fb-27b8-91b0a3522cc1
                  Level: Error
                  EntryDate: '2026-10-07T20:19:08.9208213+00:00'
                  Process: Your Process
                  Step: Index Your Documents
                  EventDescription: processing.workitem.error
                  Properties: [ ]
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/StartWorkitem:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Starts the workitem provided as a parameter
      description: Starts the workitem provided as a parameter
      operationId: V1ProcessingAPIController_StartWorkitem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: The work item to start
          required: true
          schema:
            $ref: '#/definitions/WorkItemDTO'
      responses:
        '200':
          description: The workitem as idenitfied by the passed in parameter
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchName: Batch Name
                HoldId: 00000000-0000-0000-0000-000000000000
                ScheduledDeletion: '2026-10-07T20:19:08.9208389+00:00'
                UserLockTimeStamp: '2026-10-07T20:19:08.9208390+00:00'
                WorkerLockTimeStamp: '2026-10-07T20:19:08.9208391+00:00'
                UserToken: admin_00000000-0000-0000-0000-000000000000
                Suspended: false
                LockWorkerId: 
                DueDate: '2026-10-07T20:19:08.9208393+00:00'
                RoleId: 00000000-0000-0000-0000-000000000000
                Status: Active
                ActivityActive: true
                ActivityId: 00000000-0000-0000-0000-000000000000
                ItemId: 00000000-0000-0000-0000-000000000000
                HoldStatus: 
                ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/StopWorkitem:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Stops the workitem provided as a parameter
      description: Stops the workitem provided as a parameter
      operationId: V1ProcessingAPIController_StopWorkitem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the work item
          required: true
          schema:
            $ref: '#/definitions/WorkItemDTO'
      responses:
        '200':
          description: The workitem as idenitfied by the passed in parameter
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchName: Batch Name
                HoldId: 00000000-0000-0000-0000-000000000000
                ScheduledDeletion: '2026-10-07T20:19:08.9208603+00:00'
                UserLockTimeStamp: '2026-10-07T20:19:08.9208604+00:00'
                WorkerLockTimeStamp: '2026-10-07T20:19:08.9208605+00:00'
                UserToken: admin_00000000-0000-0000-0000-000000000000
                Suspended: false
                LockWorkerId: 
                DueDate: '2026-10-07T20:19:08.9208607+00:00'
                RoleId: 00000000-0000-0000-0000-000000000000
                Status: Active
                ActivityActive: true
                ActivityId: 00000000-0000-0000-0000-000000000000
                ItemId: 00000000-0000-0000-0000-000000000000
                HoldStatus: 
                ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/ResubmitWorkitem:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Resubmits the workitem provided as a parameter to its current activity
      description: Resubmits the workitem provided as a parameter to its current activity
      operationId: V1ProcessingAPIController_ResubmitWorkitem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the work item
          required: true
          schema:
            $ref: '#/definitions/WorkItemDTO'
      responses:
        '200':
          description: The workitem as idenitfied by the passed in parameter
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchName: Batch Name
                HoldId: 00000000-0000-0000-0000-000000000000
                ScheduledDeletion: '2026-10-07T20:19:08.9208808+00:00'
                UserLockTimeStamp: '2026-10-07T20:19:08.9208809+00:00'
                WorkerLockTimeStamp: '2026-10-07T20:19:08.9208809+00:00'
                UserToken: admin_00000000-0000-0000-0000-000000000000
                Suspended: false
                LockWorkerId: 
                DueDate: '2026-10-07T20:19:08.9208811+00:00'
                RoleId: 00000000-0000-0000-0000-000000000000
                Status: Active
                ActivityActive: true
                ActivityId: 00000000-0000-0000-0000-000000000000
                ItemId: 00000000-0000-0000-0000-000000000000
                HoldStatus: 
                ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/RestartWorkitem:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Restarts the process of the workitem provided as a parameter
      description: Restarts the process of the workitem provided as a parameter
      operationId: V1ProcessingAPIController_RestartWorkitem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the work item
          required: true
          schema:
            $ref: '#/definitions/WorkItemDTO'
      responses:
        '200':
          description: The workitem as idenitfied by the passed in parameter
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchName: Batch Name
                HoldId: 00000000-0000-0000-0000-000000000000
                ScheduledDeletion: '2026-10-07T20:19:08.9209032+00:00'
                UserLockTimeStamp: '2026-10-07T20:19:08.9209032+00:00'
                WorkerLockTimeStamp: '2026-10-07T20:19:08.9209033+00:00'
                UserToken: admin_00000000-0000-0000-0000-000000000000
                Suspended: false
                LockWorkerId: 
                DueDate: '2026-10-07T20:19:08.9209035+00:00'
                RoleId: 00000000-0000-0000-0000-000000000000
                Status: Active
                ActivityActive: true
                ActivityId: 00000000-0000-0000-0000-000000000000
                ItemId: 00000000-0000-0000-0000-000000000000
                HoldStatus: 
                ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/SendWorkItemToProcess:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Sends the workitem provided as a parameter to a specified process
      description: Sends the workitem provided as a parameter to a specified process
      operationId: V1ProcessingAPIController_SendWorkItemToProcess
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the work item
          required: true
          schema:
            $ref: '#/definitions/SendBatchToProcessDTO'
      responses:
        '200':
          description: The workitem as idenitfied by the passed in parameter
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchName: Batch Name
                HoldId: 00000000-0000-0000-0000-000000000000
                ScheduledDeletion: '2026-10-07T20:19:08.9209608+00:00'
                UserLockTimeStamp: '2026-10-07T20:19:08.9209609+00:00'
                WorkerLockTimeStamp: '2026-10-07T20:19:08.9209610+00:00'
                UserToken: admin_00000000-0000-0000-0000-000000000000
                Suspended: false
                LockWorkerId: 
                DueDate: '2026-10-07T20:19:08.9209613+00:00'
                RoleId: 00000000-0000-0000-0000-000000000000
                Status: Active
                ActivityActive: true
                ActivityId: 00000000-0000-0000-0000-000000000000
                ItemId: 00000000-0000-0000-0000-000000000000
                HoldStatus: 
                ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/GetProcess:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Gets all configured processes
      description: Gets all configured processes
      operationId: V1ProcessingAPIController_GetProcess
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the process
          required: true
          schema:
            $ref: '#/definitions/ProcessIdentifierParameter'
      responses:
        '200':
          description: Sets the workitem provided to an stopped status so it cannot be worked
          schema:
            $ref: '#/definitions/DataResponseProcessDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 00000000-0000-0000-0000-000000000000
                Name: 
                Version: '0'
                CheckOutUserToken: 
                FirstActivityID: 
                Activities: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_ProcessingAPI/GetAllProcesses:
    post:
      tags:
        - V1_ProcessingAPI
      summary: Gets all configured processes
      description: Gets all configured processes
      operationId: V1ProcessingAPIController_GetAllProcesses
      produces:
        - application/json
      responses:
        '200':
          description: Gets all the currently defined processes.
          schema:
            $ref: '#/definitions/DataResponseProcessDTOList'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - Id: 00000000-0000-0000-0000-000000000000
                  Name: Process name
                  Version: '1'
                  CheckOutUserToken: Checked out user Token
                  FirstActivityID: 00000000-0000-0000-0000-000000000000
                  Activities: 
                - Id: 00000000-0000-0000-0000-000000000000
                  Name: Process name
                  Version: '1'
                  CheckOutUserToken: Checked out user Token
                  FirstActivityID: 00000000-0000-0000-0000-000000000000
                  Activities: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/GetDestinations:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Retrieves a collection of connectors.
      description: Retrieves a collection of connectors.
      operationId: V1RepositoryAPIController_GetDestinations
      produces:
        - application/json
      responses:
        '200':
          description: Returns a collection of connectors.
          schema:
            $ref: '#/definitions/DataResponseRepositoryConnectorDTOCollection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - ConnectorId: 00000000-0000-0000-0000-000000000000
                  DisplayName: Display Name
                  ConnectorDefinitionId: Connector Definition Id
                  GatewayId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/GetSources:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Retrieves a collection of sources.
      description: Retrieves a collection of sources.
      operationId: V1RepositoryAPIController_GetSources
      produces:
        - application/json
      responses:
        '200':
          description: Returns a collection of sources.
          schema:
            $ref: '#/definitions/DataResponseRepositoryConnectorDTOCollection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - ConnectorId: 00000000-0000-0000-0000-000000000000
                  DisplayName: Display Name
                  ConnectorDefinitionId: Connector Definition Id
                  GatewayId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/GetContentTypes:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Retrieves a collection of content types that the user associated with the provided token has access to interact with.
      description: Retrieves a collection of content types that the user associated with the provided token has access to interact with.
      operationId: V1RepositoryAPIController_GetContentTypes
      produces:
        - application/json
      responses:
        '200':
          description: 'Returns a collection of content types, including associated fields and configurations.'
          schema:
            $ref: '#/definitions/DataResponseContentTypeDTOCollection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - InternalId: 00000000-0000-0000-0000-000000000000
                  ContentTypeId: Example CT 1
                  ContentTypeDisplayName: Example CT 1
                  FieldDefinitions:
                    - MetadataKey: Example Field Name
                      ConfiguredUI:
                        Sequence: '0'
                        UIKind: Textbox
                        UIConfig:
                          - Key: Label
                            Value: Example Field Name
                          - Key: Visible
                            Value: 'true'
                          - Key: Enabled
                            Value: 'true'
                          - Key: Errors
                            Value: ''
                      ConfiguredBehaviors:
                        - BehaviorId: Automatic Indexing
                          BehaviorKey: Behavior Key
                          Sequence: '0'
                          LockedBehavior: false
                          BehaviorConfig:
                            - Key: Example Behavior Key
                              Value: Example Behavior Value
                      MetadataDescription:
                        - MetadataKey: Example Key
                          MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/GetContentTypesByDestination:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Retrieves a collection of content types that the user associated with the provided token has access to interact with from the provided destination.
      description: Retrieves a collection of content types that the user associated with the provided token has access to interact with from the provided destination.
      operationId: V1RepositoryAPIController_GetContentTypesByDestination
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: A connector DTO object
          required: true
          schema:
            $ref: '#/definitions/RepositoryConnectorDTO'
      responses:
        '200':
          description: 'Returns a collection of content types, including associated fields and configurations.'
          schema:
            $ref: '#/definitions/DataResponseContentTypeDTOCollection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - InternalId: 00000000-0000-0000-0000-000000000000
                  ContentTypeId: Example CT 1
                  ContentTypeDisplayName: Example CT 1
                  FieldDefinitions:
                    - MetadataKey: Example Field Name
                      ConfiguredUI:
                        Sequence: '0'
                        UIKind: Textbox
                        UIConfig:
                          - Key: Label
                            Value: Example Field Name
                          - Key: Visible
                            Value: 'true'
                          - Key: Enabled
                            Value: 'true'
                          - Key: Errors
                            Value: ''
                      ConfiguredBehaviors:
                        - BehaviorId: Automatic Indexing
                          BehaviorKey: Behavior Key
                          Sequence: '0'
                          LockedBehavior: false
                          BehaviorConfig:
                            - Key: Example Behavior Key
                              Value: Example Behavior Value
                      MetadataDescription:
                        - MetadataKey: Example Key
                          MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/AddContentType:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Adds a user-defined content type with a provided name to the specified connector.
      description: Adds a user-defined content type with a provided name to the specified connector.
      operationId: V1RepositoryAPIController_AddContentType
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the connector and the desired initial state of the content type to be added
          required: true
          schema:
            $ref: '#/definitions/AddContentTypeParameter'
      responses:
        '200':
          description: Returns an object representation of the newly created content type.
          schema:
            $ref: '#/definitions/DataResponseContentTypeDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                InternalId: 00000000-0000-0000-0000-000000000000
                ContentTypeId: Example CT 1
                ContentTypeDisplayName: Example CT 1
                FieldDefinitions:
                  - MetadataKey: Example Field Name
                    ConfiguredUI:
                      Sequence: '0'
                      UIKind: Textbox
                      UIConfig:
                        - Key: Label
                          Value: Example Field Name
                        - Key: Visible
                          Value: 'true'
                        - Key: Enabled
                          Value: 'true'
                        - Key: Errors
                          Value: ''
                    ConfiguredBehaviors:
                      - BehaviorId: Automatic Indexing
                        BehaviorKey: Behavior Key
                        Sequence: '0'
                        LockedBehavior: false
                        BehaviorConfig:
                          - Key: Example Behavior Key
                            Value: Example Behavior Value
                    MetadataDescription:
                      - MetadataKey: Example Key
                        MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/SetContentTypeDisplayName:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Sets a new display name for a preexisting content type.
      description: Sets a new display name for a preexisting content type.
      operationId: V1RepositoryAPIController_SetContentTypeDisplayName
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the content type as well as a new display name value
          required: true
          schema:
            $ref: '#/definitions/SetContentTypeDisplayNameParameter'
      responses:
        '200':
          description: Returns the modified content type
          schema:
            $ref: '#/definitions/DataResponseContentTypeDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                InternalId: 00000000-0000-0000-0000-000000000000
                ContentTypeId: Example CT 1
                ContentTypeDisplayName: Example CT 1
                FieldDefinitions:
                  - MetadataKey: Example Field Name
                    ConfiguredUI:
                      Sequence: '0'
                      UIKind: Textbox
                      UIConfig:
                        - Key: Label
                          Value: Example Field Name
                        - Key: Visible
                          Value: 'true'
                        - Key: Enabled
                          Value: 'true'
                        - Key: Errors
                          Value: ''
                    ConfiguredBehaviors:
                      - BehaviorId: Automatic Indexing
                        BehaviorKey: Behavior Key
                        Sequence: '0'
                        LockedBehavior: false
                        BehaviorConfig:
                          - Key: Example Behavior Key
                            Value: Example Behavior Value
                    MetadataDescription:
                      - MetadataKey: Example Key
                        MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/SetContentTypeVisible:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Sets the visibility of a preexisting content type.
      description: Sets the visibility of a preexisting content type.
      operationId: V1RepositoryAPIController_SetContentTypeVisible
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the content type as well as a visiblity value
          required: true
          schema:
            $ref: '#/definitions/SetContentTypeVisibleParameter'
      responses:
        '200':
          description: Returns the modified content type
          schema:
            $ref: '#/definitions/DataResponseContentTypeDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                InternalId: 00000000-0000-0000-0000-000000000000
                ContentTypeId: Example CT 1
                ContentTypeDisplayName: Example CT 1
                FieldDefinitions:
                  - MetadataKey: Example Field Name
                    ConfiguredUI:
                      Sequence: '0'
                      UIKind: Textbox
                      UIConfig:
                        - Key: Label
                          Value: Example Field Name
                        - Key: Visible
                          Value: 'true'
                        - Key: Enabled
                          Value: 'true'
                        - Key: Errors
                          Value: ''
                    ConfiguredBehaviors:
                      - BehaviorId: Automatic Indexing
                        BehaviorKey: Behavior Key
                        Sequence: '0'
                        LockedBehavior: false
                        BehaviorConfig:
                          - Key: Example Behavior Key
                            Value: Example Behavior Value
                    MetadataDescription:
                      - MetadataKey: Example Key
                        MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/AddContentTypeField:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Adds a user-defined field to a specified content type
      description: Adds a user-defined field to a specified content type
      operationId: V1RepositoryAPIController_AddContentTypeField
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing the desired inital state of the field to be added to the specified content type
          required: true
          schema:
            $ref: '#/definitions/AddContentTypeFieldParameter'
      responses:
        '200':
          description: Returns an object representation of the newly added field.
          schema:
            $ref: '#/definitions/DataResponseContentTypeFieldDefinitionDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                MetadataKey: Example Field Name
                ConfiguredUI:
                  Sequence: '0'
                  UIKind: Textbox
                  UIConfig:
                    - Key: Label
                      Value: Example Field Name
                    - Key: Visible
                      Value: 'true'
                    - Key: Enabled
                      Value: 'true'
                    - Key: Errors
                      Value: ''
                ConfiguredBehaviors:
                  - BehaviorId: Automatic Indexing
                    BehaviorKey: Behavior Key
                    Sequence: '0'
                    LockedBehavior: false
                    BehaviorConfig:
                      - Key: Example Behavior Key
                        Value: Example Behavior Value
                MetadataDescription:
                  - MetadataKey: Example Key
                    MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/SetContentTypeFieldStyle:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Sets the style of a specified field
      description: Sets the style of a specified field
      operationId: V1RepositoryAPIController_SetContentTypeFieldStyle
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information for the field and the style to which it should be set
          required: true
          schema:
            $ref: '#/definitions/SetContentTypeFieldStyleParameter'
      responses:
        '200':
          description: Returns an object representation of the newly modified field.
          schema:
            $ref: '#/definitions/DataResponseContentTypeFieldDefinitionDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                MetadataKey: Example Field Name
                ConfiguredUI:
                  Sequence: '0'
                  UIKind: Textbox
                  UIConfig:
                    - Key: Label
                      Value: Example Field Name
                    - Key: Visible
                      Value: 'true'
                    - Key: Enabled
                      Value: 'true'
                    - Key: Errors
                      Value: ''
                ConfiguredBehaviors:
                  - BehaviorId: Automatic Indexing
                    BehaviorKey: Behavior Key
                    Sequence: '0'
                    LockedBehavior: false
                    BehaviorConfig:
                      - Key: Example Behavior Key
                        Value: Example Behavior Value
                MetadataDescription:
                  - MetadataKey: Example Key
                    MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/SetContentTypeFieldLabel:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Sets the label of a specified field
      description: Sets the label of a specified field
      operationId: V1RepositoryAPIController_SetContentTypeFieldLabel
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information for the field and a new value for its label
          required: true
          schema:
            $ref: '#/definitions/SetContentTypeFieldLabelParameter'
      responses:
        '200':
          description: Returns an object representation of the newly modified field.
          schema:
            $ref: '#/definitions/DataResponseContentTypeFieldDefinitionDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                MetadataKey: Example Field Name
                ConfiguredUI:
                  Sequence: '0'
                  UIKind: Textbox
                  UIConfig:
                    - Key: Label
                      Value: Example Field Name
                    - Key: Visible
                      Value: 'true'
                    - Key: Enabled
                      Value: 'true'
                    - Key: Errors
                      Value: ''
                ConfiguredBehaviors:
                  - BehaviorId: Automatic Indexing
                    BehaviorKey: Behavior Key
                    Sequence: '0'
                    LockedBehavior: false
                    BehaviorConfig:
                      - Key: Example Behavior Key
                        Value: Example Behavior Value
                MetadataDescription:
                  - MetadataKey: Example Key
                    MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/SetContentTypeFieldEnabled:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Enables or disables a specified field
      description: Enables or disables a specified field
      operationId: V1RepositoryAPIController_SetContentTypeFieldEnabled
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information for the field and whether it is enabled or not
          required: true
          schema:
            $ref: '#/definitions/SetContentTypeFieldEnabledParameter'
      responses:
        '200':
          description: Returns an object representation of the newly modified field.
          schema:
            $ref: '#/definitions/DataResponseContentTypeFieldDefinitionDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                MetadataKey: Example Field Name
                ConfiguredUI:
                  Sequence: '0'
                  UIKind: Textbox
                  UIConfig:
                    - Key: Label
                      Value: Example Field Name
                    - Key: Visible
                      Value: 'true'
                    - Key: Enabled
                      Value: 'true'
                    - Key: Errors
                      Value: ''
                ConfiguredBehaviors:
                  - BehaviorId: Automatic Indexing
                    BehaviorKey: Behavior Key
                    Sequence: '0'
                    LockedBehavior: false
                    BehaviorConfig:
                      - Key: Example Behavior Key
                        Value: Example Behavior Value
                MetadataDescription:
                  - MetadataKey: Example Key
                    MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/SetContentTypeFieldVisible:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Enables or disables a specified field's visibility
      description: Enables or disables a specified field's visibility
      operationId: V1RepositoryAPIController_SetContentTypeFieldVisible
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information for the field and whether it is visible or not
          required: true
          schema:
            $ref: '#/definitions/SetContentTypeFieldVisibleParameter'
      responses:
        '200':
          description: Returns an object representation of the newly modified field.
          schema:
            $ref: '#/definitions/DataResponseContentTypeFieldDefinitionDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                MetadataKey: Example Field Name
                ConfiguredUI:
                  Sequence: '0'
                  UIKind: Textbox
                  UIConfig:
                    - Key: Label
                      Value: Example Field Name
                    - Key: Visible
                      Value: 'true'
                    - Key: Enabled
                      Value: 'true'
                    - Key: Errors
                      Value: ''
                ConfiguredBehaviors:
                  - BehaviorId: Automatic Indexing
                    BehaviorKey: Behavior Key
                    Sequence: '0'
                    LockedBehavior: false
                    BehaviorConfig:
                      - Key: Example Behavior Key
                        Value: Example Behavior Value
                MetadataDescription:
                  - MetadataKey: Example Key
                    MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/SetContentTypeFieldSequence:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Sets the sequence number of a specified field
      description: Sets the sequence number of a specified field
      operationId: V1RepositoryAPIController_SetContentTypeFieldSequence
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information for the field and the sequence to which it should be assigned
          required: true
          schema:
            $ref: '#/definitions/SetContentTypeFieldSequenceParameter'
      responses:
        '200':
          description: Returns an object representation of the newly modified field.
          schema:
            $ref: '#/definitions/DataResponseContentTypeFieldDefinitionDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                MetadataKey: Example Field Name
                ConfiguredUI:
                  Sequence: '0'
                  UIKind: Textbox
                  UIConfig:
                    - Key: Label
                      Value: Example Field Name
                    - Key: Visible
                      Value: 'true'
                    - Key: Enabled
                      Value: 'true'
                    - Key: Errors
                      Value: ''
                ConfiguredBehaviors:
                  - BehaviorId: Automatic Indexing
                    BehaviorKey: Behavior Key
                    Sequence: '0'
                    LockedBehavior: false
                    BehaviorConfig:
                      - Key: Example Behavior Key
                        Value: Example Behavior Value
                MetadataDescription:
                  - MetadataKey: Example Key
                    MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/SetContentTypeFieldStyleConfiguration:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Sets the configuration of a field on a specified content type relative to the style already assigned to the field
      description: Sets the configuration of a field on a specified content type relative to the style already assigned to the field
      operationId: V1RepositoryAPIController_SetContentTypeFieldStyleConfiguration
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: 'An object containing identifying information for the content type, field, and field style, as well as configuration to be set for that field style'
          required: true
          schema:
            $ref: '#/definitions/SetContentTypeFieldStyleConfigurationParameter'
      responses:
        '200':
          description: Returns an object representation of the field after all configuration changes have been applied.
          schema:
            $ref: '#/definitions/DataResponseContentTypeFieldDefinitionDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                MetadataKey: Example Field Name
                ConfiguredUI:
                  Sequence: '0'
                  UIKind: Textbox
                  UIConfig:
                    - Key: Label
                      Value: Example Field Name
                    - Key: Visible
                      Value: 'true'
                    - Key: Enabled
                      Value: 'true'
                    - Key: Errors
                      Value: ''
                ConfiguredBehaviors:
                  - BehaviorId: Automatic Indexing
                    BehaviorKey: Behavior Key
                    Sequence: '0'
                    LockedBehavior: false
                    BehaviorConfig:
                      - Key: Example Behavior Key
                        Value: Example Behavior Value
                MetadataDescription:
                  - MetadataKey: Example Key
                    MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/AddContentTypeFieldBehavior:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Adds a user-defined behavior to a specified content type field
      description: Adds a user-defined behavior to a specified content type field
      operationId: V1RepositoryAPIController_AddContentTypeFieldBehavior
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: 'An object containing identifying information for the content type, field, and behavior, as well as configuration to be set for the specified behavior'
          required: true
          schema:
            $ref: '#/definitions/AddContentTypeFieldBehaviorParameter'
      responses:
        '200':
          description: A behavior with the specified type has been added to the specified field.
          schema:
            $ref: '#/definitions/DataResponseConfiguredBehaviorDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BehaviorId: Automatic Indexing
                BehaviorKey: Behavior Key
                Sequence: '0'
                LockedBehavior: false
                BehaviorConfig:
                  - Key: Example Behavior Key
                    Value: Example Behavior Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/SetContentTypeFieldBehaviorSequence:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Sets the sequence of existing behavior on a specified content type field
      description: Sets the sequence of existing behavior on a specified content type field
      operationId: V1RepositoryAPIController_SetContentTypeFieldBehaviorSequence
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information for the behavior and a sequence value
          required: true
          schema:
            $ref: '#/definitions/SetContentTypeFieldBehaviorSequenceParameter'
      responses:
        '200':
          description: An object representation of the behavior after modification.
          schema:
            $ref: '#/definitions/DataResponseConfiguredBehaviorDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BehaviorId: Automatic Indexing
                BehaviorKey: Behavior Key
                Sequence: '0'
                LockedBehavior: false
                BehaviorConfig:
                  - Key: Example Behavior Key
                    Value: Example Behavior Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/SetContentTypeFieldBehaviorConfiguration:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Modifies the behavior configuration of an existing behavior on a specified content type field
      description: Modifies the behavior configuration of an existing behavior on a specified content type field
      operationId: V1RepositoryAPIController_SetContentTypeFieldBehaviorConfiguration
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object containing identifying information for the behavior and configuration to be set for the behavior's type
          required: true
          schema:
            $ref: '#/definitions/SetContentTypeFieldBehaviorConfigurationParameter'
      responses:
        '200':
          description: An object representation of the behavior after modification.
          schema:
            $ref: '#/definitions/DataResponseConfiguredBehaviorDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BehaviorId: Automatic Indexing
                BehaviorKey: Behavior Key
                Sequence: '0'
                LockedBehavior: false
                BehaviorConfig:
                  - Key: Example Behavior Key
                    Value: Example Behavior Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/GetIdentitiesWithAccessToContentType:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Retrieves a collection of identities with access to the specified content type.
      description: Retrieves a collection of identities with access to the specified content type.
      operationId: V1RepositoryAPIController_GetIdentitiesWithAccessToContentType
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the content type
          required: true
          schema:
            $ref: '#/definitions/ContentTypeIdentifierParameter'
      responses:
        '200':
          description: Returns a collection of identity tokens representing identities with access to the specified content type.
          schema:
            $ref: '#/definitions/DataResponseIdentityTokenList'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - user1_dfb74d8ce0aa6fff6bfec09583005c4daa443663
                - user2_a51a2d73bf7cea0e2a914ee1430eb33312fc2a4a
                - user3_08f361abafddec59336972b7e9287b0d182b1883
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/GetContentTypesAccessibleByIdentity:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Retrieves a collection of content types to which the specified identity has access.
      description: Retrieves a collection of content types to which the specified identity has access.
      operationId: V1RepositoryAPIController_GetContentTypesAccessibleByIdentity
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the identity
          required: true
          schema:
            $ref: '#/definitions/IdentityTokenParameter'
      responses:
        '200':
          description: 'Returns a collection of content types, including associated fields and configurations.'
          schema:
            $ref: '#/definitions/DataResponseContentTypeDTOCollection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - InternalId: 00000000-0000-0000-0000-000000000000
                  ContentTypeId: Example CT 1
                  ContentTypeDisplayName: Example CT 1
                  FieldDefinitions:
                    - MetadataKey: Example Field Name
                      ConfiguredUI:
                        Sequence: '0'
                        UIKind: Textbox
                        UIConfig:
                          - Key: Label
                            Value: Example Field Name
                          - Key: Visible
                            Value: 'true'
                          - Key: Enabled
                            Value: 'true'
                          - Key: Errors
                            Value: ''
                      ConfiguredBehaviors:
                        - BehaviorId: Automatic Indexing
                          BehaviorKey: Behavior Key
                          Sequence: '0'
                          LockedBehavior: false
                          BehaviorConfig:
                            - Key: Example Behavior Key
                              Value: Example Behavior Value
                      MetadataDescription:
                        - MetadataKey: Example Key
                          MetadataValue: Example Value
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/AddContentTypePermissionForUser:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Adds a user to the access list for a content type
      description: Adds a user to the access list for a content type
      operationId: V1RepositoryAPIController_AddContentTypePermissionForUser
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the content type and user
          required: true
          schema:
            $ref: '#/definitions/ContentTypePermissionParameter'
      responses:
        '200':
          description: The user has been added to the access list for that content type.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/RemoveContentTypePermissionForUser:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Removes a user from the access list for a content type
      description: Removes a user from the access list for a content type
      operationId: V1RepositoryAPIController_RemoveContentTypePermissionForUser
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the content type and user
          required: true
          schema:
            $ref: '#/definitions/ContentTypePermissionParameter'
      responses:
        '200':
          description: The user has been removed from the access list for that content type.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/UploadDocument:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Uploads a file with metadata to be sent directly to a specified repository.
      description: Uploads a file with metadata to be sent directly to a specified repository.
      operationId: V1RepositoryAPIController_UploadDocument
      consumes:
        - multipart/form-data
      produces:
        - application/json
      parameters:
        - in: formData
          name: File
          description: The contents of the file to be uploaded
          type: file
        - in: formData
          name: Payload
          description: 'An JSON-stringified object used to transport values used during document upload. EXAMPLE: {"ContentTypeId":"0x0101000728167cd9c94899925ba69c4af6743e","InternalId":"1f8d8cd4-ca9b-4b90-801f-da318d13d361","FileName":"minimal.pdf","Metadata":{"Example Field Name":"Example field value"},"ParameterList":{"BooleanParameters":[],"IntegerParameters":[],"StringParameters":[{"Name":"ContentTypeId","Value":"0x0101004C1990C75D50A34F8A22BCE79162EE9300136919EA2BAF494ABE747F2B8A1214D3"}],"StringEncryptedParameters":[],"StringArrayParameters":[],"DateTimeParameters":[],"ByteArrayParameters":[],"DecimalParameters":[]}}'
          type: string
      responses:
        '200':
          description: Returns an indicator of successful upload and the name of the document's destination.
          schema:
            $ref: '#/definitions/DataResponseUploadResultDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Success: true
                UploadLocation: (URL to the uploaded file)
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/DownloadDocument:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Downloads a document from a destination
      description: Downloads a document from a destination
      operationId: V1RepositoryAPIController_DownloadDocument
      consumes:
        - application/json
      produces:
        - application/octet-stream
        - application/json
      parameters:
        - in: body
          name: body
          description: ''
          required: true
          schema:
            $ref: '#/definitions/DownloadDocumentParameter'
      responses:
        '200':
          description: The requested document
          schema:
            type: file
          headers:
            Content-Disposition:
              description: attachment; filename="filename.jpg"
              type: string
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/SendDocumentToRecycleBin:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Sends the specified Document to the configured Recycle Bin
      description: Sends the specified Document to the configured Recycle Bin
      operationId: V1RepositoryAPIController_SendDocumentToRecycleBin
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: ''
          required: true
          schema:
            $ref: '#/definitions/RecycleDocumentPayloadParameter'
      responses:
        '200':
          description: The specified document has been sent to the recycle bin.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/GetMetadata:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Retrieves metadata from a specified document at rest in a document repository.
      description: Retrieves metadata from a specified document at rest in a document repository.
      operationId: V1RepositoryAPIController_GetMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: ''
          required: true
          schema:
            $ref: '#/definitions/GetMetadataParameter'
      responses:
        '200':
          description: Retrieved metadata associated with the specified document
          schema:
            $ref: '#/definitions/DataResponseMetadataItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                ItemId: 6d99f1b7-5a72-408a-a5c2-3921338ce154
                ItemHash: <sha256-hash>
                Metadata:
                  BooleanParameters:
                    - Name: Indexed
                      Value: true
                  IntegerParameters:
                    - Name: ProductTotal
                      Value: '1005'
                  StringParameters:
                    - Name: ClientName
                      Value: 'Acme, Inc.'
                  StringEncryptedParameters:
                    - Name: SensitiveString
                      Value: '*******'
                  StringArrayParameters:
                    - Name: ProductNames
                      Value:
                        - Pen
                        - Paper
                        - Ink
                  DateTimeParameters:
                    - Name: Timestamp
                      Value: '2026-10-07T20:19:08.9216464+00:00'
                  ByteArrayParameters:
                    - Name: FileContent
                      Value:
                        - 0
                        - 0
                        - 0
                        - 0
                        - 0
                  DecimalParameters:
                    - Name: InvoiceAmount
                      Value: 
                SystemMetadata:
                  BooleanParameters:
                    - Name: Indexed
                      Value: true
                  IntegerParameters:
                    - Name: ProductTotal
                      Value: '1005'
                  StringParameters:
                    - Name: ClientName
                      Value: 'Acme, Inc.'
                  StringEncryptedParameters:
                    - Name: SensitiveString
                      Value: '*******'
                  StringArrayParameters:
                    - Name: ProductNames
                      Value:
                        - Pen
                        - Paper
                        - Ink
                  DateTimeParameters:
                    - Name: Timestamp
                      Value: '2026-10-07T20:19:08.9216522+00:00'
                  ByteArrayParameters:
                    - Name: FileContent
                      Value:
                        - 0
                        - 0
                        - 0
                        - 0
                        - 0
                  DecimalParameters:
                    - Name: InvoiceAmount
                      Value: 
                UIHints:
                  ContentType:
                    title: ContentType
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/UpsertDocumentMetadata:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Inserts or updates Item Metadata
      description: Inserts or updates Item Metadata
      operationId: V1RepositoryAPIController_UpsertDocumentMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: ''
          required: true
          schema:
            $ref: '#/definitions/UpsertDocumentMetadataParameter'
      responses:
        '200':
          description: The item has successfully been edited.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/GetSavedSearches:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Retrieves list of available Saved Searches
      description: Retrieves list of available Saved Searches
      operationId: V1RepositoryAPIController_GetSavedSearches
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: ''
          required: true
          schema:
            $ref: '#/definitions/ParameterGetSavedSearchesListDTO'
      responses:
        '200':
          description: The List of possible searches
          schema:
            $ref: '#/definitions/DataResponseSavedSearchDTOCollection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - SavedSearchId: c42af062-8eab-41c4-993d-b6c003ce5b4a
                  SavedSearchName: Saved Search 1
                  ResultColumns:
                    - Id: RecordId
                      Format: string
                  LastModified: '2026-10-07T20:19:08.9217422+00:00'
                  SearchConditions: [ ]
                  SearchCatalogId: e20ef058-f5ae-4fea-9b37-55e3aeed3c72
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/RunSavedSearch:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Performs a Saved Search
      description: Performs a Saved Search
      operationId: V1RepositoryAPIController_RunSavedSearch
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: ''
          required: true
          schema:
            $ref: '#/definitions/ParameterRunSavedSearchDTO'
      responses:
        '200':
          description: The List of possible searches
          schema:
            $ref: '#/definitions/DataResponseSavedSearchResultDTOCollection'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Results:
                  - ContentTypeId: Invoice
                    Metadata: 
                    ResultItemId: a6d3cb64-a603-4a85-92cf-906ef7f69ed8
                    Data:
                      - InternalPropertyId: prop1
                        Value: value1
                TotalRows: '300'
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RepositoryAPI/GetRemoteGateways:
    post:
      tags:
        - V1_RepositoryAPI
      summary: Retrieves state information for all gateways
      description: Retrieves state information for all gateways
      operationId: V1RepositoryAPIController_GetRemoteGateways
      produces:
        - application/json
      responses:
        '200':
          description: Returns an object containing a list of gateways and a timestamp of the retrieval time
          schema:
            $ref: '#/definitions/DataResponseGatewayListResult'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Gateways:
                  - DisplayName: Example Gateway
                    LastConnectedUTC: '0001-01-01T00:00:00.0000000+00:00'
                    GatewayId: 00000000-0000-0000-0000-000000000000
                    IsOnline: true
                StatusLastRetrievedUTC: '0001-01-01T00:00:00.0000000+00:00'
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RPAAPI/ResubmitRPATask:
    post:
      tags:
        - V1_RPAAPI
      summary: 'Reruns the RPA Task by identifier, optionally with a new payload.'
      description: 'Reruns the RPA Task by identifier, optionally with a new payload.'
      operationId: V1RPAAPIController_ResubmitRPATask
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: An object identifying the RPA Task to rerun. TaskIdentifier is required
          required: true
          schema:
            $ref: '#/definitions/ResumbitRPATasksParameter'
      responses:
        '200':
          description: RPA Task was successfully resubmitted
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_RPAAPI/QueryForLatestRPATasks:
    post:
      tags:
        - V1_RPAAPI
      summary: 'Retrieves monitor data for all RPA Tasks, or RPA Tasks specified by filters, and returns the latest attempt of each task. A task that has been rerun reports the bot, message and runstamp of its latest attempt only - earlier attempts are not returned and cannot be queried through this endpoint. The response carries no total - request successive pages until one comes back with fewer entries than the requested page size.'
      description: 'Retrieves monitor data for all RPA Tasks, or RPA Tasks specified by filters, and returns the latest attempt of each task. A task that has been rerun reports the bot, message and runstamp of its latest attempt only - earlier attempts are not returned and cannot be queried through this endpoint. The response carries no total - request successive pages until one comes back with fewer entries than the requested page size.'
      operationId: V1RPAAPIController_QueryForLatestRPATasks
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: ''
          required: true
          schema:
            $ref: '#/definitions/QueryRPATasksParameter'
      responses:
        '200':
          description: Returns the requested RPA Tasks supplied by filters
          schema:
            $ref: '#/definitions/DataResponseQueryRPATaskResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - TaskIdentifier: '1.1'
                  Status: Complete
                  Message: ''
                  BotName: Example Bot
                  Runstamp: 20201117-222444018
                  Automation: Invoice Capture
                  Process: Index Documents
                  LastUpdated: '2026-10-07T20:19:08.9218489+00:00'
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_TriggerAPI/GetAllTriggerInformation:
    post:
      tags:
        - V1_TriggerAPI
      summary: Retrieve a list of metadata about every Trigger.
      description: Retrieve a list of metadata about every Trigger.
      operationId: V1TriggerAPIController_GetAllTriggerInformation
      produces:
        - application/json
      responses:
        '200':
          description: Returns a list of TriggerInformation objects with metadata about every trigger.
          schema:
            $ref: '#/definitions/DataResponseTriggerInformationList'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - Id: 18894566-4c2f-49ad-b553-af314a4e06be
                  Name: Test Trigger 1
                  AssociatedWorkflowId: d8bc145a-13a5-4a60-8dc3-78907a86b549
                  Tags:
                    - triggerType1
                    - triggerType2
                  LastModified: '2026-10-07T20:19:08.9218725+00:00'
                  Modifier: appsuser2_1f422b13-cc15-40d3-b79b-6cd941f302c2
                  Creator: appsuser1_b477c841-a4f5-4f9f-b1d1-157787d43a1a
                  Locked: false
                  LockedTime: 
                  LockedBy: ''
                  WorkflowName: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_TriggerAPI/ExportTriggerDefinition:
    post:
      tags:
        - V1_TriggerAPI
      summary: Export a Trigger definition.
      description: Export a Trigger definition.
      operationId: V1TriggerAPIController_ExportTriggerDefinition
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: The id of the Trigger
          required: true
          schema:
            $ref: '#/definitions/TriggerIdParameter'
      responses:
        '200':
          description: Returns the definition of a trigger for migration.
          schema:
            $ref: '#/definitions/DataResponseMigrateTrigger'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 248d30e6-838d-4530-a08d-2f9b7e5fb538
                Name: Test Trigger 1
                AssociatedWorkflowId: dc1bd7e4-7de9-4a46-b7ef-1d74997b82d2
                Configuration: '{}'
                Tags:
                  - triggerType1
                  - triggerType2
                LastModified: '2026-10-07T20:19:08.9218946+00:00'
                Modifier: appsuser2_5c3cd6fc-f9ec-457b-8cc1-056ef4536550
                Creator: appsuser1_412c8f79-0c0a-4e9a-aed3-5c69eba35bd6
                Locked: false
                LockedTime: 
                LockedBy: ''
                WorkflowName: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_TriggerAPI/ImportTrigger:
    post:
      tags:
        - V1_TriggerAPI
      summary: Import a Trigger's definition.
      description: Import a Trigger's definition.
      operationId: V1TriggerAPIController_ImportTrigger
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: The migration Trigger components
          required: true
          schema:
            $ref: '#/definitions/ImportTriggerParameter'
      responses:
        '200':
          description: Returns a TriggerInformation object with metadata about a trigger.
          schema:
            $ref: '#/definitions/DataResponseTriggerInformation'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Id: 3d0e8a49-fda9-41b2-b592-e41d4713345a
                Name: Test Trigger 1
                AssociatedWorkflowId: 64baabaf-a4ec-44f8-b98d-a30f9d2315c7
                Tags:
                  - triggerType1
                  - triggerType2
                LastModified: '2026-10-07T20:19:08.9219462+00:00'
                Modifier: appsuser2_1f05c59f-dcc8-4a7f-9a73-558bae8712dd
                Creator: appsuser1_15a6c2cb-89f5-4e96-9b96-b80585080dd1
                Locked: false
                LockedTime: 
                LockedBy: ''
                WorkflowName: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_TriggerAPI/SetTags:
    post:
      tags:
        - V1_TriggerAPI
      summary: Set the tags for a Trigger
      description: Set the tags for a Trigger
      operationId: V1TriggerAPIController_SetTags
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Object representing the tags and id of the Trigger to apply them to
          required: true
          schema:
            $ref: '#/definitions/SetTriggerTagsParameter'
      responses:
        '200':
          description: Returns a success object.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_WorkflowAPI/SetGlobalVariable:
    post:
      tags:
        - V1_WorkflowAPI
      summary: Used to create or modify non-secret global variables.
      description: Used to create or modify non-secret global variables.
      operationId: V1WorkflowAPIController_SetGlobalVariable
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to upsert a Global Variable in Workflow.
          required: true
          schema:
            $ref: '#/definitions/WorkerGlobalVariableParameter'
      responses:
        '200':
          description: The set Global Variable.
          schema:
            $ref: '#/definitions/KLApiDataResponseWorkerGlobalVariableParameter'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Name: 
                Value: 
                Tags: 
                Type: 
                SubType: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_WorkflowAPI/SetSecretGlobalVariable:
    post:
      tags:
        - V1_WorkflowAPI
      summary: Used to create or modify secret global variables. This endpoint requires permissions manage workflows and manage secret global variables
      description: Used to create or modify secret global variables. This endpoint requires permissions manage workflows and manage secret global variables
      operationId: V1WorkflowAPIController_SetSecretGlobalVariable
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to upsert a Global Variable in Workflow.
          required: true
          schema:
            $ref: '#/definitions/WorkerGlobalVariableParameter'
      responses:
        '200':
          description: The secret Global Variable was set.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_WorkflowAPI/GetGlobalVariable:
    post:
      tags:
        - V1_WorkflowAPI
      summary: Get a detailed result object representing the contents of the global variable and its metadata. Cannot be used for secret variables.
      description: Get a detailed result object representing the contents of the global variable and its metadata. Cannot be used for secret variables.
      operationId: V1WorkflowAPIController_GetGlobalVariable
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to get a Global Variable in Workflow.
          required: true
          schema:
            $ref: '#/definitions/GetWorkerGlobalVariableParameter'
      responses:
        '200':
          description: The returned Global Variable.
          schema:
            $ref: '#/definitions/KLApiDataResponseVersionedWorkerGlobalVariable'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Modified: '0001-01-01T00:00:00.0000000+00:00'
                Version: '0'
                Enabled: false
                DisabledAtTime: '0001-01-01T00:00:00.0000000+00:00'
                Value: 
                Name: 
                IsSecret: false
                LastModifier: 
                Tags: 
                Group: 
                GroupDisplayName: 
                Type: 
                TypeDisplayName: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_WorkflowAPI/GetGlobalVariableMetadata:
    post:
      tags:
        - V1_WorkflowAPI
      summary: Get a detailed result object representing the metadata of the global variable.
      description: Get a detailed result object representing the metadata of the global variable.
      operationId: V1WorkflowAPIController_GetGlobalVariableMetadata
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to get a Global Variable in Workflow.
          required: true
          schema:
            $ref: '#/definitions/GetWorkerGlobalVariableParameter'
      responses:
        '200':
          description: The returned Global Variable's metadata.
          schema:
            $ref: '#/definitions/KLApiDataResponseGlobalVariableMetadataDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                Name: 
                Tags: 
                Type: 
                IsSecret: false
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_WorkflowAPI/SendToWorkflow:
    post:
      tags:
        - V1_WorkflowAPI
      summary: ''
      description: ''
      operationId: V1WorkflowAPIController_SendToWorkflow
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to run a Workflow.
          required: true
          schema:
            $ref: '#/definitions/RunWorkflowParameter'
      responses:
        '200':
          description: Work Item Info.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_WorkflowAPI/GetWorkflow:
    post:
      tags:
        - V1_WorkflowAPI
      summary: ''
      description: ''
      operationId: V1WorkflowAPIController_GetWorkflow
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Request object to retrieve a Workflow.
          required: true
          schema:
            $ref: '#/definitions/GetWorkflowParameter'
      responses:
        '200':
          description: Workflow Info.
          schema:
            $ref: '#/definitions/KLApiDataResponseWorkflowDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkflowId: 00000000-0000-0000-0000-000000000000
                WorkflowName: 
                FirstStepId: 00000000-0000-0000-0000-000000000000
                Version: '0'
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_WorkflowAPI/GetAllWorkflows:
    post:
      tags:
        - V1_WorkflowAPI
      summary: ''
      description: ''
      operationId: V1WorkflowAPIController_GetAllWorkflows
      produces:
        - application/json
      responses:
        '200':
          description: All Workflows Info.
          schema:
            $ref: '#/definitions/KLApiDataResponseListWorkflowDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                - WorkflowId: 00000000-0000-0000-0000-000000000000
                  WorkflowName: 
                  FirstStepId: 00000000-0000-0000-0000-000000000000
                  Version: '0'
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V1_WorkflowAPI/ReleaseHold:
    post:
      tags:
        - V1_WorkflowAPI
      summary: ''
      description: ''
      operationId: V1WorkflowAPIController_ReleaseHold
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Work Item ID
          required: true
          schema:
            $ref: '#/definitions/PaasWorkItemIdDTO'
      responses:
        '200':
          description: Work Item Info.
          schema:
            $ref: '#/definitions/KLApiDataResponsePaasWorkItemIdDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                WorkItemId: 00000000-0000-0000-0000-000000000000
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V2_ProcessingAPI/RestartWorkitem:
    post:
      tags:
        - V2_ProcessingAPI
      summary: Restarts the process of the workitem provided as a parameter
      description: Restarts the process of the workitem provided as a parameter
      operationId: V2ProcessingAPIController_RestartWorkitem
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: 'The work item to restart, along with preferences related to restart behavior'
          required: true
          schema:
            $ref: '#/definitions/RestartWorkItemParameter'
      responses:
        '200':
          description: The workitem as idenitfied by the passed in parameter
          schema:
            $ref: '#/definitions/DataResponseWorkItemDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                BatchName: 
                HoldId: 
                ScheduledDeletion: 
                UserLockTimeStamp: 
                WorkerLockTimeStamp: 
                UserToken: 
                Suspended: false
                LockWorkerId: 
                DueDate: '0001-01-01T00:00:00.0000000+00:00'
                RoleId: 
                Status: New
                ActivityActive: false
                ActivityId: 
                ItemId: 00000000-0000-0000-0000-000000000000
                HoldStatus: 
                ScheduledHoldVerification: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V2_RepositoryAPI/SendEmail:
    post:
      tags:
        - V2_RepositoryAPI
      summary: Sends an email using the specified connector and email details.
      description: Sends an email using the specified connector and email details.
      operationId: V2RepositoryAPIController_SendEmail
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Object defining the parameters to use to send an email directly.
          required: true
          schema:
            $ref: '#/definitions/SendRepositoryEmailParameter'
      responses:
        '200':
          description: The email was successfully sent.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V2_RepositoryAPI/ExportReservoirConfigJson:
    post:
      tags:
        - V2_RepositoryAPI
      summary: Export configuration JSON for Reservoir to be used with Local Reservoir API.
      description: Export configuration JSON for Reservoir to be used with Local Reservoir API.
      operationId: V2RepositoryAPIController_ExportReservoirConfigJson
      produces:
        - application/json
      responses:
        '200':
          description: 'Returns a JSON string representing the configuration used by Reservoir, stripped of any sensitive information.'
          schema:
            $ref: '#/definitions/DataResponseConfigDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data: ''
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V2_RepositoryAPI/GetIdentitiesWithAccessToContentType:
    post:
      tags:
        - V2_RepositoryAPI
      summary: Retrieves a collection of identities and their permissions with access to the specified content type.
      description: Retrieves a collection of identities and their permissions with access to the specified content type.
      operationId: V2RepositoryAPIController_GetIdentitiesWithAccessToContentType
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: Identifying information for the content type
          required: true
          schema:
            $ref: '#/definitions/ContentTypeIdentifierParameter'
      responses:
        '200':
          description: Returns a collection of user tokens and permissions representing identities with access to the specified content type.
          schema:
            $ref: '#/definitions/DataResponseIdentityPermissionsDTO'
          examples:
            application/json:
              Success: true
              MessageKey: 
              Data:
                V1_Identities:
                  - user1_cfa6faf496dcf6620ba029b7aa3fa93707234fc2
                  - user2_1eebf4aec3718f0ef5a432fe9aaecb3918228d41
                IdentityPermissionSets:
                  - IdentityToken: user1_cfa6faf496dcf6620ba029b7aa3fa93707234fc2
                    Permission: Fetch
                  - IdentityToken: user1_cfa6faf496dcf6620ba029b7aa3fa93707234fc2
                    Permission: Update
                  - IdentityToken: user2_1eebf4aec3718f0ef5a432fe9aaecb3918228d41
                    Permission: Delete
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
  /V2_RepositoryAPI/SendDocumentToRecycleBin:
    post:
      tags:
        - V2_RepositoryAPI
      summary: Sends the specified Document to the configured Recycle Bin
      description: Sends the specified Document to the configured Recycle Bin
      operationId: V2RepositoryAPIController_SendDocumentToRecycleBin
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - in: body
          name: body
          description: ''
          required: true
          schema:
            $ref: '#/definitions/RecycleDocumentParameter'
      responses:
        '200':
          description: The specified document has been sent to the recycle bin.
          schema:
            $ref: '#/definitions/KLApiResponse'
          examples:
            application/json:
              Success: true
              MessageKey: 
        '400':
          description: A transport object that wraps failure response data.
          schema:
            $ref: '#/definitions/KLApiErrorResponse'
          examples:
            application/json:
              Messages:
                - Success: false
                  MessageKey: 'UNIQUE ERROR ID: 00000000-0000-0000-0000-000000000000 An error has occurred while processing the request; please check the associated logs for more information.'
              Success: false
definitions:
  Object:
    type: object
  KLApiOperationResultMessage:
    description: A transport object that wraps response data and simple success or failure indicators
    type: object
    properties:
      Data:
        description: An object representation of the response data
        allOf:
          - $ref: '#/definitions/Object'
      Success:
        description: Indicator of the success or failure of the request
        type: boolean
      MessageKey:
        description: 'Message describing the result of the request, if applicable'
        type: string
  KLApiErrorResponse:
    description: A transport object that wraps failure response data.
    type: object
    properties:
      Messages:
        description: A collection of transport objects for response data
        type: array
        items:
          $ref: '#/definitions/KLApiOperationResultMessage'
      Success:
        description: Indicator of the success or failure of the request (should always be false for an error response)
        type: boolean
  KLApiResponse:
    description: A simple boolean response object indicating success or failure of the operation
    type: object
    properties:
      Success:
        description: Indicator of the success or failure of the request
        type: boolean
      MessageKey:
        type: string
  CatalogDTO:
    description: An object representation of a catalog of identities
    type: object
    properties:
      CatalogTypeId:
        format: uuid
        description: Id for the type of catalog
        type: string
      CatalogTypeNameKey:
        description: Catalog type name key
        type: string
      CatalogName:
        description: Name of the catalog
        type: string
      CatalogId:
        format: uuid
        description: ID of the catalog
        type: string
      CatalogFeatures:
        description: List of the catalog features for this catalog
        type: array
        items:
          type: string
      FactoryFeatures:
        description: List of the factory features for this catalog
        type: array
        items:
          type: string
      CatalogMetadata:
        description: Dictionary of the metadata for this catalog
        type: object
        additionalProperties:
          type: string
  CatalogIdentityBaseDTO:
    description: An object representation of an identity belonging to a catalog
    type: object
    properties:
      Token:
        description: Token of the identity
        type: string
      CatalogId:
        format: uuid
        description: ID of the catalog
        type: string
      DisplayName:
        description: Display name of the identity
        type: string
  CatalogIdentityUserDTO:
    description: An object representation of a user identity belonging to a catalog
    type: object
    properties:
      Token:
        description: Token of the identity
        type: string
      CatalogId:
        format: uuid
        description: ID of the catalog
        type: string
      DisplayName:
        description: Display name of the identity
        type: string
      Email:
        description: Email of the identity
        type: string
  CatalogSyncResultsDTO:
    description: A pair of collections of identities affected by the sync operation
    type: object
    properties:
      Removed:
        description: List of identities removed from the catalog after the sync completes
        type: array
        items:
          $ref: '#/definitions/CatalogIdentityBaseDTO'
      Added:
        description: List of identities added to the catalog after the sync completes
        type: array
        items:
          $ref: '#/definitions/CatalogIdentityBaseDTO'
  AppFeaturePermissionsDTO:
    description: An object representation of a set of features associated with a given app to which the current identity has been given authorization
    type: object
    properties:
      ApplicationId:
        description: Unique string identifier for the app associated with the permissions set
        type: string
      AuthorizedFeatureKeys:
        description: Collection of keys representing individual permissions that the current identiy holds
        type: array
        items:
          type: string
  IdentityAndAppPermissionsDTO:
    description: An object representation of an identity and the apps permissions granted to it
    type: object
    properties:
      Token:
        description: Token of the identity
        type: string
      Name:
        description: Display name of the identity
        type: string
      CatalogId:
        format: uuid
        description: ID of the catalog
        type: string
      IsGroup:
        description: Indicator of whether the identity is a group or not
        type: boolean
      AppFeaturePermissions:
        description: Collection of objects representing the apps permissions granted to the identity
        type: array
        items:
          $ref: '#/definitions/AppFeaturePermissionsDTO'
  CatalogIdentifierParameter:
    description: Identifying information about a catalog
    type: object
    properties:
      CatalogId:
        format: uuid
        description: ID of the catalog
        type: string
  IdentityIdentifierParameter:
    description: Identifying information about an identity
    type: object
    properties:
      IdentityToken:
        description: Token associated with the identity existing in an apps identity catalog
        type: string
  DataResponseCatalogDTOCollection:
    description: Returns identifying information for a set of catalogs
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/CatalogDTO'
  DataResponseCatalogIdentityBaseDTOCollection:
    description: Returns identifying information for a set of identities
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/CatalogIdentityBaseDTO'
  DataResponseCatalogIdentityUserDTOCollection:
    description: Returns identifying information for a set of identities
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/CatalogIdentityUserDTO'
  DataResponseCatalogSyncDTO:
    description: Returns an object representation of the results of a catalog sync operation
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/CatalogSyncResultsDTO'
  DataResponseIdentityAndAppPermissionsDTO:
    description: Returns an object representation of an identity and the apps permissions granted to it
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/IdentityAndAppPermissionsDTO'
  DataResponseAppPermissionsDTOCollection:
    description: Returns a collection of objects representing a given app and the permissions available for interacting with that app
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/AppFeaturePermissionsDTO'
  BotStatusInfo:
    description: An object containing info on an RPA bot's current state
    type: object
    properties:
      BotId:
        format: uuid
        description: ID of the bot
        type: string
      DisplayName:
        description: Name of the bot
        type: string
      MachineName:
        description: Name of the bot's machine
        type: string
      Status:
        description: The bot's current status
        type: string
      MaintenanceMode:
        description: The bot's maintenance mode status
        type: boolean
  BotsStatusUpdate:
    description: An object containing a list of bot statuses along with a timestamp indicating when the statuses were retrieved
    type: object
    properties:
      BotStatuses:
        description: A list of bot statuses
        type: array
        items:
          $ref: '#/definitions/BotStatusInfo'
      StatusLastRetrievedUTC:
        format: date-time
        description: The time that these statuses were retrieved (ISO 8601 round-trip format)
        type: string
      Success:
        description: True if the bot retrieval was successful
        type: boolean
      GetBotsOperationMessages:
        description: A dictionary containing error messages in the case that bot retrieval failed.
        type: object
        additionalProperties:
          type: string
  DataResponseBotStatusUpdate:
    description: Returns an object containing a list of bot statuses and a timestamp of when they were retrieved
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/BotsStatusUpdate'
  BatchTokenDTO:
    description: An object containing identifying information about the batch and its lock status
    type: object
    properties:
      BatchId:
        format: uuid
        description: ID of the batch
        type: string
      LockId:
        format: uuid
        description: 'ID representing the instance of the lock that exists on the batch; if null, then the batch is not locked'
        type: string
        x-nullable: true
      LocationId:
        format: uuid
        description: ID of the location that the batch resides in
        type: string
  PageFileType:
    enum:
      - Raw
      - CompressedRaw
      - CompressedScaled
      - Thumbnail
      - OCR
    type: string
  PageFileProjectionDTO:
    type: object
    properties:
      Id:
        format: uuid
        type: string
      FileName:
        type: string
      Extension:
        type: string
      FileSize:
        format: int64
        type: integer
      LocationHash:
        type: string
      Type:
        $ref: '#/definitions/PageFileType'
      Metadata:
        type: object
        additionalProperties:
          type: object
          additionalProperties:
            type: string
  PageProjectionDTO:
    type: object
    properties:
      Id:
        format: uuid
        type: string
      Index:
        type: integer
      OriginalFileName:
        type: string
      PageFiles:
        type: array
        items:
          $ref: '#/definitions/PageFileProjectionDTO'
      Metadata:
        type: object
        additionalProperties:
          type: object
          additionalProperties:
            type: string
  DocumentFileType:
    enum:
      - Input
      - Output
      - OCR
    type: string
  DocumentFileProjectionDTO:
    type: object
    properties:
      Id:
        format: uuid
        type: string
      FileName:
        type: string
      Extension:
        type: string
      LocationHash:
        type: string
      Type:
        $ref: '#/definitions/DocumentFileType'
  DocumentProjectionDTO:
    type: object
    properties:
      Id:
        format: uuid
        type: string
      Index:
        type: integer
      Pages:
        type: array
        items:
          $ref: '#/definitions/PageProjectionDTO'
      Files:
        type: array
        items:
          $ref: '#/definitions/DocumentFileProjectionDTO'
      Metadata:
        type: object
        additionalProperties:
          type: object
          additionalProperties:
            type: string
  BatchProjectionDTO:
    description: 'An object representation of a batch, containing various documents, pages, and metadata'
    type: object
    properties:
      Id:
        format: uuid
        description: Identifier associated with the batch
        type: string
      Name:
        description: Name associated with the batch (primarily used for display purposes)
        type: string
      Documents:
        description: Collection of documents that make up the batch containing files and pages
        type: array
        items:
          $ref: '#/definitions/DocumentProjectionDTO'
      Metadata:
        description: Metadata associated with the batch generally
        type: object
        additionalProperties:
          type: object
          additionalProperties:
            type: string
  BatchFileIdentifierDTO:
    description: The identifier of a file added to batch but not registered as a page or document
    type: object
    properties:
      Hash:
        description: The Identifiying hash of the document
        type: string
      Identifier:
        format: uuid
        description: An Identifier assigned to the document
        type: string
  MetadataValueDTO:
    description: An object representation of a singular piece of metadata
    type: object
    properties:
      Bucket:
        description: The category associated with the metadata
        type: string
      Key:
        description: The key used to reference the metadata's value
        type: string
      Value:
        description: The value of the metadata represented as a string
        type: string
  BatchIdentifierParameter:
    description: Identifying information about the batch
    type: object
    properties:
      BatchId:
        format: uuid
        description: ID of the batch
        type: string
  DocumentIdentifierParameter:
    description: Identifying information about the batch and its lock status and an identifier to assign to the new document
    type: object
    properties:
      BatchToken:
        description: An object containing identifying information about the batch and its lock status
        allOf:
          - $ref: '#/definitions/BatchTokenDTO'
      DocumentId:
        format: uuid
        description: ID of the document
        type: string
  DocumentFileIdentifierParameter:
    description: 'Identifying information about the batch, document, and document file'
    type: object
    properties:
      BatchToken:
        description: An object containing identifying information about the batch and its lock status
        allOf:
          - $ref: '#/definitions/BatchTokenDTO'
      DocumentId:
        format: uuid
        description: ID of the document
        type: string
      DocumentFileId:
        format: uuid
        description: ID of the document file
        type: string
  ReorderDocumentParameter:
    description: Identifying information about the batch and document and the new index of the document in the batch's document collection
    type: object
    properties:
      BatchToken:
        description: An object containing identifying information about the batch and its lock status
        allOf:
          - $ref: '#/definitions/BatchTokenDTO'
      DocumentId:
        format: uuid
        description: ID of the document
        type: string
      NewIndex:
        description: Index to assign to the document to be reordered
        type: integer
  ReorderPageParameter:
    description: 'Identifying information about the batch, document, and page and the new index of the page in the document''s page collection'
    type: object
    properties:
      BatchToken:
        description: An object containing identifying information about the batch and its lock status
        allOf:
          - $ref: '#/definitions/BatchTokenDTO'
      DocumentId:
        format: uuid
        description: ID of the document
        type: string
      PageId:
        format: uuid
        description: ID of the page
        type: string
      NewIndex:
        description: Index to assign to the page to be reordered
        type: integer
  PageIdentifierParameter:
    description: Identifying information about the batch and document and an identifier to assign to the new page
    type: object
    properties:
      BatchToken:
        description: An object containing identifying information about the batch and its lock status
        allOf:
          - $ref: '#/definitions/BatchTokenDTO'
      DocumentId:
        format: uuid
        description: ID of the document
        type: string
      PageId:
        format: uuid
        description: ID of the page
        type: string
  BatchMetadataAPIParameter:
    description: Identifying information about the batch and the metadata to add to or update on the batch
    type: object
    properties:
      BatchToken:
        description: An object containing identifying information about the batch and its lock status
        allOf:
          - $ref: '#/definitions/BatchTokenDTO'
      Metadata:
        description: 'A collection of objects describing metadata in triplets of bucket, key, and value'
        type: array
        items:
          $ref: '#/definitions/MetadataValueDTO'
  DocumentMetadataAPIParameter:
    description: Identifying information about the batch and document and the metadata to add to or update on the document
    type: object
    properties:
      BatchToken:
        description: An object containing identifying information about the batch and its lock status
        allOf:
          - $ref: '#/definitions/BatchTokenDTO'
      DocumentId:
        format: uuid
        description: ID of the document
        type: string
      Metadata:
        description: 'A collection of objects describing metadata in triplets of bucket, key, and value'
        type: array
        items:
          $ref: '#/definitions/MetadataValueDTO'
  PageMetadataAPIParameter:
    description: 'Identifying information about the batch, document, and page and the metadata to add to or update on the page'
    type: object
    properties:
      BatchToken:
        description: An object containing identifying information about the batch and its lock status
        allOf:
          - $ref: '#/definitions/BatchTokenDTO'
      DocumentId:
        format: uuid
        description: ID of the document
        type: string
      PageId:
        format: uuid
        description: ID of the page
        type: string
      Metadata:
        description: 'A collection of objects describing metadata in triplets of bucket, key, and value'
        type: array
        items:
          $ref: '#/definitions/MetadataValueDTO'
  DocumentFileInputParameter:
    description: Parameter allowing for adding multiple documents at once
    type: object
    properties:
      DocumentId:
        format: uuid
        description: The Id of the document
        type: string
      MetadataToSet:
        description: The metadata of the document
        type: array
        items:
          $ref: '#/definitions/MetadataValueDTO'
      Info:
        description: The added file reference
        allOf:
          - $ref: '#/definitions/BatchFileIdentifierDTO'
      FileNameHint:
        description: The filename of the document
        type: string
      LengthHint:
        format: int64
        description: The size of the document
        type: integer
  PageFileInputParameter:
    description: Parameter allowing for adding multiple pages at once
    type: object
    properties:
      PageId:
        format: uuid
        description: The Id of the page
        type: string
      MetadataToSet:
        description: The metadata of the document
        type: array
        items:
          $ref: '#/definitions/MetadataValueDTO'
      Info:
        description: The added file reference
        allOf:
          - $ref: '#/definitions/BatchFileIdentifierDTO'
      FileNameHint:
        description: The filename of the document
        type: string
      LengthHint:
        format: int64
        description: The size of the document
        type: integer
  AddDocumentsParameter:
    description: Parameter allowing for adding multiple documents at once
    type: object
    properties:
      BatchToken:
        description: An object containing identifying information about the batch and its lock status
        allOf:
          - $ref: '#/definitions/BatchTokenDTO'
      Documents:
        description: A collection of documents to be added after they have been uploaded
        type: array
        items:
          $ref: '#/definitions/DocumentFileInputParameter'
  AddDocumentPagesParameter:
    description: Parameter allowing for adding multiple pages to a document at once
    type: object
    properties:
      BatchToken:
        description: An object containing identifying information about the batch and its lock status
        allOf:
          - $ref: '#/definitions/BatchTokenDTO'
      DocumentId:
        format: uuid
        description: The Id of the document to insert pages into
        type: string
      Pages:
        description: A collection of pages to be added after they have been uploaded
        type: array
        items:
          $ref: '#/definitions/PageFileInputParameter'
  MovePagesParameter:
    description: Parameter allowing for moving pages from one batch to another
    type: object
    properties:
      BatchToken:
        description: An object containing identifying information about the batch and its lock status
        allOf:
          - $ref: '#/definitions/BatchTokenDTO'
      DocumentId:
        format: uuid
        description: The Id of the document to move pages from
        type: string
      TargetDocumentId:
        format: uuid
        description: The Id of the document to insert pages into
        type: string
      PageIds:
        description: A collection of page ids to be added to the target document
        type: array
        items:
          format: uuid
          type: string
  DataResponseBatchToken:
    description: Returns a batch token containing identifying information about the batch and its lock status.
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/BatchTokenDTO'
  DataResponseBatchProjection:
    description: 'Returns a projection of the structure of the specified batch, including documents, pages, and various metadata.'
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/BatchProjectionDTO'
  DataResponseBatchFileDTO:
    description: Returns a reference to a batch file uploaded.
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/BatchFileIdentifierDTO'
  EventDTO:
    description: An object containing details about a loggable event
    type: object
    properties:
      User:
        type: string
      Properties:
        description: A dictionary of properties for this event
        type: object
        additionalProperties:
          type: string
      Scopes:
        description: The ordered list of scopes for this event
        type: array
        items:
          type: string
  NewClassRequest:
    description: Request object to create a new Learn Class
    type: object
    properties:
      Name:
        description: The name of the new class
        type: string
      Tags:
        description: The tags to apply to the class (null or empty is acceptable)
        type: array
        items:
          type: string
      ContentTypeId:
        format: uuid
        description: The optional content type id to set when the new class is created. This will also create an automatic extraction action for the fields of the content type.
        type: string
        x-nullable: true
      SkipConfiguringZeroShot:
        description: 'If true, do not configure a zero shot document classificaiton condition.'
        type: boolean
  GetClassRequest:
    description: Request object to get a Learn Class by Id
    type: object
    properties:
      ClassId:
        format: uuid
        description: The id of the class to get
        type: string
  GetSubclassRequest:
    description: Request object to get a Learn Subclass by Id
    type: object
    properties:
      SubclassId:
        format: uuid
        description: The id of the SubclassId to get
        type: string
  GetDefaultRuleActionRequest:
    description: Request object to get an action off of the default rule of a Learn Class or Subclass by Id
    type: object
    properties:
      ClassId:
        format: uuid
        description: The id of the class
        type: string
      SubclassId:
        format: uuid
        description: The optional id of the subclass
        type: string
        x-nullable: true
  UIConfig:
    type: object
    properties:
      Key:
        type: string
      Value:
        type: string
  ConfiguredUI:
    type: object
    properties:
      UIKind:
        type: string
      UIConfig:
        type: array
        items:
          $ref: '#/definitions/UIConfig'
  FieldDefinition:
    type: object
    properties:
      MetadataKey:
        type: string
      ConfiguredUI:
        $ref: '#/definitions/ConfiguredUI'
      AIHint:
        type: string
      HighConfThresh:
        format: float
        type: number
        x-nullable: true
  AutoExtractorMode:
    enum:
      - TextOnly
      - StructuredText
      - ImageOnly
    type: string
  AutoExtractorInteractionData:
    type: object
    properties:
      FieldDefinitions:
        type: array
        items:
          $ref: '#/definitions/FieldDefinition'
      ExtractorMode:
        $ref: '#/definitions/AutoExtractorMode'
  SetDefaultRuleAutoExtractionActionRequest:
    description: Request object to set an action on the default rule of a Learn Class or Subclass by Id
    type: object
    properties:
      ClassId:
        format: uuid
        description: The id of the class
        type: string
      SubclassId:
        format: uuid
        description: The optional id of the subclass
        type: string
        x-nullable: true
      Config:
        $ref: '#/definitions/AutoExtractorInteractionData'
  AutoExtractorInteractionAction:
    type: object
    properties:
      AutoExtractorSettings:
        $ref: '#/definitions/AutoExtractorInteractionData'
      Id:
        format: uuid
        type: string
      Type:
        type: string
      SerializedData:
        type: string
  KLApiDataResponseAutoExtractorInteractionAction:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/AutoExtractorInteractionAction'
  PagePosition:
    enum:
      - First
      - Inner
      - Last
      - Unknown
    type: string
  KnownPage:
    type: object
    properties:
      Id:
        format: uuid
        type: string
      Position:
        $ref: '#/definitions/PagePosition'
      PageFile:
        type: string
      ThumbnailFile:
        type: string
      Width:
        type: integer
      Height:
        type: integer
      StorageMethod:
        type: string
      Weights:
        type: object
        additionalProperties:
          format: double
          type: number
  KnownDocument2:
    type: object
    properties:
      KnownClassId:
        format: uuid
        type: string
      KnownSubclassId:
        format: uuid
        type: string
        x-nullable: true
      Id:
        format: uuid
        type: string
      KnownPages:
        type: array
        items:
          $ref: '#/definitions/KnownPage'
      CreatedDate:
        format: date-time
        type: string
      Creator:
        type: string
      Name:
        type: string
      OriginalName:
        type: string
      CorrectExtractedValues:
        type: object
        additionalProperties:
          type: string
      IncorrectExtractedValues:
        type: object
        additionalProperties:
          type: array
          items:
            type: string
  KLApiDataResponseKnownDocument2:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/KnownDocument2'
  Coordinate:
    type: object
    properties:
      Y:
        type: integer
      X:
        type: integer
  RectangleCoordinates:
    type: object
    properties:
      TopLeft:
        $ref: '#/definitions/Coordinate'
      TopRight:
        $ref: '#/definitions/Coordinate'
      BottomLeft:
        $ref: '#/definitions/Coordinate'
      BottomRight:
        $ref: '#/definitions/Coordinate'
      Width:
        format: double
        type: number
      Height:
        format: double
        type: number
  Zone:
    type: object
    properties:
      Id:
        format: uuid
        type: string
      KnownPageId:
        format: uuid
        type: string
      RectangleCoordinates:
        $ref: '#/definitions/RectangleCoordinates'
  LearnInteractionCondition:
    type: object
    properties:
      Id:
        format: uuid
        type: string
      Type:
        type: string
      SerializedData:
        type: string
  LearnInteractionAction:
    type: object
    properties:
      Id:
        format: uuid
        type: string
      Type:
        type: string
      SerializedData:
        type: string
  LearnInteractionValidation:
    type: object
    properties:
      ScriptBlockId:
        format: uuid
        type: string
  InteractionType:
    enum:
      - Classification
      - Extraction
      - DocumentExtraction
      - DocumentClassification
    type: string
  InteractionBooleanRelationship:
    enum:
      - And
      - Or
      - Not
    type: string
  ConditionLogicGroup:
    type: object
    properties:
      ConditionIds:
        type: array
        items:
          format: uuid
          type: string
      LogicGroups:
        type: array
        items:
          $ref: '#/definitions/ConditionLogicGroup'
      Operation:
        $ref: '#/definitions/InteractionBooleanRelationship'
  LearnInteraction:
    type: object
    properties:
      Id:
        format: uuid
        type: string
      InteractionConditions:
        type: array
        items:
          $ref: '#/definitions/LearnInteractionCondition'
      InteractionActions:
        type: array
        items:
          $ref: '#/definitions/LearnInteractionAction'
      InteractionValidation:
        $ref: '#/definitions/LearnInteractionValidation'
      KnownPageId:
        format: uuid
        type: string
        x-nullable: true
      PageIsThisPosition:
        $ref: '#/definitions/PagePosition'
      InteractionType:
        $ref: '#/definitions/InteractionType'
      ConditionalLogic:
        $ref: '#/definitions/ConditionLogicGroup'
      PageToCheck:
        $ref: '#/definitions/PagePosition'
      StopOnFirstMatch:
        type: boolean
      DisplayName:
        type: string
  LearnTemplate:
    type: object
    properties:
      TemplateId:
        format: uuid
        type: string
      ClassId:
        format: uuid
        type: string
      SubclassId:
        format: uuid
        type: string
        x-nullable: true
      KnownDocumentId:
        format: uuid
        type: string
        x-nullable: true
      TemplateZones:
        type: array
        items:
          $ref: '#/definitions/Zone'
      TemplateInteractions:
        type: array
        items:
          $ref: '#/definitions/LearnInteraction'
  IntuitiveAIKnownDocument:
    type: object
    properties:
      Name:
        type: string
      OriginalName:
        type: string
      Id:
        format: uuid
        type: string
      CreatedDate:
        format: date-time
        type: string
      Creator:
        type: string
  IntuitiveAIClass:
    type: object
    properties:
      Template:
        $ref: '#/definitions/LearnTemplate'
      KnownDocuments:
        type: array
        items:
          $ref: '#/definitions/IntuitiveAIKnownDocument'
      Id:
        format: uuid
        type: string
      Name:
        type: string
      Locked:
        type: boolean
      LockedTime:
        format: date-time
        type: string
        x-nullable: true
      LockedBy:
        type: string
      Tags:
        type: array
        items:
          type: string
      LastModified:
        format: date-time
        type: string
      Modifier:
        type: string
      Creator:
        type: string
  KLApiDataResponseIntuitiveAIClass:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/IntuitiveAIClass'
  IntuitiveAISubclass:
    type: object
    properties:
      Template:
        $ref: '#/definitions/LearnTemplate'
      Id:
        format: uuid
        type: string
      KnownClassId:
        format: uuid
        type: string
      Name:
        type: string
      LastModified:
        format: date-time
        type: string
      Modifier:
        type: string
      Creator:
        type: string
      Locked:
        type: boolean
      LockedTime:
        format: date-time
        type: string
        x-nullable: true
      LockedBy:
        type: string
  KLApiDataResponseIntuitiveAISubclass:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/IntuitiveAISubclass'
  IntuitiveAISubclassInformation:
    description: ''
    type: object
    properties:
      Id:
        format: uuid
        type: string
      KnownClassId:
        format: uuid
        type: string
      Name:
        type: string
      LastModified:
        format: date-time
        type: string
      Modifier:
        type: string
      Creator:
        type: string
      Locked:
        type: boolean
      LockedTime:
        format: date-time
        type: string
        x-nullable: true
      LockedBy:
        type: string
  IntuitiveAIClassInformation:
    type: object
    properties:
      KnownDocuments:
        type: array
        items:
          $ref: '#/definitions/IntuitiveAIKnownDocument'
      Id:
        format: uuid
        type: string
      Name:
        type: string
      Locked:
        type: boolean
      LockedTime:
        format: date-time
        type: string
        x-nullable: true
      LockedBy:
        type: string
      Tags:
        type: array
        items:
          type: string
      Subclasses:
        type: array
        items:
          $ref: '#/definitions/IntuitiveAISubclassInformation'
      LastModified:
        format: date-time
        type: string
      Modifier:
        type: string
      Creator:
        type: string
  KLApiDataResponseListIntuitiveAIClassInformation:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/IntuitiveAIClassInformation'
  JobStatus:
    enum:
      - New
      - Active
      - Paused
      - Stopped
      - Complete
      - Manual
      - Hold
      - Breakout
      - Archive
      - Error
      - Deleted
    type: string
  JobOrderBy:
    enum:
      - Status
      - LastRunDate
      - Id
    type: string
  SortDirection:
    enum:
      - Ascending
      - Descending
    type: string
  FilterJobParameter:
    description: Request object to filter queried Jobs. Parallels Monitor > All Jobs table filter functionality
    type: object
    properties:
      JobDisplayName:
        description: '(Optional) The job''s name as shown in the Jobs UI, for example ''Clean Up Cache''. The comparison is case-INsensitive here.'
        type: string
      JobID:
        format: uuid
        description: (Optional) Guid of the job
        type: string
        x-nullable: true
      JobStatus:
        description: (Optional) Status of the job
        allOf:
          - $ref: '#/definitions/JobStatus'
        x-nullable: true
      PageIndex:
        description: (Optional - Default is 0) The page division (starts at 0)
        type: integer
        x-nullable: true
      PageSize:
        description: (Optional - Default is 20) Max size of the job list (Max is 1000)
        type: integer
        x-nullable: true
      LastRuntimeOnOrAfter:
        format: date-time
        description: '(Optional) Only return entries that ran on or after this date/time. The boundary is inclusive: an entry whose last runtime equals this value is returned.'
        type: string
        x-nullable: true
      OrderBy:
        description: (Optional) How the list is sorted
        allOf:
          - $ref: '#/definitions/JobOrderBy'
        x-nullable: true
      Direction:
        description: (Optional - Default is Ascending) The direction the results are sorted in
        allOf:
          - $ref: '#/definitions/SortDirection'
        x-nullable: true
  FilterJobHistoryParameter:
    description: Request object to filter queried Job Histories. Parallels Monitor > Jobs History table filter functionality.
    type: object
    properties:
      JobStatus:
        description: (Optional) Status of the job
        allOf:
          - $ref: '#/definitions/JobStatus'
        x-nullable: true
      JobID:
        format: uuid
        description: (Optional) Guid of the job
        type: string
        x-nullable: true
      JobDisplayName:
        description: '(Optional) The job''s name as shown in the Jobs UI, for example ''Clean Up Cache''. The comparison is case-SENSITIVE here.'
        type: string
      EntryDateOnOrAfter:
        format: date-time
        description: '(Optional) Only return history entries that ran on or after this date/time. The boundary is inclusive: an entry whose date equals this value is returned.'
        type: string
        x-nullable: true
      Skip:
        description: (Optional - Default is 0) The number of items to skip before returning results
        type: integer
        x-nullable: true
      Take:
        description: (Optional - Default is 20) Max number of job history items to return (Max is 1000)
        type: integer
        x-nullable: true
      OrderBy:
        description: (Optional) How the list is sorted
        allOf:
          - $ref: '#/definitions/JobOrderBy'
        x-nullable: true
      Direction:
        description: (Optional - Default is Ascending) The direction the results are sorted in
        allOf:
          - $ref: '#/definitions/SortDirection'
        x-nullable: true
  JobHistoryDTO:
    description: Returns an object representation of an entry of job history
    type: object
    properties:
      JobInstanceID:
        format: uuid
        description: Guid of the instance
        type: string
      JobScriptId:
        format: uuid
        description: Guid of the script
        type: string
      ExecutionId:
        format: uuid
        description: Guid of the execution process
        type: string
      JobDisplayName:
        description: The job's name as shown in the Jobs UI
        type: string
      ServiceName:
        description: Name of the service
        type: string
      JobStatus:
        description: Status of the job
        allOf:
          - $ref: '#/definitions/JobStatus'
      EntryDate:
        format: date-time
        description: The date and time when the job ran
        type: string
      EventDescription:
        description: Scope of the job
        type: string
      ExceptionMessage:
        description: 'Exception message if the job failed, otherwise null'
        type: string
  JobRunDTO:
    description: Returns an object representation of a entry of job monitor information
    type: object
    properties:
      Status:
        description: Status of the job
        allOf:
          - $ref: '#/definitions/JobStatus'
      JobID:
        format: uuid
        description: Guid of the instance
        type: string
      JobDisplayName:
        description: The job's name as shown in the Jobs UI
        type: string
      LastRuntime:
        format: date-time
        description: Date and time of the job's last start
        type: string
        x-nullable: true
      NextRuntime:
        format: date-time
        description: Date and time of the job's next start
        type: string
        x-nullable: true
  RunJobParameter:
    description: Parameters for running or resubmitting a job
    type: object
    properties:
      JobInstanceID:
        format: uuid
        description: Guid of the job instance to run
        type: string
  DataResponseJobHistoryList:
    description: Returns an object containing a list of job history entries
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/JobHistoryDTO'
  DataResponseJobDefinitionList:
    description: Returns an object containing a list of job definitions
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/JobRunDTO'
  AddPaasDocumentMetadataParameter:
    description: ''
    type: object
    properties:
      Metadata:
        description: Metadata to set on the Document.
        type: array
        items:
          $ref: '#/definitions/MetadataValueDTO'
  OptionalBooleanValueProperty:
    type: object
    properties:
      Value:
        type: boolean
  ConvertToTiffColorMode:
    enum:
      - Color
      - BlackAndWhite
      - Grayscale
    type: string
  OptionalValuePropertyConvertToTiffColorMode:
    type: object
    properties:
      Value:
        $ref: '#/definitions/ConvertToTiffColorMode'
  ConvertToTiffCompressionType:
    enum:
      - JPEG
      - LZW
      - CCITT3
      - CCITT4
    type: string
  OptionalValuePropertyConvertToTiffCompressionType:
    type: object
    properties:
      Value:
        $ref: '#/definitions/ConvertToTiffCompressionType'
  OptionalIntegerValueProperty:
    type: object
    properties:
      Value:
        type: integer
  ConfigureWorkingFormatParameter:
    type: object
    properties:
      ErrorUnsupportedFiles:
        $ref: '#/definitions/OptionalBooleanValueProperty'
      ColorMode:
        $ref: '#/definitions/OptionalValuePropertyConvertToTiffColorMode'
      CompressionType:
        $ref: '#/definitions/OptionalValuePropertyConvertToTiffCompressionType'
      ImageDPI:
        $ref: '#/definitions/OptionalIntegerValueProperty'
      UseOriginalFilesIfSinglepageTiffs:
        $ref: '#/definitions/OptionalBooleanValueProperty'
      JPEGQuality:
        $ref: '#/definitions/OptionalIntegerValueProperty'
  WorkItemCreationRequestParameter:
    description: Work Item creation request object.
    type: object
    properties:
      WorkItemName:
        description: Name of the Work Item.
        type: string
      Metadata:
        description: Work item metadata to set initially.
        type: array
        items:
          $ref: '#/definitions/MetadataValueDTO'
      WorkingFormat:
        description: Set the working format for this WorkItem.
        allOf:
          - $ref: '#/definitions/ConfigureWorkingFormatParameter'
  UpsertPaasWorkItemMetadataParameter:
    description: Object defining metadata to be set on a WorkItem.
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: Id of the Work Item
        type: string
      Metadata:
        description: Metadata to set on the Work Item
        type: array
        items:
          $ref: '#/definitions/MetadataValueDTO'
  UpsertPaasDocumentMetadataParameter:
    description: Object defining metadata to be set on a WorkItem Document.
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: Id of the Work Item
        type: string
      DocumentId:
        format: uuid
        description: Id of the affected Document
        type: string
      Metadata:
        description: Metadata to set on the Document
        type: array
        items:
          $ref: '#/definitions/MetadataValueDTO'
  UpsertPaasPageMetadataParameter:
    description: Object defining metadata to be set on a WorkItem Page.
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: Id of the Work Item
        type: string
      DocumentId:
        format: uuid
        description: Id of the affected Document
        type: string
      PageId:
        format: uuid
        description: Id of the affected Pasge
        type: string
      Metadata:
        description: Metadata to set on the Page
        type: array
        items:
          $ref: '#/definitions/MetadataValueDTO'
  GetDocumentParameter:
    description: Request object to remove a Document file from a WorkItem.
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: Id of the Work Item.
        type: string
      DocumentId:
        format: uuid
        description: Id of the Work Item Document.
        type: string
  GetDocumentFileParameter:
    description: Request object to fetch a Document file from a WorkItem.
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: Id of the Work Item.
        type: string
      DocumentId:
        format: uuid
        description: Id of the Work Item Document.
        type: string
      DocumentFileId:
        format: uuid
        description: Id of the Work Item DocumentFile.
        type: string
  GetPageFileParameter:
    description: Request object to fetch a Page file from a WorkItem.
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: Id of the Work Item.
        type: string
      DocumentId:
        format: uuid
        description: Id of the Work Item Document.
        type: string
      PageId:
        format: uuid
        description: Id of the Work Item Page.
        type: string
      PageFileId:
        format: uuid
        description: Id of the Work Item PageFile.
        type: string
  GetDocumentOcrParameter:
    description: Request object to fetch Ocr data for a Document from a WorkItem.
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: Id of the Work Item.
        type: string
      DocumentId:
        format: uuid
        description: Id of the Work Item Document.
        type: string
      ExceptionIfMissingPageOcr:
        description: Avoid exceptioning when a page has not been OCR'd if true (null will be inserted for the page instead)
        type: boolean
  GetPageOcrParameter:
    description: Request object to fetch Ocr data for a Page from a WorkItem.
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: Id of the Work Item.
        type: string
      DocumentId:
        format: uuid
        description: Id of the Work Item Document.
        type: string
      PageId:
        format: uuid
        description: Id of the Work Item Page.
        type: string
      ExceptionIfMissingPageOcr:
        description: Avoid exceptioning when a page has not been OCR'd if true (null will be returned instead)
        type: boolean
  ApiRect:
    type: object
    properties:
      X:
        type: integer
      Y:
        type: integer
      Width:
        type: integer
      Height:
        type: integer
  OcrIteratorLevel:
    enum:
      - Document
      - Page
      - Word
    type: string
  APIOcrContainer:
    description: ''
    type: object
    properties:
      OcrEngineName:
        type: string
      Text:
        type: string
      Confidence:
        format: float
        type: number
      Bounds:
        $ref: '#/definitions/ApiRect'
      ChildrensLevel:
        $ref: '#/definitions/OcrIteratorLevel'
      Children:
        type: array
        items:
          $ref: '#/definitions/APIOcrContainer'
  SetDocumentOcrParameter:
    description: Request object to Set OCR data for a Document.
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: WorkItem Id.
        type: string
      DocumentId:
        format: uuid
        description: Document Id.
        type: string
      Ocr:
        description: The Document Ocr.
        allOf:
          - $ref: '#/definitions/APIOcrContainer'
  SetPageOcrParameter:
    description: Request object to Set OCR data for a Page.
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: WorkItem Id.
        type: string
      DocumentId:
        format: uuid
        description: Document Id.
        type: string
      PageId:
        format: uuid
        description: Page Id.
        type: string
      Ocr:
        description: The Page Ocr.
        allOf:
          - $ref: '#/definitions/APIOcrContainer'
  BatchMetadataParameterValue:
    type: object
    properties:
      Value:
        type: string
      Bucket:
        type: string
      Key:
        type: string
  BlobIdentifierWithInfo:
    type: object
    properties:
      FetchBinaryStrategyId:
        type: string
      Hash:
        type: string
      Length:
        format: int64
        type: integer
      FileNameHint:
        type: string
      MimeType:
        type: string
      BlobId:
        type: string
      ContainerName:
        type: string
      ConnectionStringName:
        type: string
      BlobStorageSystemId:
        type: string
  BlobPageFileInput:
    type: object
    properties:
      PageFileType:
        $ref: '#/definitions/PageFileType'
      PageMetadataToSet:
        type: array
        items:
          $ref: '#/definitions/BatchMetadataParameterValue'
      Info:
        $ref: '#/definitions/BlobIdentifierWithInfo'
  AddPagesFromBatchFilesParameter:
    description: ''
    type: object
    properties:
      BlobPageFileInputs:
        description: Pages with files (and optional metadata) that are to be added to the WorkItem document.
        type: array
        items:
          $ref: '#/definitions/BlobPageFileInput'
      WorkItemId:
        format: uuid
        description: WorkItem Id.
        type: string
      DocumentId:
        format: uuid
        description: Document Id.
        type: string
  AddPaasBatchFileParameter:
    description: Request object to add a file which can later be added to a Document or Page of a WorkItem.
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: WorkItem Id.
        type: string
      File:
        description: The file to upload.
        type: file
      FileName:
        description: 'The name of the batch file to upload, including extension.'
        type: string
      mimeType:
        description: The MIME type of the batch file to upload.
        type: string
  FilterScope:
    enum:
      - WorkItem
      - Document
    type: string
  KWorkerWorkStatus:
    enum:
      - Completed
      - Error
      - Available
      - BeingWorked
      - Hold
      - Stopped
      - New
    type: string
  WorkQueryDateFilterDirection:
    enum:
      - GreaterThan
      - LessThan
    type: string
  MetadataRequest:
    type: object
    properties:
      Bucket:
        type: string
      Key:
        type: string
  PaasWorkQueryParameter:
    description: Query parameters to run against active work items.
    type: object
    properties:
      Skip:
        type: integer
      Take:
        type: integer
      WorkItemName:
        type: string
      MetadataKeyFilter:
        type: string
      MetadataValueFilter:
        type: string
      FilterScope:
        $ref: '#/definitions/FilterScope'
      WorkStatusFilter:
        $ref: '#/definitions/KWorkerWorkStatus'
      CurrentWorkflowIdFilter:
        format: uuid
        type: string
        x-nullable: true
      LastWorkedTimeFilter:
        format: date-time
        type: string
        x-nullable: true
      LastWorkedTimeFilterDirection:
        $ref: '#/definitions/WorkQueryDateFilterDirection'
      MetadataToReturn:
        type: array
        items:
          $ref: '#/definitions/MetadataRequest'
  PaasWorkItemIdDTO:
    type: object
    properties:
      WorkItemId:
        format: uuid
        type: string
  KLApiDataResponsePaasWorkItemIdDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/PaasWorkItemIdDTO'
  KLApiDataResponseBlobIdentifierWithInfo:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/BlobIdentifierWithInfo'
  PaasWorkItemDocumentIdDTO:
    type: object
    properties:
      WorkItemId:
        format: uuid
        type: string
      DocumentId:
        format: uuid
        type: string
  KLApiDataResponsePaasWorkItemDocumentIdDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/PaasWorkItemDocumentIdDTO'
  PaasWorkItemPageIdDTO:
    type: object
    properties:
      WorkItemId:
        format: uuid
        type: string
      DocumentId:
        format: uuid
        type: string
      PageId:
        format: uuid
        type: string
  KLApiDataResponsePaasWorkItemPageIdDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/PaasWorkItemPageIdDTO'
  PaasWorkItemDocumentFileIdDTO:
    type: object
    properties:
      WorkItemId:
        format: uuid
        type: string
      DocumentId:
        format: uuid
        type: string
      DocumentFileId:
        format: uuid
        type: string
  KLApiDataResponsePaasWorkItemDocumentFileIdDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/PaasWorkItemDocumentFileIdDTO'
  PaasWorkItemPageFileIdDTO:
    type: object
    properties:
      WorkItemId:
        format: uuid
        type: string
      DocumentId:
        format: uuid
        type: string
      PageId:
        format: uuid
        type: string
      PageFileId:
        format: uuid
        type: string
  KLApiDataResponsePaasWorkItemPageFileIdDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/PaasWorkItemPageFileIdDTO'
  WorkItemProjectionDTO:
    type: object
    properties:
      WorkItemId:
        format: uuid
        type: string
      Name:
        type: string
      Documents:
        type: array
        items:
          $ref: '#/definitions/DocumentProjectionDTO'
      Metadata:
        type: object
        additionalProperties:
          type: object
          additionalProperties:
            type: string
  KLApiDataResponseWorkItemProjectionDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/WorkItemProjectionDTO'
  WorkItemEventDTO:
    type: object
    properties:
      EventIndex:
        format: int64
        type: integer
      Occurred:
        format: date-time
        type: string
      EventType:
        type: string
      EventParameters:
        type: string
      GroupingEventId:
        format: uuid
        type: string
      GroupEventType:
        type: string
      Hash:
        type: string
  KLApiDataResponseListWorkItemEventDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/WorkItemEventDTO'
  PageOcrDTO:
    type: object
    properties:
      PageId:
        format: uuid
        type: string
      Text:
        type: string
      Confidence:
        format: double
        type: number
  KLApiDataResponsePageOcrDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/PageOcrDTO'
  KLApiDataResponseListPageOcrDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/PageOcrDTO'
  PaasWorkItemDTO:
    type: object
    properties:
      WorkItemId:
        format: uuid
        type: string
      ParentIds:
        type: array
        items:
          format: uuid
          type: string
      RootId:
        format: uuid
        type: string
      WorkRequestId:
        format: uuid
        type: string
        x-nullable: true
      CreatedTime:
        format: date-time
        type: string
      CurrentStep:
        format: uuid
        type: string
        x-nullable: true
      CurrentWorkflow:
        format: uuid
        type: string
        x-nullable: true
      CurrentWorkflowVersion:
        type: integer
        x-nullable: true
      LastSubmittedTime:
        format: date-time
        type: string
      LastWorkedTime:
        format: date-time
        type: string
  WorkItemInfoDTO:
    type: object
    properties:
      WorkItem:
        $ref: '#/definitions/PaasWorkItemDTO'
      WorkItemName:
        type: string
      WorkStatus:
        $ref: '#/definitions/KWorkerWorkStatus'
  KLApiDataResponseWorkItemInfoDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/WorkItemInfoDTO'
  KLApiDataResponseListWorkItemInfoDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/WorkItemInfoDTO'
  KWorkerIndexedDocument:
    type: object
    properties:
      DocumentId:
        format: uuid
        type: string
      Metadata:
        type: object
        additionalProperties:
          type: object
          additionalProperties:
            type: string
  KWorkerIndexedMetadata:
    type: object
    properties:
      WorkItemMetadata:
        type: object
        additionalProperties:
          type: object
          additionalProperties:
            type: string
      Documents:
        type: array
        items:
          $ref: '#/definitions/KWorkerIndexedDocument'
  WorkItemInfoWithMetadata:
    type: object
    properties:
      WorkItemMetadata:
        $ref: '#/definitions/KWorkerIndexedMetadata'
      WorkItem:
        $ref: '#/definitions/PaasWorkItemDTO'
      WorkItemName:
        type: string
      WorkStatus:
        $ref: '#/definitions/KWorkerWorkStatus'
  KLApiDataResponseListWorkItemInfoWithMetadata:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/WorkItemInfoWithMetadata'
  EventRecordType:
    enum:
      - Standalone
      - Start
      - Stop
    type: string
  EventRecordStatus:
    enum:
      - Event
      - Verbose
      - Warning
      - Error
    type: string
  WorkflowEventDTO:
    type: object
    properties:
      EventId:
        format: uuid
        type: string
      BoolProperties:
        type: object
        additionalProperties:
          type: boolean
      DoubleProperties:
        type: object
        additionalProperties:
          format: double
          type: number
      LongProperties:
        type: object
        additionalProperties:
          format: int64
          type: integer
      StringProperties:
        type: object
        additionalProperties:
          type: string
      DurationMs:
        format: int64
        type: integer
        x-nullable: true
      Scopes:
        type: array
        items:
          type: string
      UserId:
        type: string
      OccurredTime:
        format: int64
        type: integer
      MachineId:
        type: string
      IndexedEventType:
        $ref: '#/definitions/EventRecordType'
      WorkType:
        type: string
      StepId:
        format: uuid
        type: string
        x-nullable: true
      ProcessVersion:
        type: integer
        x-nullable: true
      ProcessId:
        format: uuid
        type: string
        x-nullable: true
      WorkItemRootId:
        format: uuid
        type: string
        x-nullable: true
      WorkItemId:
        format: uuid
        type: string
        x-nullable: true
      ParentEventId:
        format: uuid
        type: string
        x-nullable: true
      IndexedEventStatus:
        $ref: '#/definitions/EventRecordStatus'
  KLApiDataResponseListWorkflowEventDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/WorkflowEventDTO'
  LearnFingerprintInformation:
    description: An object describing the metadata of a Learn Fingerprint
    type: object
    properties:
      Id:
        format: uuid
        description: ID of the fingerprint
        type: string
      Name:
        description: Display name of the fingerprint
        type: string
      Tags:
        description: List of Tags (strings) that are ascociated with this fingerprint. Can be used for filtering
        type: array
        items:
          type: string
      LastModified:
        format: date-time
        description: Date of last modification of the fingerprint
        type: string
      Modifier:
        description: Apps user token for the last person to modify the fingerprint
        type: string
      Creator:
        description: Apps user token for the creator of the fingerprint
        type: string
      Locked:
        description: Is the fingerprint locked
        type: boolean
      LockedTime:
        format: date-time
        description: Date the fingerprint was locked
        type: string
        x-nullable: true
      LockedBy:
        description: Apps user token for the last person to edit the fingerprint
        type: string
      ContentTypeId:
        format: uuid
        description: ID of the content type that this fingerprint will set on a matched document
        type: string
      ContentTypeName:
        description: Display Name of the content type that this fingerprint will set on a matched document (null if content type no longer exists)
        type: string
  LearnPercentagePoint:
    description: 'A percentage based point, specifying X and Y as fractions of the total page Width and Height'
    type: object
    properties:
      X:
        format: float
        description: Must be a value between 0 and 1
        type: number
      Y:
        format: float
        description: Must be a value between 0 and 1
        type: number
  LearnBoundingBox:
    description: An object specifying the configuration of a Fingerprint Rule with a single Regex Anchor Condition and a single Ocr Action
    type: object
    properties:
      TopLeft:
        description: The top left point
        allOf:
          - $ref: '#/definitions/LearnPercentagePoint'
      TopRight:
        description: The top right point
        allOf:
          - $ref: '#/definitions/LearnPercentagePoint'
      BottomRight:
        description: The bottom right point
        allOf:
          - $ref: '#/definitions/LearnPercentagePoint'
      BottomLeft:
        description: The bottom left point
        allOf:
          - $ref: '#/definitions/LearnPercentagePoint'
  RegexToOcrInteractionDefinition:
    description: An object specifying the configuration of a Fingerprint Rule with a single Regex Anchor Condition and a single Ocr Action
    type: object
    properties:
      FingerprintId:
        format: uuid
        description: ID of the fingerprint
        type: string
      ForceOverrideLock:
        description: Allow this operation even if another user has the Fingerprint locked (will destroy the locked user session and cause any unsaved changes to be lost)
        type: boolean
      PageNumberZeroBased:
        description: Page Number that the interaction should be created on (zero based)
        type: integer
      RegexConditionBoundingBox:
        description: Bounding Box for the Regex Anchor Region with points given as values between 0 and 1
        allOf:
          - $ref: '#/definitions/LearnBoundingBox'
      RegexConditionExpression:
        description: Regex expression to use as the search criterea for the Regex Anchor Condition
        type: string
      OcrActionBoundingBox:
        description: Bounding Box for the Ocr Extraction Region with points given as values between 0 and 1
        allOf:
          - $ref: '#/definitions/LearnBoundingBox'
      OcrActionMetadataField:
        description: Metadata Field Name to set when running this Ocr Action
        type: string
      OcrActionRegexExpression:
        description: Optional regex expression to filter the ocr'd text from this Action
        type: string
  ImageAnchorToOcrInteractionDefinition:
    description: An object specifying the configuration of a Fingerprint Rule with a single Image Anchor Condition and a single Ocr Action
    type: object
    properties:
      FingerprintId:
        format: uuid
        description: ID of the fingerprint
        type: string
      ForceOverrideLock:
        description: Allow this operation even if another user has the Fingerprint locked (will destroy the locked user session and cause any unsaved changes to be lost)
        type: boolean
      PageNumberZeroBased:
        description: Page Number that the interaction should be created on (zero based)
        type: integer
      ImageAnchorConditionBoundingBox:
        description: Bounding Box for the Image Anchor Region with points given as values between 0 and 1
        allOf:
          - $ref: '#/definitions/LearnBoundingBox'
      OcrActionBoundingBox:
        description: Bounding Box for the Ocr Extraction Region with points given as values between 0 and 1
        allOf:
          - $ref: '#/definitions/LearnBoundingBox'
      OcrActionMetadataField:
        description: Metadata Field Name to set when running this Ocr Action
        type: string
      OcrActionRegexExpression:
        description: Optional regex expression to filter the ocr'd text from this Action
        type: string
  StaticMetadataActionDefinition:
    description: An object specifying the configuration of a Static Metadata action
    type: object
    properties:
      FingerprintId:
        format: uuid
        description: ID of the fingerprint
        type: string
      ForceOverrideLock:
        description: Allow this operation even if another user has the Fingerprint locked (will destroy the locked user session and cause any unsaved changes to be lost)
        type: boolean
      StaticMetadataActionMetadataField:
        description: The metadata field that will be set by this action
        type: string
      StaticMetadataActionMetadataValue:
        description: 'The value that will be inserted into to the [StaticMetadataActionMetadataField] metadata key'
        type: string
  AddLearnFingerprintInformationParameter:
    description: An object describing the parameters to add to a new Learn Fingerprint
    type: object
    properties:
      Tags:
        description: List of tags to apply to the created Fingerprint (Json stringified array of alphanumeric only strings)
        type: array
        items:
          type: string
      FingerprintName:
        description: Name of the fingerprint (alphanumeric only)
        type: string
      ContentTypeId:
        format: uuid
        description: Guid of the content type id to set for documents that match this fingerprint
        type: string
      FileName:
        description: 'Name of the training file, including extension'
        type: string
      mimeType:
        description: MIME type of the training file
        type: string
  ContentTypeMapping:
    description: An object containing the Id of a new Content Type Id to use for the Fingerprint
    type: object
    properties:
      NewContentTypeId:
        format: uuid
        description: ID of the new content type to set on the imported Fingerprint
        type: string
  ChangeFingerprintContentTypeParameter:
    description: An object containing the Id of a new Content Type Id
    type: object
    properties:
      FingerprintId:
        format: uuid
        description: ID of the fingerprint
        type: string
      ContentTypeMapping:
        description: Mapping defining the translation to the new content type
        allOf:
          - $ref: '#/definitions/ContentTypeMapping'
      ForceOverrideLock:
        description: Allow this operation even if another user has the Fingerprint locked (will destroy the locked user session and cause any unsaved changes to be lost)
        type: boolean
  FingerprintIdParameter:
    description: An object containing the Id of a Fingerprint
    type: object
    properties:
      FingerprintId:
        format: uuid
        description: ID of the fingerprint
        type: string
  ModifyTrainingFilesParameter:
    description: An object specifying the Fingerprint to remove training files from
    type: object
    properties:
      FingerprintId:
        format: uuid
        description: ID of the fingerprint
        type: string
      ForceOverrideLock:
        description: Allow this operation even if another user has the Fingerprint locked (will destroy the locked user session and cause any unsaved changes to be lost)
        type: boolean
      FileName:
        description: 'Name of the training file, including extension'
        type: string
      mimeType:
        description: MIME type of the training file
        type: string
  SetFingerprintTagsParameter:
    description: An object specifying tags to apply to a Fingerprint and the Fingerprint to apply it to
    type: object
    properties:
      FingerprintId:
        format: uuid
        description: ID of the fingerprint
        type: string
      Tags:
        description: Tags to apply to the Fingerprint
        type: array
        items:
          type: string
      ForceOverrideLock:
        description: Allow this operation even if another user has the Fingerprint locked (will destroy the locked user session and cause any unsaved changes to be lost)
        type: boolean
  DataResponseLearnFingerprintInformation:
    description: An object describing the metadata of a Learn Fingerprint
    type: object
    properties:
      Success:
        description: Success boolean
        type: boolean
      MessageKey:
        type: string
      Data:
        description: LearnFingerprintInformation
        allOf:
          - $ref: '#/definitions/LearnFingerprintInformation'
  DataResponseLearnFingerprintInformationList:
    description: An object describing the metadata of all Learn Fingerprints
    type: object
    properties:
      Success:
        description: Success boolean
        type: boolean
      MessageKey:
        type: string
      Data:
        description: List of LearnFingerprintInformation
        type: array
        items:
          $ref: '#/definitions/LearnFingerprintInformation'
  WorkItemDTOStatus:
    enum:
      - New
      - Active
      - Paused
      - Stopped
      - Complete
      - Manual
      - Hold
      - Breakout
      - Archive
      - Error
      - Deleted
    type: string
  WorkItemHoldStatus:
    enum:
      - None
      - VerifyHold
      - CallbackHold
      - PostHold
    type: string
  WorkItemDTO:
    description: An object representation of a work item
    type: object
    properties:
      BatchName:
        description: Name of the work item
        type: string
      HoldId:
        format: uuid
        description: 'ID of the hold on the work item, if a hold exists'
        type: string
        x-nullable: true
      ScheduledDeletion:
        format: date-time
        description: Scheduled deletion datetime of the work item
        type: string
        x-nullable: true
      UserLockTimeStamp:
        format: date-time
        description: 'Datetime that an identity obtained a lock on the work item, if a lock exists'
        type: string
        x-nullable: true
      WorkerLockTimeStamp:
        format: date-time
        description: 'Datetime that a worker obtained a lock on the work item, if a lock exists'
        type: string
        x-nullable: true
      UserToken:
        description: 'User token of the identity with a lock on the work item, if a lock exists'
        type: string
      Suspended:
        description: Indicator of whether the batch was suspended
        type: boolean
      LockWorkerId:
        description: 'Identifier of the worker with a lock on the work item, if a lock exists'
        type: integer
        x-nullable: true
      DueDate:
        format: date-time
        description: Internal property intended to manage the prioritization of work items for processing
        type: string
      RoleId:
        format: uuid
        description: ID of the role associated with the worker/activity that the work item occupies
        type: string
        x-nullable: true
      Status:
        description: Status of the work item
        allOf:
          - $ref: '#/definitions/WorkItemDTOStatus'
      ActivityActive:
        description: Indicator of whether the work item is currently in an active activity
        type: boolean
      ActivityId:
        format: uuid
        description: ID of the activity that the work item currently occupies
        type: string
        x-nullable: true
      ItemId:
        format: uuid
        description: ID of the work item
        type: string
      HoldStatus:
        description: Status of a hold on the work item
        allOf:
          - $ref: '#/definitions/WorkItemHoldStatus'
        x-nullable: true
      ScheduledHoldVerification:
        format: date-time
        description: Datetime of the next evaluation of the hold status of the work item
        type: string
        x-nullable: true
  WorkItemDataDTO:
    description: Returns an object representations of the current status of a given work item
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: ID of the work item
        type: string
      WorkItemName:
        description: Name of the work item
        type: string
      WorkItemStatus:
        description: Status of the work item
        type: string
      ProcessName:
        description: Name of the process the work item currently occupies
        type: string
      ActivityName:
        description: Name of the activity the work item currently occupies
        type: string
      HoldId:
        format: uuid
        description: 'Id of the hold on the work item, if a hold exists'
        type: string
        x-nullable: true
      WorkItemUser:
        description: 'The user token of the identity that has a lock on the work item, if a lock exists'
        type: string
      LastUpdated:
        format: date-time
        description: The date and time the last processing event was written associated with the work item
        type: string
        x-nullable: true
  WorkItemMonitorDataDTO:
    description: Returns a list of object representations of the current status of a given work item
    type: object
    properties:
      WorkItemData:
        description: Collection of objects representing work item data viewable in the monitor
        type: array
        items:
          $ref: '#/definitions/WorkItemDataDTO'
      TotalItems:
        description: The total number of active work items in the processing system
        type: integer
      ErrorItems:
        description: The total number of work items in error in the processing system
        type: integer
  PropertyItem:
    type: object
  WorkitemHistoryQueryResult:
    type: object
    properties:
      WorkitemId:
        format: uuid
        type: string
      Level:
        type: string
      EntryDate:
        format: date-time
        type: string
      Process:
        type: string
      Step:
        type: string
      EventDescription:
        type: string
      Properties:
        type: array
        items:
          $ref: '#/definitions/PropertyItem'
  ListWorkitemHistoryQueryResult:
    description: Returns a list of event history records associated with a given work item
    type: array
    items:
      $ref: '#/definitions/WorkitemHistoryQueryResult'
  WorkitemQueryResult:
    description: An object representation of a work item returned by a work item query
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: ID of the work item
        type: string
      HoldId:
        format: uuid
        description: 'ID of the hold on the work item, if a hold exists'
        type: string
        x-nullable: true
      LastUpdated:
        format: date-time
        description: The date and time the last processing event was written associated with the work item
        type: string
        x-nullable: true
      WorkItemName:
        description: Name of the work item
        type: string
      Status:
        description: 'Status of the work item (e.g. New, Active, Hold, Error, Complete)'
        type: string
      Process:
        description: Name of the process the work item currently occupies
        type: string
      Step:
        description: Name of the step the work item currently occupies
        type: string
      UserToken:
        description: 'User token of the identity with a lock on the work item, if a lock exists'
        type: string
      Properties:
        description: Collection of key/value metadata properties associated with the work item
        type: array
        items:
          $ref: '#/definitions/PropertyItem'
  ActivityDTO:
    description: An object representation of an activity
    type: object
    properties:
      ActivityProcessID:
        format: uuid
        description: Id of the process this activity belongs in
        type: string
      PositiveNextActivity:
        format: uuid
        description: Next activity if the routing is positive
        type: string
        x-nullable: true
      NegativeNextActivity:
        format: uuid
        description: Next activity if the routing is negative
        type: string
        x-nullable: true
      DefinitionID:
        format: uuid
        description: Id of the definition for this activity
        type: string
      ActivityParameters:
        description: Configured parameters for the activity
        type: string
      Id:
        format: uuid
        description: ID of the activity as it exists in the processing system
        type: string
      Name:
        description: Name of the activity as it exists in the processing system
        type: string
      MetaData:
        description: Metadata for activity
        type: string
  ProcessDTO:
    description: An object representation of a process
    type: object
    properties:
      Id:
        format: uuid
        description: ID of the process as it exists in the processing system
        type: string
      Name:
        description: Name of the process as it exists in the processing system
        type: string
      Version:
        description: Version number of the process
        type: integer
      CheckOutUserToken:
        description: Token of the user checking out this process if there is one
        type: string
      FirstActivityID:
        format: uuid
        description: Id of the first activity in this process
        type: string
        x-nullable: true
      Activities:
        description: List of configured activities in this process
        type: array
        items:
          $ref: '#/definitions/ActivityDTO'
  SendBatchToProcessDTO:
    description: A grouping object for workitem and process objects
    type: object
    properties:
      WorkItem:
        description: Workitem under operation
        allOf:
          - $ref: '#/definitions/WorkItemDTO'
      Process:
        description: Process to send the workitem to
        allOf:
          - $ref: '#/definitions/ProcessDTO'
  WorkItemIdentifierParameter:
    description: Identifying information for a work item
    type: object
    properties:
      BatchId:
        format: uuid
        description: ID of the work item
        type: string
  ProcessingWorkitemStatus:
    enum:
      - New
      - Active
      - Paused
      - Stopped
      - Complete
      - Manual
      - Hold
      - Breakout
      - Archive
      - Error
      - Deleted
    type: string
  WorkItemHistoryOrderBy:
    enum:
      - EntryDate
      - Status
      - WorkItemId
    type: string
  WorkItemHistoryQueryParameter:
    description: Pass an object with workitem properties to filter event history results
    type: object
    properties:
      WorkItemId:
        format: uuid
        description: (Optional) ID of the work item to filter by
        type: string
        x-nullable: true
      EntryDateOnOrAfter:
        format: date-time
        description: (Optional) Filter to only return events that occurred on or after this datetime.
        type: string
        x-nullable: true
      Status:
        description: (Optional) The status of the work item
        allOf:
          - $ref: '#/definitions/ProcessingWorkitemStatus'
        x-nullable: true
      OrderBy:
        description: (Optional - Default is EntryDate) The column the results are sorted by. An unset value sorts by EntryDate.
        allOf:
          - $ref: '#/definitions/WorkItemHistoryOrderBy'
        x-nullable: true
      Direction:
        description: (Optional - Default is Ascending) The direction the results are sorted in. Any value other than Descending sorts Ascending.
        allOf:
          - $ref: '#/definitions/SortDirection'
        x-nullable: true
      Skip:
        description: (Optional - Default is 0) The number of items to skip before returning results. A negative value is clamped to 0 rather than rejected.
        type: integer
        x-nullable: true
      Take:
        description: (Optional - Default is 20) Max number of items to return. Zero or a negative value falls back to 20; a value above the 1000 maximum is clamped to 1000 rather than rejected.
        type: integer
        x-nullable: true
  WorkitemOrderBy:
    enum:
      - WorkitemName
      - WorkItemStatus
      - LastRuntime
    type: string
  WorkItemQueryParameter:
    description: Pass an object with work item properties to filter the work item query results. All properties are optional.
    type: object
    properties:
      WorkitemName:
        description: (Optional) Filter to work items whose name matches this value. The comparison is case-insensitive.
        type: string
      WorkitemId:
        format: uuid
        description: (Optional) Filter to the single work item with this ID
        type: string
        x-nullable: true
      Status:
        description: (Optional) Filter to work items currently in this status
        allOf:
          - $ref: '#/definitions/ProcessingWorkitemStatus'
        x-nullable: true
      LastUpdatedOnOrAfter:
        format: date-time
        description: (Optional) Filter to work items last updated on or after this datetime.
        type: string
        x-nullable: true
      OrderBy:
        description: (Optional - Default is WorkItemStatus) The column the results are sorted by. An unset value sorts by WorkItemStatus.
        allOf:
          - $ref: '#/definitions/WorkitemOrderBy'
        x-nullable: true
      Direction:
        description: (Optional - Default is Ascending) The direction the results are sorted in. Any value other than Descending sorts Ascending.
        allOf:
          - $ref: '#/definitions/SortDirection'
        x-nullable: true
      PageSize:
        description: (Optional - Default is 20) Max size of the result list. Zero or a negative value falls back to 20; a value above the 1000 maximum is clamped to 1000 rather than rejected.
        type: integer
        x-nullable: true
      PageIndex:
        description: (Optional - Default is 0) The page division (starts at 0). A negative value is clamped to 0 rather than rejected.
        type: integer
        x-nullable: true
  WorkItemNamedParameter:
    description: Identifying information for a work item
    type: object
    properties:
      BatchId:
        format: uuid
        description: ID of the workitem as it exists in the processing system
        type: string
      BatchName:
        description: Optional name of the workitem as it exists in the processing system
        type: string
  ProcessIdentifierParameter:
    description: Identifying information for a process
    type: object
    properties:
      Name:
        description: Name of the process as it exists in the processing system
        type: string
      Id:
        format: uuid
        description: ID of the process as it exists in the processing system
        type: string
        x-nullable: true
  DataResponseWorkItemDTO:
    description: Returns an object representation of a workitem
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/WorkItemDTO'
  DataResponseWorkItemDTOList:
    description: Returns an object representation of a list of workitems
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/WorkItemDTO'
  DataResponseProcessDTO:
    description: Returns an object representation of a process
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/ProcessDTO'
  DataResponseProcessDTOList:
    description: Returns an object representation of a list of processes
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/ProcessDTO'
  DataResponseWorkItemMonitorDataDTO:
    description: Returns a list of object representations of the current status of a given work item
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/WorkItemMonitorDataDTO'
  DataResponseBatchMonitorWorkItemDataDTO:
    description: Returns a list of object representations of the current status of a given work item
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/WorkitemHistoryQueryResult'
  DataResponseWorkitemQueryResultList:
    description: Returns a list of work items matching the supplied query filters
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/WorkitemQueryResult'
  RepositoryConnectorDTO:
    description: An object representation of a repository connector
    type: object
    properties:
      ConnectorId:
        format: uuid
        description: ID of the connector
        type: string
      DisplayName:
        description: Display name of the connector
        type: string
      ConnectorDefinitionId:
        description: ID of the connector definition
        type: string
      GatewayId:
        format: uuid
        description: Gateway Id name of the connector
        type: string
  ConfiguredUIFieldParameterDTO:
    description: A simple key-value pair containing data for a given UI kind's supported configuration options
    type: object
    properties:
      Key:
        description: Name of the configuration option to set; possible values are restricted to the UIKind of the control being configured
        type: string
      Value:
        description: Value of the configuration payload to set for the UI
        type: string
  ConfiguredUIFieldDTO:
    description: An object representation of the UI configuration to be associated with a given field
    type: object
    properties:
      Sequence:
        description: Zero-based index of the order that the field is listed in reloation to other fields on the content type
        type: integer
      UIKind:
        description: Stringified definition for the kind of UI being represented
        type: string
      UIConfig:
        description: A collection of parameters defining the configuration of the UI component
        type: array
        items:
          $ref: '#/definitions/ConfiguredUIFieldParameterDTO'
  ConfiguredBehaviorParameterDTO:
    description: A simple key-value pair containing data for a given behavior's supported configuration options
    type: object
    properties:
      Key:
        description: Name of the configuration option to set; possible values are restricted to the kind of behavior being configured
        type: string
      Value:
        description: Value of the configuration payload to set for the behavior
        type: string
  ConfiguredBehaviorDTO:
    description: An object representation of a configured behavior associated with a field
    type: object
    properties:
      BehaviorId:
        description: Globally unique identifier used to reference the behavior
        type: string
      BehaviorKey:
        description: Unique system-referenceable name of the behavior representing its type
        type: string
      Sequence:
        description: Index controlling the order with which the behavior is fired relative to other behaviors associated with the field
        type: integer
      LockedBehavior:
        description: Controls the lock status of the behavior (not generally used outside of required behavior on content types origianlly from SharePoint)
        type: boolean
      BehaviorConfig:
        description: A collection of parameters defining the configuration of the behavior
        type: array
        items:
          $ref: '#/definitions/ConfiguredBehaviorParameterDTO'
  ContentMetadataDescriptionDTO:
    description: A simple key-value pair containing metadata associated with the field
    type: object
    properties:
      MetadataKey:
        description: Key used to refer to the metadata
        type: string
      MetadataValue:
        description: Value of the metadata
        type: string
  ContentTypeFieldDefinitionDTO:
    description: An object representation of an individual field present on a content type
    type: object
    properties:
      MetadataKey:
        description: Unique string identifier for the field
        type: string
      ConfiguredUI:
        description: The configuration of the UI associated with the field
        allOf:
          - $ref: '#/definitions/ConfiguredUIFieldDTO'
      ConfiguredBehaviors:
        description: A collection of behaviors associated with the field
        type: array
        items:
          $ref: '#/definitions/ConfiguredBehaviorDTO'
      MetadataDescription:
        description: A collection of metadata meant to describe the field
        type: array
        items:
          $ref: '#/definitions/ContentMetadataDescriptionDTO'
  ContentTypeDTO:
    description: An object representation of a content type and its taxonomy
    type: object
    properties:
      InternalId:
        format: uuid
        description: Internal ID of the content type
        type: string
      ContentTypeId:
        description: ID of the content type
        type: string
      ContentTypeDisplayName:
        description: Display name of the content type
        type: string
      FieldDefinitions:
        description: List of the configured fields for this content type
        type: array
        items:
          $ref: '#/definitions/ContentTypeFieldDefinitionDTO'
  ContentTypeIdentifierParameter:
    description: Identifying information for a content type
    type: object
    properties:
      InternalContentTypeId:
        format: uuid
        description: Id of the content type used to refer to it internally
        type: string
  AddContentTypeParameter:
    description: Information required for creating a content type
    type: object
    properties:
      ConnectorId:
        format: uuid
        description: Id of the connector to which the content type should be added
        type: string
      InternalContentTypeId:
        format: uuid
        description: Id of the content type used to refer to it internally. Will be automatically generated if not provided at creation time
        type: string
        x-nullable: true
      DisplayName:
        description: Display name of the content type
        type: string
      Visible:
        description: Determines whether the content type is visible or not. Defaults to true if not provided
        type: boolean
        x-nullable: true
  SetContentTypeDisplayNameParameter:
    description: Identifying information for the content type to modify and a new display name value
    type: object
    properties:
      InternalContentTypeId:
        format: uuid
        description: ID of the content type used to refer to it internally
        type: string
      DisplayName:
        description: Display name of the content type
        type: string
  SetContentTypeVisibleParameter:
    description: Identifying information for the content type to modify and a visibility value
    type: object
    properties:
      InternalContentTypeId:
        format: uuid
        description: ID of the content type used to refer to it internally
        type: string
      Visible:
        description: Determines whether the content type is visible or not
        type: boolean
  ContentTypeFieldIdentifierParameter:
    description: An object containing identifying information for a field
    type: object
    properties:
      InternalContentTypeId:
        format: uuid
        description: 'Artificial identifier for the content type to which the field belongs, used internally in the product'
        type: string
      FieldMetadataKey:
        description: Unique string identifying the field internal to the product; often the same value as Label
        type: string
  FieldStyle:
    enum:
      - Lookup
      - Boolean
      - Checkbox
      - Currency
      - DateTime
      - DropDown
      - MultiLineText
      - Number
      - RadioButton
      - Table
      - TermSet
      - Text
      - Unsupported
    type: string
  AddContentTypeFieldParameter:
    description: An object containing the desired initial state of the field to be added to the specified content type
    type: object
    properties:
      Style:
        description: 'String identifier dictating what kind of UI control should be associated with the field. Possible values: AppendSuggestDropDownList, Boolean, CheckBoxCollection, Currency, DateTime, DropDownList, MultiLineTextbox, NumericUpDown, RadioButtonCollection, Table, TermSet, Textbox, Unsupported'
        allOf:
          - $ref: '#/definitions/FieldStyle'
      Label:
        description: User-friendly display name of the field
        type: string
      Enabled:
        description: Determines whether the field is enabled or not
        type: boolean
        x-nullable: true
      Visible:
        description: Determines whether the field is visible or not
        type: boolean
        x-nullable: true
      Sequence:
        description: 0-based index of the field's display position relative to other fields on the content type
        type: integer
        x-nullable: true
      StyleConfiguration:
        type: object
        additionalProperties:
          type: string
      InternalContentTypeId:
        format: uuid
        type: string
      FieldMetadataKey:
        type: string
  SetContentTypeFieldStyleParameter:
    description: An object containing identifying information for the field and the style to which it should be set
    type: object
    properties:
      Style:
        description: 'String identifier dictating what kind of UI control should be associated with the field. Possible values: AppendSuggestDropDownList, Boolean, CheckBoxCollection, Currency, DateTime, DropDownList, MultiLineTextbox, NumericUpDown, RadioButtonCollection, Table, TermSet, Textbox, Unsupported'
        allOf:
          - $ref: '#/definitions/FieldStyle'
      InternalContentTypeId:
        format: uuid
        type: string
      FieldMetadataKey:
        type: string
  SetContentTypeFieldLabelParameter:
    description: An object containing identifying information for the field and a new value for its label
    type: object
    properties:
      Label:
        description: User-friendly display name of the field
        type: string
      InternalContentTypeId:
        format: uuid
        type: string
      FieldMetadataKey:
        type: string
  SetContentTypeFieldEnabledParameter:
    description: An object containing identifying information for the field and whether it is enabled or not
    type: object
    properties:
      Enabled:
        description: Determines whether the field is enabled or not
        type: boolean
      InternalContentTypeId:
        format: uuid
        type: string
      FieldMetadataKey:
        type: string
  SetContentTypeFieldVisibleParameter:
    description: An object containing identifying information for the field and whether it is visible or not
    type: object
    properties:
      Visible:
        description: Determines whether the field is visible or not
        type: boolean
      InternalContentTypeId:
        format: uuid
        type: string
      FieldMetadataKey:
        type: string
  SetContentTypeFieldSequenceParameter:
    description: An object containing identifying information for the field and the sequence to which it should be assigned
    type: object
    properties:
      Sequence:
        description: 0-based index of the field's display position relative to other fields on the content type
        type: integer
      InternalContentTypeId:
        format: uuid
        type: string
      FieldMetadataKey:
        type: string
  SetContentTypeFieldStyleConfigurationParameter:
    description: 'An object containing identifying information for the content type, field, and field style, as well as configuration to be set for that field style'
    type: object
    properties:
      StyleConfiguration:
        description: Key-value pairs representing configuration for the field's style
        type: object
        additionalProperties:
          type: string
      InternalContentTypeId:
        format: uuid
        type: string
      FieldMetadataKey:
        type: string
  ContentTypeFieldBehaviorIdentifierParameter:
    description: An object containing identifying information for a behavior
    type: object
    properties:
      InternalContentTypeId:
        format: uuid
        description: 'Artificial identifier for the content type to which the behavior belongs, used internally in the product'
        type: string
      FieldMetadataKey:
        description: Unique string identifying the field to which the behavior belongs
        type: string
  BehaviorType:
    enum:
      - AlternateRequirementBehavior
      - AutomaticIndexing
      - BooleanValueValidation
      - CurrencyValueValidation
      - DateRange
      - DateTimeValidation
      - DefaultCollection
      - DefaultBoolean
      - DefaultDateRange
      - DefaultDate
      - DefaultNumber
      - DefaultText
      - DefaultTermSet
      - Filter
      - InputMask
      - LengthValidation
      - SourceLookup
      - TermSetLookup
      - MultiKeyAutomaticIndexing
      - NumericValueValidation
      - NumericRange
      - RemoveSpecificCharacters
      - Required
      - RequiredDateRange
      - SourceValidation
    type: string
  AddContentTypeFieldBehaviorParameter:
    description: An object containing the desired initial state of the behavior to be added to the specified field
    type: object
    properties:
      BehaviorId:
        format: uuid
        description: Unique nullable guid representing the behavior's id internal to the product; will be autogenerated if not provided
        type: string
        x-nullable: true
      BehaviorType:
        description: Unique string key of the behavior representing its type
        allOf:
          - $ref: '#/definitions/BehaviorType'
      Sequence:
        description: Order in which the behavior should fire
        type: integer
        x-nullable: true
      BehaviorConfiguration:
        description: Key-value pairs representing configuration for the behavior's type
        type: object
        additionalProperties:
          type: string
      InternalContentTypeId:
        format: uuid
        type: string
      FieldMetadataKey:
        type: string
  SetContentTypeFieldBehaviorSequenceParameter:
    description: An object containing identifying information for the behavior and a sequence value
    type: object
    properties:
      BehaviorId:
        format: uuid
        description: Unique nullable guid representing the behavior's id internal to the product; must be provided for the set method
        type: string
      Sequence:
        description: Order in which the behavior should fire
        type: integer
      InternalContentTypeId:
        format: uuid
        type: string
      FieldMetadataKey:
        type: string
  SetContentTypeFieldBehaviorConfigurationParameter:
    description: An object containing identifying information for the behavior and configuration to be set for that behavior type
    type: object
    properties:
      BehaviorId:
        format: uuid
        description: Unique nullable guid representing the behavior's id internal to the product; must be provided for the set method
        type: string
      BehaviorConfiguration:
        description: Key-value pairs representing configuration for the behavior's type
        type: object
        additionalProperties:
          type: string
      InternalContentTypeId:
        format: uuid
        type: string
      FieldMetadataKey:
        type: string
  DataResponseRepositoryConnectorDTOCollection:
    description: An object representation of a web response containing a list of repository connectors
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/RepositoryConnectorDTO'
  DataResponseContentTypeDTO:
    description: An object representation of a content type and its taxonomy
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/ContentTypeDTO'
  DataResponseContentTypeDTOCollection:
    description: An object representation of a web response containing a list of content types
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/ContentTypeDTO'
  DataResponseContentTypeFieldDefinitionDTO:
    description: An object representation of a web response containing a content type field
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/ContentTypeFieldDefinitionDTO'
  DataResponseConfiguredBehaviorDTO:
    description: An object representation of a web response containing a content type field behavior
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/ConfiguredBehaviorDTO'
  UploadResultDTO:
    description: A transport object containing the results of a file upload operation
    type: object
    properties:
      Success:
        description: Indicator of upload success or failure
        type: boolean
      UploadLocation:
        description: The location at which the uploaded file can be found after a successful upload
        type: string
  BooleanParameterValueDTO:
    type: object
    properties:
      Name:
        type: string
      Value:
        type: boolean
  IntegerParameterValueDTO:
    type: object
    properties:
      Name:
        type: string
      Value:
        type: integer
  StringParameterValueDTO:
    type: object
    properties:
      Name:
        type: string
      Value:
        type: string
  StringEncryptedParameterValueDTO:
    type: object
    properties:
      Name:
        type: string
      Value:
        type: string
  StringParameterValueArrayDTO:
    type: object
    properties:
      Name:
        type: string
      Value:
        type: array
        items:
          type: string
  DateTimeParameterValueDTO:
    type: object
    properties:
      Name:
        type: string
      Value:
        format: date-time
        type: string
  ByteArrayParameterValueDTO:
    type: object
    properties:
      Name:
        type: string
      Value:
        format: byte
        type: string
  DecimalParameterValueDTO:
    type: object
    properties:
      Name:
        type: string
      Value:
        format: decimal
        type: string
  ParameterListDTO:
    description: A transport object containing the results of a file upload operation
    type: object
    properties:
      BooleanParameters:
        description: Collection of key-value pairs representing metadata with boolean types
        type: array
        items:
          $ref: '#/definitions/BooleanParameterValueDTO'
      IntegerParameters:
        description: Collection of key-value pairs representing metadata with integer types
        type: array
        items:
          $ref: '#/definitions/IntegerParameterValueDTO'
      StringParameters:
        description: Collection of key-value pairs representing metadata with string types
        type: array
        items:
          $ref: '#/definitions/StringParameterValueDTO'
      StringEncryptedParameters:
        description: Collection of key-value pairs representing metadata with encrypted string types
        type: array
        items:
          $ref: '#/definitions/StringEncryptedParameterValueDTO'
      StringArrayParameters:
        description: Collection of key-value pairs representing metadata with string array types
        type: array
        items:
          $ref: '#/definitions/StringParameterValueArrayDTO'
      DateTimeParameters:
        description: Collection of key-value pairs representing metadata with DateTime types
        type: array
        items:
          $ref: '#/definitions/DateTimeParameterValueDTO'
      ByteArrayParameters:
        description: Collection of key-value pairs representing metadata with byte array types
        type: array
        items:
          $ref: '#/definitions/ByteArrayParameterValueDTO'
      DecimalParameters:
        description: Collection of key-value pairs representing metadata with decimal types
        type: array
        items:
          $ref: '#/definitions/DecimalParameterValueDTO'
  MetadataItemDTO:
    description: A transport object containing the results of a file upload operation
    type: object
    properties:
      ItemId:
        description: Unique string identifier associated with the metadata item
        type: string
      ItemHash:
        description: Hash of the item
        type: string
      Metadata:
        description: Nested collections of typed metadata associated with general categories. Generally user-controlled
        allOf:
          - $ref: '#/definitions/ParameterListDTO'
      SystemMetadata:
        description: Nested collections of typed metadata associated with system categories. Generally system-controlled
        allOf:
          - $ref: '#/definitions/ParameterListDTO'
      UIHints:
        description: A collection of system-defined string types to associate with metadata by key
        type: object
        additionalProperties:
          type: object
          additionalProperties:
            type: string
  IdentityTokenParameter:
    description: Identifying information for an identity
    type: object
    properties:
      IdentityToken:
        description: User Token
        type: string
      CatalogId:
        format: uuid
        description: Catalog Id
        type: string
  ContentTypePermissionParameter:
    description: Information for adding a user to the access list for a content type
    type: object
    properties:
      ContentTypeIdentifierParameter:
        $ref: '#/definitions/ContentTypeIdentifierParameter'
      IdentityTokenParameter:
        $ref: '#/definitions/IdentityTokenParameter'
  DownloadDocumentParameter:
    description: Identifying information for a document stored in a repository
    type: object
    properties:
      SearchCatalogId:
        format: uuid
        description: The search catalog containing the document
        type: string
      DocumentId:
        description: The identifier of the document to retrieve
        type: string
  RecycleDocumentPayloadParameter:
    description: Identifying information for a document to send to the recycle bin.
    type: object
    properties:
      SearchCatalogId:
        format: uuid
        description: Search Catalog Id
        type: string
      DocumentId:
        format: uuid
        description: Document Id
        type: string
      OptionalProperties:
        description: Dictionary of string values. Such as hash Signature
        type: object
        additionalProperties:
          type: string
  GetMetadataParameter:
    description: Identifying information for an item's metadata to retrieve
    type: object
    properties:
      ConnectorId:
        format: uuid
        description: ID of the connector
        type: string
      ItemId:
        description: ID of the item
        type: string
  MetadataDataType:
    enum:
      - Bool
      - Bytes
      - DateTime
      - Double
      - Decimal
      - Int
      - Long
      - String
    type: string
  MetadataItemField:
    type: object
    properties:
      Name:
        type: string
      Value:
        type: string
      Type:
        $ref: '#/definitions/MetadataDataType'
  UpsertDocumentMetadataParameter:
    description: 'Identifying information for a document stored in a repository, as well as a new desired state for the document''s metadata'
    type: object
    properties:
      ConnectorId:
        format: uuid
        description: Id of the connector to use
        type: string
      DocumentId:
        description: Id of the document to update
        type: string
      Metadata:
        description: Metadata to set on the Document
        type: array
        items:
          $ref: '#/definitions/MetadataItemField'
      CheckInDocument:
        description: Check in the document after upsert. Defaults to false
        type: boolean
  DataResponseIdentityTokenList:
    description: Returns a simple list of identity tokens
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          type: string
  DataResponseUploadResultDTO:
    description: An object containing file upload status information
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/UploadResultDTO'
  DataResponseMetadataItemDTO:
    description: Returns an object representation of the metadata associated with an item
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/MetadataItemDTO'
  SearchConditionDTO:
    description: Part of a parameter defining a condition for a search
    type: object
    properties:
      ParameterInternalName:
        description: The Internal name of the parameter
        type: string
      ParameterType:
        description: 'The type of the parameter, eg text decimal'
        type: string
      ConditionId:
        description: The key to use when executing search condition
        type: string
  SavedSearchResultItemDataDTO:
    description: The properties pertaining to the result item
    type: object
    properties:
      InternalPropertyId:
        description: The identifier of the property
        type: string
      Value:
        description: The stringified property value
        type: string
  SavedSearchResultItemDTO:
    description: The result of a search
    type: object
    properties:
      ContentTypeId:
        description: The Content Type to which this item pertains
        type: string
      Metadata:
        description: Metadata which pertains to the result
        type: object
        additionalProperties:
          type: string
      ResultItemId:
        description: The Document Identifier
        type: string
      Data:
        description: The row record
        type: array
        items:
          $ref: '#/definitions/SavedSearchResultItemDataDTO'
  SavedSearchResultDTO:
    description: Part of a parameter defining a condition for a search
    type: object
    properties:
      Results:
        description: The results of the search
        type: array
        items:
          $ref: '#/definitions/SavedSearchResultItemDTO'
      TotalRows:
        description: The total result count
        type: integer
  ResultColumn:
    type: object
    properties:
      Id:
        type: string
      Format:
        type: string
  SavedSearchDTO:
    description: A saved search item
    type: object
    properties:
      SavedSearchId:
        format: uuid
        description: The Id of the search to perform
        type: string
      SavedSearchName:
        description: The Freindly name of the search to perform
        type: string
      ResultColumns:
        description: The Colums which will result from this search
        type: array
        items:
          $ref: '#/definitions/ResultColumn'
      LastModified:
        format: date-time
        description: The DateTime this search was last modified
        type: string
      SearchConditions:
        description: A Listing of parameters that this search expects
        type: array
        items:
          $ref: '#/definitions/SearchConditionDTO'
      SearchCatalogId:
        format: uuid
        description: The Catalog this search belongs to
        type: string
  ParameterGetSavedSearchesListDTO:
    description: Parameter for retrieving saved search
    type: object
    properties:
      SearchCatalogId:
        format: uuid
        description: The Id of the search catalog to use
        type: string
        x-nullable: true
  PropertyBagDTOString:
    type: object
    properties:
      Booleans:
        type: object
        additionalProperties:
          type: boolean
      Integers:
        type: object
        additionalProperties:
          type: integer
      Decimals:
        type: object
        additionalProperties:
          format: decimal
          type: string
      Strings:
        type: object
        additionalProperties:
          type: string
      DateTimes:
        type: object
        additionalProperties:
          format: date-time
          type: string
      Blobs:
        type: object
        additionalProperties:
          format: byte
          type: string
  QuerySort:
    type: object
    properties:
      Order:
        type: integer
      Ascending:
        type: boolean
      InternalPropertyId:
        type: string
  ParameterRunSavedSearchDTO:
    description: Parameter for executing saved search
    type: object
    properties:
      SearchId:
        format: uuid
        description: The Id of the search to perform
        type: string
      SearchCatalogId:
        format: uuid
        description: The Id of the search catalog to use
        type: string
      RowLimit:
        description: The Max amount of rows to pull
        type: integer
      StartRow:
        description: 'The Row index to skip to, before taking up to RowLimit'
        type: integer
      SearchConditions:
        description: The parameters of the search keyed by __IDENTIFIER__
        allOf:
          - $ref: '#/definitions/PropertyBagDTOString'
      SortOrders:
        description: The Sorting to use for the results
        type: array
        items:
          $ref: '#/definitions/QuerySort'
  DataResponseSavedSearchResultDTOCollection:
    description: A result of all the found entries
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/SavedSearchResultDTO'
  DataResponseSavedSearchDTOCollection:
    description: Listing of saved searches
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/SavedSearchDTO'
  GatewayInfo:
    description: An object containing gateway status information
    type: object
    properties:
      DisplayName:
        description: The name of this gateway
        type: string
      LastConnectedUTC:
        format: date-time
        description: The time that this gateway was last connected (ISO 8601 round-trip format)
        type: string
        x-nullable: true
      GatewayId:
        format: uuid
        description: The GUID of this gateway
        type: string
      IsOnline:
        description: A boolean set to true if this gateway is currently online
        type: boolean
  TimestampedGatewayInfos:
    description: An object containing a list of gateways and a timestamp of when they were retrieved
    type: object
    properties:
      Gateways:
        description: A list of gateways
        type: array
        items:
          $ref: '#/definitions/GatewayInfo'
      StatusLastRetrievedUTC:
        format: date-time
        description: The time that these gateways were last retrieved (ISO 8601 round-trip format)
        type: string
  DataResponseGatewayListResult:
    description: Returns an object containing a list of bot statuses and a timestamp of when they were retrieved
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/TimestampedGatewayInfos'
  RPATaskStatus:
    enum:
      - Queued
      - Running
      - Complete
      - Cancelled
      - Hold
      - Error
      - Unknown
    type: string
  RPATaskEntryDTO:
    description: An object representing a single RPA task
    type: object
    properties:
      TaskIdentifier:
        description: 'A human readable identifier for the run in the form ''{TaskNumber}.{RunNumber}''. RunNumber is always the task''s latest run, so a task that has been rerun twice reports ''{TaskNumber}.3''.'
        type: string
      Status:
        description: 'Current status of the task (e.g. Queued, Running, Complete, Cancelled, Hold, Error)'
        allOf:
          - $ref: '#/definitions/RPATaskStatus'
      Message:
        description: 'The most recent message associated with the task, if one exists. Taken from the latest run, so a message recorded by an earlier attempt is not reported here.'
        type: string
      BotName:
        description: 'Name of the bot that executed the task''s latest run, if assigned. A task that was rerun on a different bot reports only the most recent one.'
        type: string
      Runstamp:
        description: 'A label built when the task is run from the automation''s configured jobstamp template - a combination of index metadata values from the task, date/time tokens, and static text. May be empty if the automation has no jobstamp template configured. Taken from the task''s latest run.'
        type: string
      Automation:
        description: 'Name of the automation the task belongs to, if any'
        type: string
      Process:
        description: 'Name of the process the task is part of, if any'
        type: string
      LastUpdated:
        format: date-time
        description: The date and time the task was last updated
        type: string
        x-nullable: true
  ResumbitRPATasksParameter:
    description: An object identifying the task to rerun
    type: object
    properties:
      TaskIdentifier:
        description: 'The identifier of the rpa task to rerun, in the form ''{TaskNumber}.{RunNumber}'''
        type: string
      Payload:
        description: '(Optional) The payload to run the task with. If omitted, the task is re-run with its original payload.'
        type: string
  RPATaskColumns:
    enum:
      - JobNumber
      - Status
      - CriticalLogMessage
      - AutomationName
      - BotName
      - LastUpdated
    type: string
  QueryRPATasksParameter:
    description: Pass an object with rpa task properties to filter the rpa query results. All properties are optional.
    type: object
    properties:
      TaskIdentifier:
        description: '(Optional) Filter to the task with this identifier, in the form ''{TaskNumber}.{RunNumber}''. Only the TaskNumber portion is used - the RunNumber is ignored, and the task is always returned at its latest run. Omit the property to query without an identifier filter; an empty or otherwise malformed value is rejected rather than ignored.'
        type: string
      Status:
        description: '(Optional) Filter to tasks currently in this status (e.g. Queued, Running, Complete, Cancelled, Hold, Error)'
        allOf:
          - $ref: '#/definitions/RPATaskStatus'
        x-nullable: true
      BotName:
        description: '(Optional) Filter to tasks whose latest run was executed by a bot with this name. Tasks where only an earlier attempt ran on this bot are not matched. The comparison is case-INsensitive, and a value that matches no bot is rejected rather than ignored.'
        type: string
      Automation:
        description: (Optional) Filter to tasks whose automation name matches this value. The comparison is case-INsensitive. A value that matches no automation is rejected rather than ignored.
        type: string
      Process:
        description: (Optional) Filter to tasks whose process name matches this value. The comparison is case-INsensitive. A blank value is rejected rather than ignored; a non-blank value that matches no process returns no tasks.
        type: string
      LastUpdateTimeAfter:
        format: date-time
        description: '(Optional) Filter to tasks whose last update time is strictly greater than this datetime. The value is compared exactly as supplied - it is not converted to or from UTC, so pass it in the same zone the tasks were recorded in.'
        type: string
        x-nullable: true
      PageIndex:
        description: (Optional - Default is 0) The page division (starts at 0). A negative value is clamped to 0 rather than rejected.
        type: integer
        x-nullable: true
      PageSize:
        description: (Optional - Default is 20) Max size of the result list. Zero or a negative value falls back to 20; a value above the 1000 maximum is clamped to 1000 rather than rejected.
        type: integer
        x-nullable: true
      OrderBy:
        description: '(Optional - Default is LastUpdated) The column the results are sorted by. An unset value sorts by LastUpdated, not by task identifier.'
        allOf:
          - $ref: '#/definitions/RPATaskColumns'
        x-nullable: true
      Direction:
        description: '(Optional - Default is Descending) The direction the results are sorted in. Any value other than Ascending sorts Descending, and unlike the Jobs and Processing queries an unset direction sorts Descending here.'
        allOf:
          - $ref: '#/definitions/SortDirection'
        x-nullable: true
  DataResponseQueryRPATaskResponse:
    description: Returns the requested RPA Tasks supplied by filters
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/RPATaskEntryDTO'
  TriggerInformation:
    description: An object describing the metadata of a Trigger
    type: object
    properties:
      Id:
        format: uuid
        description: ID of the trigger
        type: string
      Name:
        description: Display name of the trigger
        type: string
      AssociatedWorkflowId:
        format: uuid
        description: ID of the workflow that this trigger will initiate
        type: string
      Tags:
        description: List of Tags (strings) that are ascociated with this trigger. Can be used for filtering
        type: array
        items:
          type: string
      LastModified:
        format: date-time
        description: Date of last modification of the trigger
        type: string
      Modifier:
        description: Apps user token for the last person to modify the trigger
        type: string
      Creator:
        description: Apps user token for the creator of the trigger
        type: string
      Locked:
        description: Is the trigger locked
        type: boolean
      LockedTime:
        format: date-time
        description: Date the trigger was locked
        type: string
        x-nullable: true
      LockedBy:
        description: Apps user token for the last person to edit the trigger
        type: string
      WorkflowName:
        description: Display Name of the workflow that this trigger will initiate
        type: string
  MigrateTrigger:
    description: An object used to migrate a Trigger
    type: object
    properties:
      Id:
        format: uuid
        description: ID of the trigger
        type: string
      Name:
        description: Display name of the trigger
        type: string
      AssociatedWorkflowId:
        format: uuid
        description: ID of the workflow that this trigger will initiate
        type: string
      Configuration:
        description: Serialized data used to construct form components for the trigger
        type: string
      Tags:
        description: List of Tags (strings) that are ascociated with this trigger. Can be used for filtering
        type: array
        items:
          type: string
      LastModified:
        format: date-time
        description: Date of last modification of the trigger
        type: string
      Modifier:
        description: Apps user token for the last person to modify the trigger
        type: string
      Creator:
        description: Apps user token for the creator of the trigger
        type: string
      Locked:
        description: Is the trigger locked
        type: boolean
      LockedTime:
        format: date-time
        description: Date the trigger was locked
        type: string
        x-nullable: true
      LockedBy:
        description: Apps user token for the last person to edit the trigger
        type: string
      WorkflowName:
        description: Display Name of the workflow that this trigger will initiate
        type: string
  ImportTriggerParameter:
    description: An object describing the parameters to import a trigger
    type: object
    properties:
      Trigger:
        description: Trigger
        allOf:
          - $ref: '#/definitions/MigrateTrigger'
      NewWorkflowId:
        format: uuid
        description: ID of the new workflow to set on the imported Trigger
        type: string
  SetTriggerTagsParameter:
    description: An object specifying tags to apply to a Trigger and the Trigger to apply it to
    type: object
    properties:
      TriggerId:
        format: uuid
        description: ID of the trigger
        type: string
      Tags:
        description: Tags to apply to the Trigger
        type: array
        items:
          type: string
      ForceOverrideLock:
        description: Allow this operation even if another user has the Trigger locked (will destroy the locked user session and cause any unsaved changes to be lost)
        type: boolean
  TriggerIdParameter:
    description: An object containing the Id of a Trigger
    type: object
    properties:
      TriggerId:
        format: uuid
        description: ID of the trigger
        type: string
  DataResponseTriggerInformation:
    description: An object describing the metadata of a Trigger
    type: object
    properties:
      Success:
        description: Success boolean
        type: boolean
      MessageKey:
        type: string
      Data:
        description: TriggerInformation
        allOf:
          - $ref: '#/definitions/TriggerInformation'
  DataResponseTriggerInformationList:
    description: An object describing the metadata of a all Triggers
    type: object
    properties:
      Success:
        description: Success boolean
        type: boolean
      MessageKey:
        type: string
      Data:
        description: List of TriggerInformation
        type: array
        items:
          $ref: '#/definitions/TriggerInformation'
  DataResponseMigrateTrigger:
    description: An object used to migrate a Trigger
    type: object
    properties:
      Success:
        description: Success boolean
        type: boolean
      MessageKey:
        type: string
      Data:
        description: MigrateTrigger
        allOf:
          - $ref: '#/definitions/MigrateTrigger'
  WorkflowStepConfigDTO:
    type: object
    properties:
      StepId:
        format: uuid
        type: string
      BaseId:
        format: uuid
        type: string
        x-nullable: true
      WorkType:
        type: string
      ConfigJson:
        type: string
  WorkflowRouteType:
    enum:
      - Expression
      - Javascript
      - GlobalVariable
    type: string
  WorkflowRouteParameter:
    type: object
    properties:
      Label:
        type: string
      Config:
        type: object
        additionalProperties:
          type: string
      NextActivityId:
        format: uuid
        type: string
      WorkflowRouteType:
        $ref: '#/definitions/WorkflowRouteType'
  FailureActionType:
    enum:
      - Error
      - Continue
      - RouteToStep
    type: string
  FailureActionDTO:
    type: object
    properties:
      FailureActionType:
        $ref: '#/definitions/FailureActionType'
      FailureRouteToStepId:
        format: uuid
        type: string
        x-nullable: true
  ErrorActionDTO:
    type: object
    properties:
      Retries:
        type: integer
      FailureAction:
        $ref: '#/definitions/FailureActionDTO'
  HoldExpiryBehaviorDTO:
    type: object
  WorkflowStepParameter:
    description: Workflow step definition
    type: object
    properties:
      Label:
        description: Label defining how this step will display in the Workflow Designer UI.
        type: string
      WorkflowStepConfig:
        $ref: '#/definitions/WorkflowStepConfigDTO'
      NextSteps:
        description: Next step options to run after completion of this Step.
        type: array
        items:
          $ref: '#/definitions/WorkflowRouteParameter'
      DefaultStep:
        format: uuid
        description: If no next step conditions are met this defines the Step Id to route to. Leave null to error the step instead.
        type: string
        x-nullable: true
      ErrorAction:
        description: Define what the step should do in the event of an error. Default behavior is to put the step into an error state and wait for admin interaction.
        allOf:
          - $ref: '#/definitions/ErrorActionDTO'
      HoldExpiryBehavior:
        description: Define what the step should do in the event of a Hold state expiring instead of being manually released. Default behavior is to run the post hold logic and continue to the next step.
        allOf:
          - $ref: '#/definitions/HoldExpiryBehaviorDTO'
  WorkflowParameter:
    description: Workflow definition
    type: object
    properties:
      WorkflowId:
        format: uuid
        description: Id of the Workflow (Not Unique. New versions should have the same Id)
        type: string
      WorkflowName:
        description: Name of the Workflow.
        type: string
      FirstStepId:
        format: uuid
        description: Id of the Step that defines the entry point to this Workflow
        type: string
      Steps:
        description: The (order independent) steps defining this Workflow.
        type: array
        items:
          $ref: '#/definitions/WorkflowStepParameter'
      SecondsUntilDelete:
        format: double
        description: 'Seconds to wait after completing this Workflow, before deleting this WorkItem.'
        type: number
        x-nullable: true
  RunWorkflowParameter:
    description: Request object to run a Workflow.
    type: object
    properties:
      WorkflowId:
        format: uuid
        description: Id of the Workflow.
        type: string
      WorkItemId:
        format: uuid
        description: Id of the Work Item to send to this Workflow.
        type: string
      WorkflowVersion:
        description: Version of this Workflow to use. Null means use latest.
        type: integer
        x-nullable: true
      WorkflowStep:
        format: uuid
        description: Optional Id of the step to start the workflow from.
        type: string
        x-nullable: true
  GetWorkflowParameter:
    description: Request object to retrieve a Workflow.
    type: object
    properties:
      WorkflowId:
        format: uuid
        description: Id of the Workflow.
        type: string
        x-nullable: true
      WorkflowName:
        description: Name of the Workflow.
        type: string
      WorkflowVersion:
        description: Version of this Workflow to get. Null means use latest.
        type: integer
        x-nullable: true
  DeleteWorkflowParameter:
    description: Request object to delete a Workflow.
    type: object
    properties:
      WorkflowId:
        format: uuid
        description: Id of the Workflow to delete.
        type: string
  WorkerGlobalVariableParameter:
    description: Request object to upsert a Global Variable in Workflow.
    type: object
    properties:
      Name:
        description: Name of the variable.
        type: string
      Value:
        description: Value of the variable.
        type: string
      Tags:
        description: Tags of the variable.
        type: array
        items:
          type: string
      Type:
        description: Type of the variable.
        type: string
      SubType:
        description: SubType of the variable.
        type: string
  GetWorkerGlobalVariableParameter:
    description: Request object to get a Global Variable in Workflow.
    type: object
    properties:
      Name:
        description: Name of the variable.
        type: string
  KLApiDataResponseString:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: string
  KLApiDataResponseWorkflowStepConfigDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/WorkflowStepConfigDTO'
  WorkflowDTO:
    type: object
    properties:
      WorkflowId:
        format: uuid
        type: string
      WorkflowName:
        type: string
      FirstStepId:
        format: uuid
        type: string
      Version:
        type: integer
  KLApiDataResponseWorkflowDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/WorkflowDTO'
  KLApiDataResponseListWorkflowDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: array
        items:
          $ref: '#/definitions/WorkflowDTO'
  KLApiDataResponseWorkerGlobalVariableParameter:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/WorkerGlobalVariableParameter'
  VersionedWorkerGlobalVariable:
    type: object
    properties:
      Modified:
        format: date-time
        type: string
      Version:
        type: integer
      Enabled:
        type: boolean
      DisabledAtTime:
        format: date-time
        type: string
      Value:
        type: string
      Name:
        type: string
      IsSecret:
        type: boolean
      LastModifier:
        type: string
      Tags:
        type: array
        items:
          type: string
      Group:
        type: string
      GroupDisplayName:
        type: string
      Type:
        type: string
      TypeDisplayName:
        type: string
  KLApiDataResponseVersionedWorkerGlobalVariable:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/VersionedWorkerGlobalVariable'
  GlobalVariableMetadataDTO:
    type: object
    properties:
      Name:
        type: string
      Tags:
        type: array
        items:
          type: string
      Type:
        type: string
      IsSecret:
        type: boolean
  KLApiDataResponseGlobalVariableMetadataDTO:
    description: ''
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/GlobalVariableMetadataDTO'
  RestartWorkItemParameter:
    description: 'The work item to restart, along with preferences related to restart behavior'
    type: object
    properties:
      WorkItem:
        description: The work item to be restarted
        allOf:
          - $ref: '#/definitions/WorkItemDTO'
      UseLatestProcessVersion:
        description: 'If true, uses the latest version of the process assigned to the work item, if a newer version of the process exists'
        type: boolean
      ClearIndexMetadata:
        description: 'If true, all metadata in the ''Index'' bucket except for reserved word fields will be removed before the restart occurs'
        type: boolean
  IdentityPermissionSetDTO:
    description: An object representation of an identity-permission pair.
    type: object
    properties:
      IdentityToken:
        description: Token representing an apps identity
        type: string
      Permission:
        description: An apps permission associated with the corresponding identity
        type: string
  IdentityPermissionsDTO:
    description: An object representation of an identity-permission pair.
    type: object
    properties:
      V1_Identities:
        description: List of identities with access to content type (backwards compatible with V1 API)
        type: array
        items:
          type: string
      IdentityPermissionSets:
        description: List of identies and granular permissions on content type
        type: array
        items:
          $ref: '#/definitions/IdentityPermissionSetDTO'
  SendRepositoryEmailParameter:
    description: Object defining the parameters to use to send an email directly.
    type: object
    properties:
      EmailConnectorId:
        format: uuid
        description: The id of a configured email connector.
        type: string
      ToAddresses:
        description: Who to send this email to.
        type: array
        items:
          type: string
      CcAddresses:
        description: Who to include on the CC field of this email.
        type: array
        items:
          type: string
      Subject:
        description: The subject line of the email send.
        type: string
      Body:
        description: The body of the email send.
        type: string
      IsBodyHtml:
        description: 'If true the body field is treated as HTML, if false or null it is treated as plain text'
        type: boolean
        x-nullable: true
  RecycleDocumentParameter:
    description: Identifying information for a document to send to the recycle bin.
    type: object
    properties:
      SearchCatalogId:
        format: uuid
        description: Search Catalog Id
        type: string
      DocumentId:
        description: Document Id
        type: string
      OptionalProperties:
        description: Dictionary of string values. Such as hash Signature
        type: object
        additionalProperties:
          type: string
  DataResponseIdentityPermissionsDTO:
    description: Returns an object representation of users and permissions for the provided content type
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        $ref: '#/definitions/IdentityPermissionsDTO'
  DataResponseConfigDTO:
    description: Returns an object representation of a json string for configuration
    type: object
    properties:
      Success:
        type: boolean
      MessageKey:
        type: string
      Data:
        type: string
securityDefinitions:
  Header_Token_Authentication:
    type: apiKey
    name: TempIdentityToken
    in: header
security:
  - Header_Token_Authentication: [ ]