---
title: "Get one article as markdown"
method: GET
path: "/api/v1/knowledge-base/{slug}"
tags: ["Content"]
---

# Get one article as markdown

`GET /api/v1/knowledge-base/{slug}`

## Request

- Base URL: `https://www.adadiamonds.com`
- URL: `https://www.adadiamonds.com/api/v1/knowledge-base/{slug}`
- Auth: one of:
  - none
  - API key in header `X-Ada-Api-Key`
  - OAuth 2 (authorization code, authorization URL `https://www.adadiamonds.com/oauth/authorize`, token URL `https://www.adadiamonds.com/api/oauth/token`; client credentials, token URL `https://www.adadiamonds.com/api/oauth/token`, scopes: `content:read`)

Returns a single knowledge base article with its body rendered as markdown, ready to quote or summarise. The slug is the last segment of the article URL and is also returned by `listArticles`.

## Path parameters

- `slug` string, required

## Response `200`

The article, body rendered as markdown.

- Article
  - `object` 'article', required
  - `slug` string, required
  - `title` string, required
  - `excerpt` string, nullable
  - `author` string, nullable
  - `published_at` string, nullable
  - `url` string, uri, required
  - `markdown_url` string, uri
  - `body_markdown` string, required

## Other responses

- `404`: Nothing at that id. `error_description` says where to list what exists.
- `429`: Over the rate limit. Wait `Retry-After` seconds; a credential raises the limit.
- `502`: A catalog or content feed is temporarily unavailable. Retry in a few seconds.

---

[API](https://skmtc.dev/adadiamonds/apis/ada-diamonds-agent-api.md) · [All operations](https://skmtc.dev/adadiamonds/apis/ada-diamonds-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/adadiamonds/apis/ada-diamonds-agent-api/revisions/2b2ed3201815?raw)
