curl --request GET \
--url https://api.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}', 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.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}",
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.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}"
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.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}")
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{
"source": "USER",
"skill_name": "<string>",
"skill_preset": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"revision": 2
},
"mode": "DISABLE",
"description": "<string>",
"content": "<string>",
"content_sha256": "<string>",
"team_context": "<string>",
"team_context_sha256": "<string>"
}Get what to load for one skill
Return what the caller’s agent must load for one skill, under the preset that applies to the caller (resolved as in getResolvedSkillPreset): the organization’s content for that skill if any, the team context, and the SHA-256 of each, so the member can check that what their agent follows is what an admin saved. Any organization member can call it (READ_ORGANIZATION_DATA).
A Qovery skill (qovery or qovery-*) that the preset leaves alone, or any Qovery skill when no preset applies, answers 200 with a null mode: load the Qovery skill as published, with the team context if there is one. A DISABLE mode means the agent must not load the skill. Any other name that is not in the preset answers 404.
The ETag is the same as the manifest’s, so a single revision covers every skill of the preset. Send it in If-None-Match to get a 304 with no body when the cached copy is current.
Set purpose to say who reads the skill. LOAD (the default) is a member’s coding agent loading it to follow it. VIEW is a person reading it, for example in the Console: same body and same ETag and 304 behaviour, recorded as a SKILL_VIEW audit event with the same content as a SKILL_LOAD entry, and not counted in getSkillUsage.
Every LOAD call is recorded in the audit log as a SKILL_LOAD event with sub-target SKILL_PRESET, 304s included (with from_cache set to true): the entry gives the skill, the preset and revision that applied (or QOVERY_DEFAULT), the mode, and the SHA-256 of the content and team context that were injected. A 404 is not recorded.
curl --request GET \
--url https://api.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}', 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.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}",
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.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}"
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.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.qovery.com/organization/{organizationId}/skillPreset/resolved/skill/{skillName}")
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{
"source": "USER",
"skill_name": "<string>",
"skill_preset": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"revision": 2
},
"mode": "DISABLE",
"description": "<string>",
"content": "<string>",
"content_sha256": "<string>",
"team_context": "<string>",
"team_context_sha256": "<string>"
}Authorizations
JWT tokens should be used with OIDC account (human to machine). JWT tokens used by the Qovery console to communicate with the API have a TTL. Curl Example ' curl https://console.qovery.com/organization -H "Authorization: Bearer $qovery_token" '
Headers
Path Parameters
Query Parameters
Who reads the skill. Defaults to LOAD. Any other value than LOAD or VIEW is refused with 400.
Who reads a skill. LOAD: a member's coding agent loads it to follow it, audited as SKILL_LOAD and counted in usage. VIEW: a person reads it, for example in the Console, audited as SKILL_VIEW and not counted in usage.
LOAD, VIEW Response
What to load for the skill
What the agent loads for one skill, and what it shows the member.
Which assignment made the preset apply to the caller. USER: assigned to the caller as a member. ROLE: assigned to the caller's role in the organization. ORGANIZATION: the organization default. QOVERY_DEFAULT: no preset applies, and the agent uses the Qovery skills as published.
USER, ROLE, ORGANIZATION, QOVERY_DEFAULT Was this page helpful?