curl --location --request GET 'https://www.pacekb.com/api/v2/articles' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"data": [
{
"other_articles": [
{
"language": "fr"
}
],
"id": "<id>",
"name": "How to create users in PaceKB",
"status": "published",
"last_edited_date": "2023-03-24 00:39:16.812000",
"ai_summary": "Creating users in PaceKB is made easy using the sub-user system. Start by...",
"users_articles_created_byTousers": {
"username": "benj",
"first_name": "Ben",
"last_name": "Jenkins",
"email_address": "ben@example.com"
},
"_count": {
"tracking": 5233
}
}
],
"timezone": "Europe/London",
"limit": 25,
"languages": ["en", "fr", "nl"],
"aiSummary": true
}
This endpoint gets all articles from your Knowledge Base.
curl --location --request GET 'https://www.pacekb.com/api/v2/articles' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"data": [
{
"other_articles": [
{
"language": "fr"
}
],
"id": "<id>",
"name": "How to create users in PaceKB",
"status": "published",
"last_edited_date": "2023-03-24 00:39:16.812000",
"ai_summary": "Creating users in PaceKB is made easy using the sub-user system. Start by...",
"users_articles_created_byTousers": {
"username": "benj",
"first_name": "Ben",
"last_name": "Jenkins",
"email_address": "ben@example.com"
},
"_count": {
"tracking": 5233
}
}
],
"timezone": "Europe/London",
"limit": 25,
"languages": ["en", "fr", "nl"],
"aiSummary": true
}
Show Toggle object in array
curl --location --request GET 'https://www.pacekb.com/api/v2/articles' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <api_key>' \
{
"success": true,
"data": [
{
"other_articles": [
{
"language": "fr"
}
],
"id": "<id>",
"name": "How to create users in PaceKB",
"status": "published",
"last_edited_date": "2023-03-24 00:39:16.812000",
"ai_summary": "Creating users in PaceKB is made easy using the sub-user system. Start by...",
"users_articles_created_byTousers": {
"username": "benj",
"first_name": "Ben",
"last_name": "Jenkins",
"email_address": "ben@example.com"
},
"_count": {
"tracking": 5233
}
}
],
"timezone": "Europe/London",
"limit": 25,
"languages": ["en", "fr", "nl"],
"aiSummary": true
}