Agent

Run (or enqueue) a procedural skill distillation pass

T376/T497. Scans this tenant's entire agent-memory history plus one LLM call per qualifying cluster, so this defaults to ALWAYS async (a job id is returned immediately) unless the caller explicitly opts out with async: false.

post/api/agent/skills/distill

Request

  • Base URL: http://localhost:38200
  • URL: http://localhost:38200/api/agent/skills/distill
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Request body

asyncboolean

Defaults to true (async job).

Response

Synchronous distillation result (async=false only).

instancesScannedinteger
clustersFoundinteger
qualifyingClustersinteger
skippedboolean

True when the tenant's LLM spend cap blocked this run.

skipReasonstring

Changes

No recorded changes to this operation across all 1 revision of this API.