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

# List KB articles

` GET /projects/{projectId}/kb/articles `

List KB articles

## Servers

- ` https://api.rogeriq.com/api/v1 `

## Authentication

The operation accepts these alternatives. Schemes within one alternative are required together.

### Alternative 1

- ` apiKey `: ` apiKey `

  - Credential: ` X-API-Key ` in ` header `

  - API key with `riq_` prefix

## Parameters

### ` projectId ` (path, required)

- ` value `: type ` string `

### ` status ` (query, optional)

- ` value `: type ` string `

  - enum: ` ["draft","published","archived"] `

### ` category ` (query, optional)

- ` value `: type ` string `

### ` q ` (query, optional)

- ` value `: type ` string ` — Free-text search across title + content

### ` cursor ` (query, optional)

- ` value `: type ` string `

### ` limit ` (query, optional)

- ` value `: type ` integer `

  - default: ` 50 `

  - maximum: ` 100 `

## Responses

### ` 200 ` — Paginated articles

Content type: ` application/json `

- ` value `: type ` object `

  - ` data `: type ` array `

    - ` array item `: type ` object `

      - ` id `: type ` string `

      - ` project_id `: type ` string `

      - ` title `: type ` string `

      - ` slug `: type ` string `

      - ` content `: type ` string ` — Markdown body

      - ` category `: type ` string `; nullable

      - ` status `: type ` string `

        - enum: ` ["draft","published","archived"] `

      - ` is_public `: type ` boolean `

      - ` view_count `: type ` integer `

      - ` helpful_count `: type ` integer `

      - ` not_helpful_count `: type ` integer `

      - ` ai_generated `: type ` boolean `

      - ` created_at `: type ` string `; format ` date-time `

      - ` updated_at `: type ` string `; format ` date-time `

  - ` cursor `: type ` string `; nullable

  - ` has_more `: type ` boolean `

## Request examples

### cURL

```curl
curl -X GET 'https://api.rogeriq.com/api/v1/projects/string/kb/articles' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('https://api.rogeriq.com/api/v1/projects/string/kb/articles', {
  method: 'GET',
  headers: {
      "Authorization": "Bearer YOUR_API_TOKEN"
  }
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN'
}

response = requests.get('https://api.rogeriq.com/api/v1/projects/string/kb/articles', headers=headers)
print(response.json())
```