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

success
boolean

Indicates whether the call was successful.

message
string

If there’s an error an accompanying error message will be visible

data
array

List of all articles

timezone
string

Your timezone preference

limit
number

Your limit of articles

languages
array

Array of all language codes your Knowledge Base has enabled

ai_summary
boolean

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
}