Get a knowledge item's current card
curl --request GET \
--url https://app.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/cardimport requests
url = "https://app.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card', 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.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card"
req, _ := http.NewRequest("GET", url, nil)
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.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"knowledgeId": 123,
"knowledgeType": "<string>",
"name": "<string>",
"versionId": 123,
"version": 123,
"active": true,
"processingStatus": "<string>",
"sections": [
{}
]
}MCP Resources
Get a knowledge item's current card
The latest version’s digests per section, preferring the user’s edits, with its name, type and processing status. Token must have ‘View Knowledge’, ‘Manage Knowledge’ or ‘Admin’ permission.
GET
/
api
/
v1
/
external
/
mcp
/
resources
/
knowledge
/
{knowledgeId}
/
card
Get a knowledge item's current card
curl --request GET \
--url https://app.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/cardimport requests
url = "https://app.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card', 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.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card"
req, _ := http.NewRequest("GET", url, nil)
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.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.govworx.net/api/v1/external/mcp/resources/knowledge/{knowledgeId}/card")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"knowledgeId": 123,
"knowledgeType": "<string>",
"name": "<string>",
"versionId": 123,
"version": 123,
"active": true,
"processingStatus": "<string>",
"sections": [
{}
]
}⌘I

