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

NameInTypeRequiredDescription
statusquerystringFilter by article status (draft, in_review, published, archived).
category_idquerystringFilter by the article’s category.
localequerystringReturn articles for a specific locale (e.g., en, fr).
limitqueryintegerMaximum number of articles to return (default is defined by the server).

Responses

StatusDescription
200One page of articles.
400The request is missing something or has a bad value.
401No API key, or the key is revoked.
403A read key on a write operation, or a key for another bot.
404Not found.
429Rate limited. See the Retry-After header for when to retry.

Response fields

FieldTypeDescription
resultsArticle[]Array of article objects.
has_morebooleanWhether more pages are available.
next_cursor`string \null`

results[]: Article

FieldTypeDescription
idstringUnique identifier of the article.
slugstringURL‑friendly identifier.
titlestringArticle title.
body_mdstringMarkdown content of the article.
statusstringOne of: draft, in_review, published, archived.
seo_description`string \null`
published_at`string \null`
source_draft_id`string \null`
category_id`string \null`