Onboard a tenant Fleet library entry
Onboards a Fleet library entry into the caller’s workspace catalog from a GitHub source reference. Requires the library:write scope plus ownership of the target workspace. Re-onboarding identical bytes converges on one (workspace_id, content_hash) row. The response carries metadata only.
Authorizations
Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth
Path Parameters
UUIDv7 of the workspace.
Body
Where the entry comes from. github and template are fetched and validated server-side; upload carries the SKILL.md (and optional TRIGGER.md) Markdown inline for a skill-only entry.
template, upload, github Platform tier only. The catalog id comes from the bundle's SKILL.md frontmatter name, not this repository path. So a bundle may declare a name another repository already owns. That is refused with UZ-CATALOG-004, rather than silently swapping the bundle every workspace installs. Retry with replace: true to overwrite it deliberately.
Required for github (an owner/repo locator) and template (a first-party template id).
512Optional branch or tag for github sources; absent fetches the default branch. The dashboard's Fetch-update sends the entry's stored ref, so a ref pinned via the catalog PATCH is honored by the refetch rather than silently reset. Same character rules as a repository segment.
100Raw SKILL.md bytes. Required for upload; ignored for fetched sources.
204800Optional raw TRIGGER.md bytes for upload. Ignored for fetched sources.
204800Response
Entry onboarded into the workspace catalog.
Result of onboarding a Fleet library entry (platform or tenant tier). Carries the entry identity, its tier in visibility, the content hash, and the derived requirements — never a support-file manifest, an object-store key, or support-file content.
Entry id — the slug for platform entries, a UUIDv7 for tenant entries.
The catalog tier the entry was onboarded into.
platform, tenant SHA-256 content hash of the onboarded snapshot.