Retrieve the full body of a skill by ID
curl --request GET \
--url https://app.solya.app/api/business-knowledge/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.solya.app/api/business-knowledge/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.solya.app/api/business-knowledge/{id}', 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.solya.app/api/business-knowledge/{id}",
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://app.solya.app/api/business-knowledge/{id}"
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://app.solya.app/api/business-knowledge/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.solya.app/api/business-knowledge/{id}")
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{
"actionFamilies": [
"RESTOCK_PLAN"
],
"body": "1. Ouvrir un plan de réassort pour la boutique concernée.\n2. Vérifier le stock disponible dans l'entrepôt central (onglet Stock > Entrepôt).\n3. Ajouter les articles via le bouton 'Ajouter article' — filtrer par famille et saison.\n4. Vérifier les alertes de règles métier (blocs et avertissements).\n5. Soumettre le plan pour approbation si le montant dépasse 50 000 €.\n6. Après approbation, exporter vers Polaris via l'action 'Envoyer vers POS'.",
"createdAt": "2026-01-20T14:00:00.000Z",
"id": "bk-skill-process-reassort",
"isActive": true,
"scope": null,
"source": "ORG",
"tags": [
"restock",
"polaris",
"process"
],
"title": "Processus de réassort Polaris",
"updatedAt": null,
"whenToUse": "Utilise ce skill quand l'utilisateur demande à réassortir une boutique, à créer un plan de réassort, ou à ajouter des articles à un plan existant."
}Business Knowledge
Retrieve the full body of a skill by ID
Returns the full procedural body of a SKILL entry. Agents call this endpoint after scanning the skill stubs from GET /business-knowledge and determining that a skill’s whenToUse trigger matches the current situation. Only returns active SKILL entries that belong to the caller’s organization. Returns 404 when the entry does not exist, is inactive, or belongs to another organization. Requires businessKnowledge.read permission. Compatible with service-account tokens (solya_sa_*).
GET
/
api
/
business-knowledge
/
{id}
Retrieve the full body of a skill by ID
curl --request GET \
--url https://app.solya.app/api/business-knowledge/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.solya.app/api/business-knowledge/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.solya.app/api/business-knowledge/{id}', 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.solya.app/api/business-knowledge/{id}",
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://app.solya.app/api/business-knowledge/{id}"
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://app.solya.app/api/business-knowledge/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.solya.app/api/business-knowledge/{id}")
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{
"actionFamilies": [
"RESTOCK_PLAN"
],
"body": "1. Ouvrir un plan de réassort pour la boutique concernée.\n2. Vérifier le stock disponible dans l'entrepôt central (onglet Stock > Entrepôt).\n3. Ajouter les articles via le bouton 'Ajouter article' — filtrer par famille et saison.\n4. Vérifier les alertes de règles métier (blocs et avertissements).\n5. Soumettre le plan pour approbation si le montant dépasse 50 000 €.\n6. Après approbation, exporter vers Polaris via l'action 'Envoyer vers POS'.",
"createdAt": "2026-01-20T14:00:00.000Z",
"id": "bk-skill-process-reassort",
"isActive": true,
"scope": null,
"source": "ORG",
"tags": [
"restock",
"polaris",
"process"
],
"title": "Processus de réassort Polaris",
"updatedAt": null,
"whenToUse": "Utilise ce skill quand l'utilisateur demande à réassortir une boutique, à créer un plan de réassort, ou à ajouter des articles à un plan existant."
}Authorizations
User session token issued by NextAuth. For human users accessing Solya via the web application.
Path Parameters
Unique identifier of the skill to retrieve (UUID)
⌘I

