Returns a list of articles, newest change first.
curl "https://usedocs.app/v1/articles?status=published&limit=50" \
-H "Authorization: Bearer $USEDOCS_API_KEY"
Authentication
Bearer token (content:read): a workspace API key, e.g. ud_live_…
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
status | query | string | Filter by article status (draft, in_review, published, archived). | |
category_id | query | string | Filter by the article’s category. | |
locale | query | string | Return articles for a specific locale (e.g., en, fr). | |
limit | query | integer | Maximum number of articles to return (default is defined by the server). |
Responses
| Status | Description |
|---|---|
200 | One page of articles. |
400 | The request is missing something or has a bad value. |
401 | No API key, or the key is revoked. |
403 | A read key on a write operation, or a key for another bot. |
404 | Not found. |
429 | Rate limited. See the Retry-After header for when to retry. |
Response fields
| Field | Type | Description |
|---|---|---|
results | Article[] | Array of article objects. |
has_more | boolean | Whether more pages are available. |
next_cursor | `string \ | null` |
results[]: Article
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier of the article. |
slug | string | URL‑friendly identifier. |
title | string | Article title. |
body_md | string | Markdown content of the article. |
status | string | One of: draft, in_review, published, archived. |
seo_description | `string \ | null` |
published_at | `string \ | null` |
source_draft_id | `string \ | null` |
category_id | `string \ | null` |