Import selected team skills
curl --request POST \
--url https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"repository": "felan-ai/skills",
"ref": "main",
"commit": "0123456789abcdef0123456789abcdef01234567",
"paths": [
"release/SKILL.md"
]
}
'import requests
url = "https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import"
payload = {
"repository": "felan-ai/skills",
"ref": "main",
"commit": "0123456789abcdef0123456789abcdef01234567",
"paths": ["release/SKILL.md"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
repository: 'felan-ai/skills',
ref: 'main',
commit: '0123456789abcdef0123456789abcdef01234567',
paths: ['release/SKILL.md']
})
};
fetch('https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'repository' => 'felan-ai/skills',
'ref' => 'main',
'commit' => '0123456789abcdef0123456789abcdef01234567',
'paths' => [
'release/SKILL.md'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import"
payload := strings.NewReader("{\n \"repository\": \"felan-ai/skills\",\n \"ref\": \"main\",\n \"commit\": \"0123456789abcdef0123456789abcdef01234567\",\n \"paths\": [\n \"release/SKILL.md\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"repository\": \"felan-ai/skills\",\n \"ref\": \"main\",\n \"commit\": \"0123456789abcdef0123456789abcdef01234567\",\n \"paths\": [\n \"release/SKILL.md\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"repository\": \"felan-ai/skills\",\n \"ref\": \"main\",\n \"commit\": \"0123456789abcdef0123456789abcdef01234567\",\n \"paths\": [\n \"release/SKILL.md\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "d82ec81c-6a15-4b7c-a349-bfab277b4623",
"provider": "github",
"repository": "felan-ai/skills",
"ref": "main",
"path": "release/SKILL.md",
"name": "release",
"description": "Prepare and verify a release.",
"sourceCommit": "0123456789abcdef0123456789abcdef01234567"
}
]
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid subagent fields"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "SKILL_SOURCE_UNAVAILABLE",
"message": "The public GitHub skill source is unavailable"
}
}Skills
Import selected team skills
Imports 1–100 selected SKILL.md paths from the immutable commit returned by scan. Re-importing the same repository path refreshes its metadata while preserving its skill ID.
POST
/
teams
/
{teamSlug}
/
skills
/
import
Import selected team skills
curl --request POST \
--url https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"repository": "felan-ai/skills",
"ref": "main",
"commit": "0123456789abcdef0123456789abcdef01234567",
"paths": [
"release/SKILL.md"
]
}
'import requests
url = "https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import"
payload = {
"repository": "felan-ai/skills",
"ref": "main",
"commit": "0123456789abcdef0123456789abcdef01234567",
"paths": ["release/SKILL.md"]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
repository: 'felan-ai/skills',
ref: 'main',
commit: '0123456789abcdef0123456789abcdef01234567',
paths: ['release/SKILL.md']
})
};
fetch('https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'repository' => 'felan-ai/skills',
'ref' => 'main',
'commit' => '0123456789abcdef0123456789abcdef01234567',
'paths' => [
'release/SKILL.md'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import"
payload := strings.NewReader("{\n \"repository\": \"felan-ai/skills\",\n \"ref\": \"main\",\n \"commit\": \"0123456789abcdef0123456789abcdef01234567\",\n \"paths\": [\n \"release/SKILL.md\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"repository\": \"felan-ai/skills\",\n \"ref\": \"main\",\n \"commit\": \"0123456789abcdef0123456789abcdef01234567\",\n \"paths\": [\n \"release/SKILL.md\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.felan.ai/api/v1/teams/{teamSlug}/skills/import")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"repository\": \"felan-ai/skills\",\n \"ref\": \"main\",\n \"commit\": \"0123456789abcdef0123456789abcdef01234567\",\n \"paths\": [\n \"release/SKILL.md\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "d82ec81c-6a15-4b7c-a349-bfab277b4623",
"provider": "github",
"repository": "felan-ai/skills",
"ref": "main",
"path": "release/SKILL.md",
"name": "release",
"description": "Prepare and verify a release.",
"sourceCommit": "0123456789abcdef0123456789abcdef01234567"
}
]
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid subagent fields"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "SKILL_SOURCE_UNAVAILABLE",
"message": "The public GitHub skill source is unavailable"
}
}Authorizations
Team API key. Current keys retain the bzy_team_ compatibility prefix.
Path Parameters
Felan team slug shown in dashboard URLs and Team Settings
Minimum string length:
1Body
application/json
Repository returned by scan, or its public GitHub URL.
Example:
"felan-ai/skills"
Example:
"main"
Pattern:
^[0-9a-f]{40}$Example:
"0123456789abcdef0123456789abcdef01234567"
Required array length:
1 - 100 elementsPattern:
(^|/)SKILL\.md$Example:
["release/SKILL.md"]
Response
Imported skill metadata
Show child attributes
Show child attributes
