Preview a skill source
Best-effort scan of a repo for the import dialog: branch + tag choices and the SKILL.md manifest, with resolvable saying whether the control plane read the repository at all. A GitHub repo is named by installation, owner, and repo and needs a GitHub App installation reachable by the caller; a GitLab project is named by its source address on the deployment’s GitLab instance and is read anonymously when public, or through its managed binding when private (400 when it is private and unmanaged, 503 while GitLab is unreachable). A source on any other HTTPS host is never contacted: it answers resolvable:false with empty branch, tag and skill lists, so the client offers whole-source enablement or a manually typed skill filter. A failed GitLab scan also answers resolvable:false; an empty skill list from a successful scan means install all.
Authorization
bearerAuth In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/orgs/string/skill-sources/preview" \ -H "Content-Type: application/json" \ -d '{ "installationId": "string", "owner": "string", "repo": "string" }'{ "resolvable": true, "branches": [ "string" ], "tags": [ "string" ], "skills": [ { "name": "string", "dirPath": "string" } ]}