Report an install's local skill hashes (no push)
curl --request POST \
--url https://api.decimal.ai/api/v1/skills/installs/report \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"install_id": "<string>",
"skills": [
{
"name": "<string>",
"content_hash": "<string>"
}
],
"install_label": "<string>"
}
'import requests
url = "https://api.decimal.ai/api/v1/skills/installs/report"
payload = {
"install_id": "<string>",
"skills": [
{
"name": "<string>",
"content_hash": "<string>"
}
],
"install_label": "<string>"
}
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({
install_id: '<string>',
skills: [{name: '<string>', content_hash: '<string>'}],
install_label: '<string>'
})
};
fetch('https://api.decimal.ai/api/v1/skills/installs/report', 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/installs/report",
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([
'install_id' => '<string>',
'skills' => [
[
'name' => '<string>',
'content_hash' => '<string>'
]
],
'install_label' => '<string>'
]),
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://api.decimal.ai/api/v1/skills/installs/report"
payload := strings.NewReader("{\n \"install_id\": \"<string>\",\n \"skills\": [\n {\n \"name\": \"<string>\",\n \"content_hash\": \"<string>\"\n }\n ],\n \"install_label\": \"<string>\"\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://api.decimal.ai/api/v1/skills/installs/report")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"install_id\": \"<string>\",\n \"skills\": [\n {\n \"name\": \"<string>\",\n \"content_hash\": \"<string>\"\n }\n ],\n \"install_label\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.decimal.ai/api/v1/skills/installs/report")
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 \"install_id\": \"<string>\",\n \"skills\": [\n {\n \"name\": \"<string>\",\n \"content_hash\": \"<string>\"\n }\n ],\n \"install_label\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "ok",
"install_id": "<string>",
"skills": [
{
"name": "<string>",
"status": "<string>",
"local_hash": "<string>",
"remote_hash": "<string>"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}skills
Report an install's local skill hashes (no push)
Refresh an install’s locally-observed hashes without pushing anything.
Read-only with respect to skills/versions: it only updates the install’s
divergence rows so a future decimalai skills status can show drift
pills. Unknown skill names come back as local_only and are not
persisted (no skill to attach them to).
POST
/
api
/
v1
/
skills
/
installs
/
report
Report an install's local skill hashes (no push)
curl --request POST \
--url https://api.decimal.ai/api/v1/skills/installs/report \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"install_id": "<string>",
"skills": [
{
"name": "<string>",
"content_hash": "<string>"
}
],
"install_label": "<string>"
}
'import requests
url = "https://api.decimal.ai/api/v1/skills/installs/report"
payload = {
"install_id": "<string>",
"skills": [
{
"name": "<string>",
"content_hash": "<string>"
}
],
"install_label": "<string>"
}
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({
install_id: '<string>',
skills: [{name: '<string>', content_hash: '<string>'}],
install_label: '<string>'
})
};
fetch('https://api.decimal.ai/api/v1/skills/installs/report', 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/installs/report",
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([
'install_id' => '<string>',
'skills' => [
[
'name' => '<string>',
'content_hash' => '<string>'
]
],
'install_label' => '<string>'
]),
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://api.decimal.ai/api/v1/skills/installs/report"
payload := strings.NewReader("{\n \"install_id\": \"<string>\",\n \"skills\": [\n {\n \"name\": \"<string>\",\n \"content_hash\": \"<string>\"\n }\n ],\n \"install_label\": \"<string>\"\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://api.decimal.ai/api/v1/skills/installs/report")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"install_id\": \"<string>\",\n \"skills\": [\n {\n \"name\": \"<string>\",\n \"content_hash\": \"<string>\"\n }\n ],\n \"install_label\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.decimal.ai/api/v1/skills/installs/report")
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 \"install_id\": \"<string>\",\n \"skills\": [\n {\n \"name\": \"<string>\",\n \"content_hash\": \"<string>\"\n }\n ],\n \"install_label\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "ok",
"install_id": "<string>",
"skills": [
{
"name": "<string>",
"status": "<string>",
"local_hash": "<string>",
"remote_hash": "<string>"
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Enter your API key (e.g. dai_sk_test_key_001)
Headers
Cookies
Body
application/json
Validated request for POST /skills/installs/report.
Read-only with respect to skills/versions: it never creates or mutates a
skill — it only refreshes the (org, install, skill) divergence row's
locally-observed hash. Powers a future decimalai skills status that shows
drift pills without pushing anything.
⌘I