Skip to content
LakeSharkDocumentation
START HERE / DOCUMENTATION

Core concepts

How organizations, AnswerSets, approved Knowledge, GovernanceSets and credentials fit together.

LakeShark separates who can operate a workspace, what configuration is active, and how a runtime request is evaluated.

Product objects

Object Role Example
Organization Customer boundary for billing, workspaces and administration Example Corporation
Workspace Scoped environment for resources and permissions Support Production
AnswerSet Governs an application’s natural-language answers Internal security help desk
Flow Independent graph that orchestrates reusable resources with typed inputs and its own output Triage a request across two AnswerSets
HTTP ExecutionSet Reusable schema-validated outbound HTTPS function Send an approved incident notification
AnswerSet action connection Mapping from governed answer values to typed ExecutionSet inputs Populate an HTTP request from answer.value
Knowledge Approved reusable answers scoped to an AnswerSet Phishing-reporting FAQ
GovernanceSet Reusable server-enforced policy, explicitly attached to an AnswerSet Prevent restricted outputs
Provider connection Workspace-owned credential and model access Corporate model provider
ConfigStore configuration Immutable typed settings for applications Runtime feature flags
Scorecard Numeric measurement or result for analysis Accuracy or latency sample
Question Key Application credential for a particular AnswerSet Help-desk API key
Flow Key Dedicated credential for a published independent Flow, when the standalone runtime is available Workflow application credential
Service account Machine identity for authorized management operations CI management integration

AnswerSet answering lifecycle

An AnswerSet owns the request configuration and can return an approved answer without using an AI provider.

  1. Receive and validate the application question using its AnswerSet-bound Question Key.
  2. Match trusted published Knowledge with deterministic scoring.
  3. Reuse a qualifying answer without an AI provider call, or use the configured provider for a fallback answer.
  4. Score generated output against trusted reference material when appropriate.
  5. Review learning proposals and generated Knowledge drafts before publishing them for reuse.

Unreviewed generated drafts are not eligible as reusable answers or trustworthy scoring ground truth.

GovernanceSets are attached explicitly

A GovernanceSet is a reusable policy. Creating one does not attach it to an AnswerSet.

GovernanceSet library
  -> select and assign one or more GovernanceSets
  -> AnswerSet runtime composes effective policy
  -> enforce provider and output constraints

A single AnswerSet may use multiple GovernanceSets. Read composition and precedence before combining overlapping controls.

Identity and runtime traffic

LakeShark uses different credentials for different operations:

Credential Use
Human access token Console and authorized management API requests
Service-account access token Automation with assigned workspace roles
Question Key Application calls to POST /v1/questions
Flow Key Independent Flow run requests only, after the standalone API rollout
Provider credential Stored in a provider connection, never passed by the application to the Question API

The access token establishes organization and workspace context. A Question Key also resolves the AnswerSet. Do not send arbitrary tenant IDs as substitutes for authentication.

Immutable versions and audit evidence

  • AnswerSet revisions preserve snapshots of response behavior.
  • ConfigStore versions are immutable typed settings and have their own activation semantics.
  • Run evidence supports auditing, scoring analysis and repeatable investigation.

This separation is important for changes, testing and access control. Read the versioning reference before automating promotions.

Where to begin

Create your first AnswerSet · Configure GovernanceSets · API reference

Current Executions are HTTP functions with operator-approved outbound network destinations. Authorized users and services can explicitly invoke actions with the required permissions. An ordinary Question Key request can also trigger the resolved AnswerSet’s already-approved Automatic connections; it cannot select or invoke arbitrary actions. A Question API call is not necessarily side-effect-free. The earlier deterministic-rule /v1/execution-sets API remains for compatibility with existing bindings and uses a separate lifecycle. See the guided action workflow, action authorization and retries, and legacy migration.