Skip to content

docs: simplify audit log, update BYOK apiKey docs (PLT-809, PLT-810) - #11

Closed
factory-austin wants to merge 1 commit into
mainfrom
austin/audit-log-byok-docs-update
Closed

docs: simplify audit log, update BYOK apiKey docs (PLT-809, PLT-810)#11
factory-austin wants to merge 1 commit into
mainfrom
austin/audit-log-byok-docs-update

Conversation

@factory-austin

Copy link
Copy Markdown
Contributor

Summary

Three documentation updates in one PR:

1. Simplify audit log page to a general spec

Replaced the detailed event schema, source tables, event-type payloads, and JSON examples in docs/enterprise/audit-log.mdx with a high-level overview that lists the event categories at a general level. The full event structure is still available via the public API schema or account team.

2. PLT-809 — Block net-new static-apiKey custom models in managed settings

PLT-809 | Source PR: factory-mono#17655

The managed-settings endpoint now rejects any net-new custom model that includes a static apiKey value with a 400. Updated docs/enterprise/hierarchical-settings-and-org-control.mdx to:

  • Change customModels[].apiKey from required to optional
  • Document the static-apiKey block with a warning and the three alternatives (apiKeyHelper, env-var reference, system-managed MDM file)
  • Add apiKeyHelper, apiKeyHelperTtlMs, and authMode fields to the schema
  • Update the full org-managed settings example to use apiKeyHelper instead of a static key

3. PLT-810 — Support keyless custom models

PLT-810 | Source PR: factory-mono#17819

The CLI now validates and constructs clients for HTTP custom models without a key. Updated BYOK docs to:

  • Change apiKey from required to optional in the supported-fields table (docs/cli/byok/overview.mdx)
  • Update Ollama and LM Studio notes to say apiKey can be omitted entirely for local servers

Japanese translations

All of the above changes are mirrored in the docs/jp/ translations.

- Replace detailed audit-log.mdx event schema/tables/examples with a
  general spec listing event categories at a high level
- PLT-809: Document that the managed-settings endpoint rejects net-new
  static-apiKey custom models; add apiKeyHelper, apiKeyHelperTtlMs, and
  authMode fields to the org-managed customModels schema; update the
  full org-managed settings example to use apiKeyHelper
- PLT-810: Make apiKey optional in the BYOK overview supported-fields
  table (keyless HTTP custom models now validate without a key); update
  Ollama and LM Studio notes to say apiKey can be omitted entirely
- Apply matching updates to the Japanese (jp) translations

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@factory-droid

factory-droid Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Droid encountered an error —— View job


Security Review

@factory-austin

Copy link
Copy Markdown
Contributor Author

Closing — changes will be made in the factory-public-web repo instead.

@factory-octavian
factory-octavian deleted the austin/audit-log-byok-docs-update branch August 11, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant