Skip to content

API Reference

Every public endpoint of the KnowledgeLake REST API: 147 actions in 15 groups, with request fields, responses, examples and code samples. Generated from the OpenAPI spec, so it always matches the spec.

Before your first call

  • Base URL https://{tenant}/api. Every action is a POST, also for reads.
  • Auth Header TempIdentityToken: <token>. See Authentication.
  • Envelope Check Success on every response. Failures are HTTP 412 with Messages.
  • Spec download the spec (YAML), or read your tenant's live spec at https://{tenant}/api/OpenAPI/V2_JSON/V2_JSON?domain=https://{tenant}.
  • Code samples Come in C# (the KL.APIClient client you generate from your tenant's spec), cURL, PowerShell, Python and Node.js. They read the token from the environment variable KL_TOKEN and use yourcompany.knowledgelake.io as the host.

Groups

Group Area Actions What it covers
V1_KWorkItemAPI Work Items 23 Work item automation: create work items, add documents, pages and files, read and upsert metadata, read OCR, query state and history. The group to use for new work-item integrations.
V1_WorkflowAPI Workflows 8 List workflows, send a work item to a workflow, release a hold, and read and set global variables, including secret variables.
V1_JobsAPI Jobs 3 Query scheduled job runs and job history, and run a job now.
V1_RPAAPI RPA Tasks 2 Query the latest attempt of each RPA task, and rerun a task.
V1_RepositoryAPI Repository 29 Destinations, sources, content types and fields, field behaviors, saved searches, and documents at rest in a destination.
V2_RepositoryAPI Repository (V2) 4 Send an email, export the configuration of a destination, list identities with access to a content type, recycle a document.
V1_AppsAPI Apps and Identities 6 Catalogs, users, groups and app permissions.
V1_TriggerAPI Triggers 4 List, export and import triggers, and set trigger tags.
V1_IntuitiveAIAPI Intuitive AI 7 Intuitive AI classes, subclasses, training files and the default Auto Extraction action.
V1_EventsAPI Events 1 Write an event. Read the warning on the Events overview page before you use it: events written here do not pass the default provider filter.
V1_AutomationAPI Automation 1 List RPA bots and their status.
V1_BatchAPI Batches (lower level) 26 The lower-level work item API. Each change needs an explicit lock, commit and unlock. Prefer V1_KWorkItemAPI.
V1_ProcessingAPI Processing 17 Two current monitor queries, QueryForWorkItems and QueryForWorkItemHistories. The other actions are legacy (Process Designer). Mostly legacy.
V2_ProcessingAPI Processing (V2) 1 Process Designer work items. Keep existing integrations; do not build new ones. Legacy.
V1_LearnAPI Learn Fingerprints 15 Learn fingerprints, replaced by Intuitive AI. Keep existing integrations; do not build new ones. Legacy.

Models used by these actions are on the Schemas page.