Articles
List Articles
Articles
List Articles
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
}
Response
Indicates whether the call was successful.
If there’s an error an accompanying error message will be visible
List of all articles
An array of all languages associated with this article in the format of {language: ‘fr’}
The unique ID of the article
The name of the article
The current article status: (draft, draftCopy, published)
Date when the article was last edited
AI generated summary of the article (if enabled in integrations)
Your timezone preference
Your limit of articles
Array of all language codes your Knowledge Base has enabled
AI Summary integration is enabled
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
}
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
}