curl --request POST \
--url https://api.decimal.ai/api/v1/registry/skills/{skill_id}/use \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.decimal.ai/api/v1/registry/skills/{skill_id}/use"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.decimal.ai/api/v1/registry/skills/{skill_id}/use', 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.decimal.ai/api/v1/registry/skills/{skill_id}/use",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.decimal.ai/api/v1/registry/skills/{skill_id}/use"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.decimal.ai/api/v1/registry/skills/{skill_id}/use")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.decimal.ai/api/v1/registry/skills/{skill_id}/use")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Use a registry skill — a linked pointer, not a copy
Link a public registry skill into your workspace live (no fork).
Creates a Use pointer (skill_subscription row) the resolver serves to your
agents at the resolved version. scope='workspace' → one pointer for every agent;
scope='agent' → one per name in agents. mode='latest' tracks the newest
safe upstream version; 'pinned' freezes version. Distinct from /fork (an
owned, editable copy) — see the Use-vs-Fork spec.
Capped by the plan’s linked_skills allowance (50 / 250 / 1000 / unlimited),
which is separate from and larger than the owned skills cap /fork enforces.
The meter counts DISTINCT skills, not pointer rows, so linking one skill to twenty
agents costs one. Re-linking something you already link is always allowed.
scope='agent' here is ongoing curation of an agent that already exists,
and stays Pro+. Choosing an agent’s skills while CREATING it is free on every
plan — pass them as skill_ids to POST /api/v1/agents. Either way your
plan’s cap on how many registry skills you may link still applies.
curl --request POST \
--url https://api.decimal.ai/api/v1/registry/skills/{skill_id}/use \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.decimal.ai/api/v1/registry/skills/{skill_id}/use"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.decimal.ai/api/v1/registry/skills/{skill_id}/use', 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.decimal.ai/api/v1/registry/skills/{skill_id}/use",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.decimal.ai/api/v1/registry/skills/{skill_id}/use"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.decimal.ai/api/v1/registry/skills/{skill_id}/use")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.decimal.ai/api/v1/registry/skills/{skill_id}/use")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Headers
Path Parameters
Query Parameters
'workspace' (every agent) or 'agent'
'latest' (track newest safe) or 'pinned'
Version id to pin when mode='pinned'
Comma-separated agent names when scope='agent'
Cookies
Response
Use pointer(s) created/updated.