Skip to content
LakeSharkDocumentation
EXECUTIONSETS / DOCUMENTATION

Legacy ExecutionSet API reference

Compatibility instructions for previously deployed deterministic policies.

Legacy rule-engine compatibility only. The historical deterministic-rule builder is no longer offered in the LakeShark console. A current Executions area is available for HTTP ExecutionSets with a distinct API and authorization model. Use the HTTP quickstart for new external actions. The procedures below apply only to previously created deterministic rule configurations.

Do not create new ExecutionSets for ordinary AnswerSet use cases. The recommended flow is AnswerSets: approved Knowledge, configured AI fallback, independent scoring and reviewed learning.

Existing API compatibility

Previously created policies, versions, binding records and audit evidence are retained. Removing the frontend does not automatically unbind a policy.

Operation Existing API
List legacy sets GET /v1/execution-sets
Read published version GET /v1/execution-sets/{name}/versions/{version}
List policies attached to AnswerSets GET /v1/execution-sets/{name}/bindings
Read one AnswerSet binding GET /v1/execution-sets/bindings/answer-sets/{id}
Remove an existing binding DELETE /v1/execution-sets/bindings/answer-sets/{id}
Read runtime preflight configuration GET /v1/execution-sets/runtime-status

The gateway prefix is https://lakeshark.dev/api/answers. Reads require executions.read; the binding-list endpoint also requires answers.read. Binding removal requires both executions.write and answers.write.

Use an appropriately scoped short-lived access token. Do not put credentials into scripts, URLs or the repository.

Safely retire a bound legacy rule

  1. Identify the affected AnswerSets using the tenant-scoped binding API, or obtain an approved administrative inventory.
  2. Review any decision and audit evidence and establish how requests will behave without the policy.
  3. Test the AnswerSet’s own Knowledge, output restrictions and GovernanceSets.
  4. Remove the binding using the authenticated management API only after an explicit change approval.
  5. Re-test the AnswerSet Question API. Confirm expected routing, accuracy, cost and latency.

An inactive ExecutionSet can still influence AnswerSet requests when an older version is pinned. Do not use active-version status as a substitute for inspecting actual bindings.

The API is retained for compatibility only, not an invitation to build new customer workflows around it. See the legacy endpoint details and binding migration instructions.