List Knowledge Bases
curl --request GET \
--url https://api.example.com/api/marketplace/knowledge-basesimport requests
url = "https://api.example.com/api/marketplace/knowledge-bases"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/marketplace/knowledge-bases', 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.example.com/api/marketplace/knowledge-bases",
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://api.example.com/api/marketplace/knowledge-bases"
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://api.example.com/api/marketplace/knowledge-bases")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/marketplace/knowledge-bases")
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{
"items": [
{
"id": "<string>",
"title": "<string>",
"publisher": "<string>",
"summary": "<string>",
"category": "<string>",
"tags": [
"<string>"
],
"subscribersCount": 123,
"queryVolume": 123,
"updatedAt": "<string>"
}
],
"total": 123,
"page": 123,
"pageSize": 123,
"totalPages": 123
}Endpoints
List Knowledge Bases
Browse and search available knowledge bases
GET
/
api
/
marketplace
/
knowledge-bases
List Knowledge Bases
curl --request GET \
--url https://api.example.com/api/marketplace/knowledge-basesimport requests
url = "https://api.example.com/api/marketplace/knowledge-bases"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/marketplace/knowledge-bases', 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.example.com/api/marketplace/knowledge-bases",
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://api.example.com/api/marketplace/knowledge-bases"
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://api.example.com/api/marketplace/knowledge-bases")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/marketplace/knowledge-bases")
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{
"items": [
{
"id": "<string>",
"title": "<string>",
"publisher": "<string>",
"summary": "<string>",
"category": "<string>",
"tags": [
"<string>"
],
"subscribersCount": 123,
"queryVolume": 123,
"updatedAt": "<string>"
}
],
"total": 123,
"page": 123,
"pageSize": 123,
"totalPages": 123
}Endpoint
GET https://api.ardie.ai/api/marketplace/knowledge-bases
This endpoint is publicly accessible and does not require authentication.
Query Parameters
string
Search term to filter knowledge bases by title, description, or publisher.
string
Filter by category. Options:
education, policy, health, research, legalstring[]
Filter by one or more tags.
string
default:"popular"
Sort order. Options:
popular, new, updatedinteger
default:"1"
Page number for pagination.
integer
default:"12"
Number of results per page (max 50).
Example Request
curl "https://api.ardie.ai/api/marketplace/knowledge-bases?query=education&category=education&sort=popular&page=1&pageSize=12"
import requests
response = requests.get(
"https://api.ardie.ai/api/marketplace/knowledge-bases",
params={
"query": "education",
"category": "education",
"sort": "popular",
"page": 1,
"pageSize": 12
}
)
data = response.json()
for kb in data["items"]:
print(kb["title"])
const params = new URLSearchParams({
query: 'education',
category: 'education',
sort: 'popular',
page: '1',
pageSize: '12'
});
const response = await fetch(
`https://api.ardie.ai/api/marketplace/knowledge-bases?${params}`
);
const data = await response.json();
data.items.forEach(kb => console.log(kb.title));
Response
array
List of knowledge base objects.
Show Knowledge Base object
Show Knowledge Base object
string
Unique identifier for the knowledge base.
string
Name of the knowledge base.
string
Organization or individual who created the knowledge base.
string
Brief description of the knowledge base.
string
Primary category classification.
string[]
List of tags for filtering.
integer
Number of users with active subscriptions.
integer
Total queries processed.
string
ISO 8601 timestamp of last update.
integer
Total number of matching knowledge bases.
integer
Current page number.
integer
Number of results per page.
integer
Total number of pages available.
Example Response
{
"items": [
{
"id": "kb_edu_123",
"title": "K-12 Curriculum Standards",
"publisher": "Education Standards Board",
"summary": "Comprehensive curriculum standards for K-12 education across all subjects.",
"category": "education",
"tags": ["curriculum", "k-12", "standards"],
"subscribersCount": 245,
"queryVolume": 15420,
"updatedAt": "2024-01-15T10:30:00Z"
},
{
"id": "kb_edu_456",
"title": "Higher Education Research",
"publisher": "Academic Research Institute",
"summary": "Research papers and studies on higher education pedagogy.",
"category": "education",
"tags": ["higher-ed", "research", "pedagogy"],
"subscribersCount": 89,
"queryVolume": 4230,
"updatedAt": "2024-01-10T14:20:00Z"
}
],
"total": 24,
"page": 1,
"pageSize": 12,
"totalPages": 2
}
Next Steps
Query a Knowledge Base
Once you’ve found a knowledge base, learn how to query it.
⌘I
(7).png?fit=max&auto=format&n=6FZsVQ5mPkveKHn2&q=85&s=46e497b52f808bab8589207e29abb2e1)
(6).png?fit=max&auto=format&n=3Dv90z8s7pwEMiZV&q=85&s=5b1b766bf867af4abce636e36c001b97)