Python SDK
from decimalai.skill_router import SkillRouter
router = SkillRouter(api_key="dai_sk_...")
skills = router.list_skills(category="tools", limit=50)decimalai skills list --limit 50const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.decimal.ai/api/v1/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.decimal.ai/api/v1/skills",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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/skills"
req, _ := http.NewRequest("GET", 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.get("https://api.decimal.ai/api/v1/skills")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.decimal.ai/api/v1/skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"skills": [
{
"id": "sk_abc123",
"name": "search-flights",
"description": "Search available flights",
"category": "tools",
"stability": "stable",
"is_active": true,
"offer_scope": "workspace",
"visibility": "org",
"latest_version_id": "sv_def456",
"latest_version": {
"version_number": 3,
"content_hash": "a1b2c3d4e5f60718",
"change_summary": "Added retry logic on timeout",
"author": "alice@example.com",
"created_at": "2026-05-10T14:22:00Z"
},
"embedding_model": "text-embedding-3-small",
"trigger_phrases": [
"find flights"
],
"activation_count": 142,
"agents": [
{
"agent_name": "travel-agent",
"activation_count": 142
}
],
"agent_count": 1,
"owner": {
"user_id": "user_123",
"user_name": "Alice",
"workspace_id": "ws_main",
"workspace_name": "Main"
},
"can_edit": true,
"subscriber_count": 0,
"effectiveness_score": 0.87,
"pass_rate": 0.91,
"success_rate": 0.93,
"trend": "up",
"source_type": "platform",
"created_at": "2026-04-01T09:00:00Z"
}
],
"total": 8
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}skills
List skills
List all skills for the organization.
Returns enriched data including ownership info, agent associations,
subscriber counts, and a can_edit flag for the current caller.
Results are filtered by visibility — only skills the caller can see.
GET
/
api
/
v1
/
skills
Python SDK
from decimalai.skill_router import SkillRouter
router = SkillRouter(api_key="dai_sk_...")
skills = router.list_skills(category="tools", limit=50)decimalai skills list --limit 50const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.decimal.ai/api/v1/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.decimal.ai/api/v1/skills",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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/skills"
req, _ := http.NewRequest("GET", 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.get("https://api.decimal.ai/api/v1/skills")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.decimal.ai/api/v1/skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"skills": [
{
"id": "sk_abc123",
"name": "search-flights",
"description": "Search available flights",
"category": "tools",
"stability": "stable",
"is_active": true,
"offer_scope": "workspace",
"visibility": "org",
"latest_version_id": "sv_def456",
"latest_version": {
"version_number": 3,
"content_hash": "a1b2c3d4e5f60718",
"change_summary": "Added retry logic on timeout",
"author": "alice@example.com",
"created_at": "2026-05-10T14:22:00Z"
},
"embedding_model": "text-embedding-3-small",
"trigger_phrases": [
"find flights"
],
"activation_count": 142,
"agents": [
{
"agent_name": "travel-agent",
"activation_count": 142
}
],
"agent_count": 1,
"owner": {
"user_id": "user_123",
"user_name": "Alice",
"workspace_id": "ws_main",
"workspace_name": "Main"
},
"can_edit": true,
"subscriber_count": 0,
"effectiveness_score": 0.87,
"pass_rate": 0.91,
"success_rate": 0.93,
"trend": "up",
"source_type": "platform",
"created_at": "2026-04-01T09:00:00Z"
}
],
"total": 8
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Query Parameters
Filter by category (e.g. 'tools', 'policies', 'workflows').
Example:
"tools"
Exclude soft-deleted skills.
Filter to a single project.
Exact-match filter on skill name — a 200/empty-list existence probe (the detail page uses it instead of a guaranteed-404 GET).
Max results (1–500).
Required range:
1 <= x <= 500Pagination offset.
Required range:
x >= 0