> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shipstar.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Public KB Articles

> Get published knowledge base articles by public slug

Retrieves a set of published knowledge base articles by its public slug. Returns the articles array and metadata. This endpoint does not require authentication.

## Path Parameters

<ParamField path="public_slug" type="string" required>
  The unique public slug of the KB article set.
</ParamField>

## Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://app.shipstar.ai/api/v1/kb/shipstar-knowledge-base"
  ```

  ```javascript JavaScript theme={null}
  const slug = 'shipstar-knowledge-base';
  const response = await fetch(`https://app.shipstar.ai/api/v1/kb/${slug}`);
  const kb = await response.json();
  ```

  ```python Python theme={null}
  import requests

  slug = 'shipstar-knowledge-base'
  response = requests.get(f'https://app.shipstar.ai/api/v1/kb/{slug}')
  kb = response.json()
  ```
</CodeGroup>

## Response

Returns the KB article set with its full content, including categorized articles.

### Example Response

```json 200 theme={null}
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "slug": "shipstar-knowledge-base",
  "content": "{\"articles\": [{\"category\": \"Getting Started\", \"title\": \"How to connect your GitHub account\", \"body\": \"Navigate to Sources in your dashboard and click Connect GitHub...\"}, {\"category\": \"Content Generation\", \"title\": \"Generating your first changelog\", \"body\": \"Once your repositories are connected, go to the Content tab...\"}]}",
  "published_at": "2025-03-31T12:00:00Z",
  "created_at": "2025-03-31T10:00:00Z"
}
```

## Errors

| Status | Description                            |
| ------ | -------------------------------------- |
| 404    | KB articles not found or not published |
| 422    | Invalid slug format                    |
