API v1
Skills

Publish Repository Skills

The CI writer: mirror a repository's skills into the organization's skills registry as repo-managed skills, up to 25 per call. Each skill answers with its own outcome (created, updated, unchanged, archived or error) and a failing skill never aborts the batch. archive_missing archives repo skills that left the repo; dry_run reports without writing. A user-bound API key stamps the creator, an org key publishes on behalf of the organization.

post/v1/skills/publish

Request

  • Base URL
    https://api.xpander.ai (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header x-api-key

Request body

archive_missingboolean

Archive repo-managed skills of this repo that are absent from this publish.

dry_runboolean

Report the outcomes without writing anything.

as_organizationboolean

Set by the platform from the calling key (an org key names no person); any value a caller sends is replaced.

Response

Successful Response

archivedstring[]

Names archived because they left the repo.

warningsstring[]

Changes

No recorded changes to this operation across all 4 revisions of this API.