> ## 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.

# generate_kb_articles

> Kick off generation of knowledge base articles from recent commits

Turns recent shipped work into a set of knowledge base articles. Background task; returns a pending content record.

## Arguments

| Name | Type | Default | Description |
| - | - | - | - |
| `start_date` | string (ISO-8601) | 7 days ago | Earliest commit timestamp to include. |
| `end_date` | string (ISO-8601) | now | Latest commit timestamp to include. |
| `product_name` | string | project name | Override the product name. |
| `audience` | `"technical"` \| `"business"` \| `"mixed"` | project default | Technical depth of the writing. Omit to use the project's [content guidelines](/guides/content-guidelines) default. |
| `instructions` | string (≤ 2000 chars) | project default | Free-text guidance on scope, tone, or terminology, e.g. `"British spelling; do announce docs-site changes"`. Omit to use the project default. |
| `repos` | string\[] | all tracked repos | Restrict the commit source to these tracked repositories (full names, e.g. `["acme/backend"]`), as listed by [`get_project_context`](/mcp/project/get-project-context). Omit to use every active tracked repo. |

## Returns

```json theme={null}
{ "content_id": "...", "status": "pending" }
```

Poll [`list_kb_article_sets`](/mcp/kb/list-kb-article-sets) / [`get_kb_article_set`](/mcp/kb/get-kb-article-set) once the background task completes.

## Example prompts

> "Generate KB articles for everything we shipped in March."

> "Take the last 30 days of commits and turn them into how-to articles."


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.