Skip to main content
POST
Onboard a tenant Fleet library entry

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

workspace_id
string
required

UUIDv7 of the workspace.

Body

application/json

Platform Fleet-library onboarding request.

ref
string | null

Optional GitHub branch, tag, or commit.

replace
boolean
default:false

Explicitly permits replacing a slug owned by another source.

skill_markdown
string | null

Inline root document for uploads.

source_kind
string
default:""

upload, github, or first-party template.

source_ref
string
default:""

Repository, template id, or upload provenance.

support_files
any[]

Attachments are fetched from repositories; inline uploads reject these.

trigger_markdown
string | null

Optional inline trigger document for uploads.

Response

Created

Successful platform Fleet-library onboarding.

content_hash
string
required

Content identity of the validated bundle.

id
string
required

Slug derived from SKILL.md.

name
string
required

Display name derived from SKILL.md.

requirements
object
required

Credential/tool/host names without support-file paths.

visibility
string
required

Which library the entry now stands in.

platform from the operator's catalogue and tenant from a workspace onboard — both verbs answer this shape, and the tier is what differs.