curl --request POST \
--url https://api.example.com/api/v1/skills/marketplace-skills \
--header 'Content-Type: application/json' \
--header 'X-Access-Token: <api-key>' \
--data '
[
{
"name": "<string>",
"source": "<string>",
"ref": "<string>",
"repo_path": "<string>",
"auto_load": false
}
]
'import requests
url = "https://api.example.com/api/v1/skills/marketplace-skills"
payload = [
{
"name": "<string>",
"source": "<string>",
"ref": "<string>",
"repo_path": "<string>",
"auto_load": False
}
]
headers = {
"X-Access-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Access-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
name: '<string>',
source: '<string>',
ref: '<string>',
repo_path: '<string>',
auto_load: false
}
])
};
fetch('https://api.example.com/api/v1/skills/marketplace-skills', 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://api.example.com/api/v1/skills/marketplace-skills",
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([
[
'name' => '<string>',
'source' => '<string>',
'ref' => '<string>',
'repo_path' => '<string>',
'auto_load' => false
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Access-Token: <api-key>"
],
]);
$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://api.example.com/api/v1/skills/marketplace-skills"
payload := strings.NewReader("[\n {\n \"name\": \"<string>\",\n \"source\": \"<string>\",\n \"ref\": \"<string>\",\n \"repo_path\": \"<string>\",\n \"auto_load\": false\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Access-Token", "<api-key>")
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://api.example.com/api/v1/skills/marketplace-skills")
.header("X-Access-Token", "<api-key>")
.header("Content-Type", "application/json")
.body("[\n {\n \"name\": \"<string>\",\n \"source\": \"<string>\",\n \"ref\": \"<string>\",\n \"repo_path\": \"<string>\",\n \"auto_load\": false\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/skills/marketplace-skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Access-Token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"name\": \"<string>\",\n \"source\": \"<string>\",\n \"ref\": \"<string>\",\n \"repo_path\": \"<string>\",\n \"auto_load\": false\n }\n]"
response = http.request(request)
puts response.read_body{
"skills": [
{
"name": "<string>",
"type": "<string>",
"source": "<string>",
"triggers": [
"<string>"
]
}
],
"plugins": [
{
"name": "<string>",
"source": "<string>",
"marketplace": "<string>",
"description": "<string>"
}
],
"marketplace_skills": {},
"errors": [
"<string>"
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get Marketplace Skills
Get skills from marketplace repositories.
This endpoint fetches and returns skill metadata from marketplace repos without requiring an active sandbox session. Useful for previewing what skills a marketplace provides before or after adding it.
Each call clones the marketplace repos fresh; this endpoint is admin-only and low-traffic, so caching the git clones here would buy little for the cross-user / pod-local complexity a shared cache introduces.
Args: marketplaces: List of marketplace registrations to fetch skills from.
Returns: MarketplaceSkillsPreviewResponse with skill metadata and any errors.
curl --request POST \
--url https://api.example.com/api/v1/skills/marketplace-skills \
--header 'Content-Type: application/json' \
--header 'X-Access-Token: <api-key>' \
--data '
[
{
"name": "<string>",
"source": "<string>",
"ref": "<string>",
"repo_path": "<string>",
"auto_load": false
}
]
'import requests
url = "https://api.example.com/api/v1/skills/marketplace-skills"
payload = [
{
"name": "<string>",
"source": "<string>",
"ref": "<string>",
"repo_path": "<string>",
"auto_load": False
}
]
headers = {
"X-Access-Token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Access-Token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
name: '<string>',
source: '<string>',
ref: '<string>',
repo_path: '<string>',
auto_load: false
}
])
};
fetch('https://api.example.com/api/v1/skills/marketplace-skills', 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://api.example.com/api/v1/skills/marketplace-skills",
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([
[
'name' => '<string>',
'source' => '<string>',
'ref' => '<string>',
'repo_path' => '<string>',
'auto_load' => false
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Access-Token: <api-key>"
],
]);
$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://api.example.com/api/v1/skills/marketplace-skills"
payload := strings.NewReader("[\n {\n \"name\": \"<string>\",\n \"source\": \"<string>\",\n \"ref\": \"<string>\",\n \"repo_path\": \"<string>\",\n \"auto_load\": false\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Access-Token", "<api-key>")
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://api.example.com/api/v1/skills/marketplace-skills")
.header("X-Access-Token", "<api-key>")
.header("Content-Type", "application/json")
.body("[\n {\n \"name\": \"<string>\",\n \"source\": \"<string>\",\n \"ref\": \"<string>\",\n \"repo_path\": \"<string>\",\n \"auto_load\": false\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/skills/marketplace-skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Access-Token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"name\": \"<string>\",\n \"source\": \"<string>\",\n \"ref\": \"<string>\",\n \"repo_path\": \"<string>\",\n \"auto_load\": false\n }\n]"
response = http.request(request)
puts response.read_body{
"skills": [
{
"name": "<string>",
"type": "<string>",
"source": "<string>",
"triggers": [
"<string>"
]
}
],
"plugins": [
{
"name": "<string>",
"source": "<string>",
"marketplace": "<string>",
"description": "<string>"
}
],
"marketplace_skills": {},
"errors": [
"<string>"
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Body
Identifier for this marketplace registration
Marketplace source: 'github:owner/repo', git URL, or local path
Optional branch, tag, or commit (only for git sources)
Subdirectory path within the git repository containing the marketplace (e.g., 'marketplaces/internal' for monorepos). Only relevant for git sources, not local paths.
Auto-load behavior for this marketplace. True = load all plugins at conversation start. False = registered for resolution but not auto-loaded.
Scope of this marketplace registration. Set automatically by backend based on storage layer: "instance" for system defaults, "org" for organization-level, "personal" for user-level. Frontend should NOT send this field in save requests.
instance, org, personal Response
Successful Response
Was this page helpful?

