The Imports API lets a Writer read Skills from a Git repository before publishing them. It has three endpoints: one to fetch the files of a single Skill, one to discover all Skill folders at a location, and one to list the repositories a writer’s Connection can access. All three require Writer role.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/org-quicko/skillset/llms.txt
Use this file to discover all available pages before exploring further.
These endpoints exist to support the import-then-publish workflow. A writer pastes a repository URL in the web interface, the UI sends the parsed parts as
{ project, ref, path }, and the API fetches the content from the Git Provider using the writer’s Connection. There is intentionally no URL field in the request body — the server builds every provider request from structured parts to prevent SSRF.Endpoints at a glance
| Method | Path | Auth | Description |
|---|---|---|---|
| POST | /api/imports/:provider/skill-files | Writer+ | Fetch files for a single Skill |
| POST | /api/imports/:provider/skills | Writer+ | List Skill folders at a location |
| GET | /api/imports/:provider/repositories | Writer+ | List accessible repositories |
Fetch Skill files
Path parameters
Git Provider to import from. Accepted values:
github, gitlab.Request body
Repository identifier in the format the provider expects (e.g.
"acme/my-skills" for GitHub, "acme/my-skills" for GitLab).Branch, tag, or commit SHA to read from (e.g.
"main", "v1.2.0").Path within the repository to the Skill directory (e.g.
"skills/build-react-app").Response fields
One entry per file found at the location.
List Skill folders
SKILL.md). Use this endpoint when a repository may contain multiple Skills at different paths — the writer picks which ones to import, and each pick becomes its own skill-files request.
Path parameters
Git Provider to scan. Accepted values:
github, gitlab.Request body
Same shape asskill-files: { project, ref, path }.
Repository identifier (e.g.
"acme/skills").Branch, tag, or commit SHA to scan.
Root path to search under (e.g.
"skills" or "" for the repository root).Response fields
One entry per Skill folder found.
List accessible repositories
Path parameters
Git Provider to query. Must be a recognised provider (
github or gitlab). Returns 400 immediately for unrecognised values — before any lookup — to distinguish “not a provider” from “not configured”.Response fields
List of repositories the writer can read.
Error codes
| Code | Status | When |
|---|---|---|
validation_failed | 400 | The :provider path segment is not a recognised Git Provider. |
integration_not_configured | 409 | No Integration exists for the given provider. Ask an Admin to configure one. |
not_connected | 409 | The writer has no Connection for the given provider. Connect from Settings first. |
connection_expired | 409 | The existing Connection’s grant was revoked or expired. Reconnect from Settings. |