Skip to content

Get a documentation page

GET
/docs/{slug}

Returns the full content and metadata for a single documentation page.

slug
required
string

URL slug of the documentation page

Example
guides/getting-started

Full documentation page

object
slug
string
Example
guides/getting-started
title
string
Example
Getting Started
description
string
Example
Learn how to set up your documentation site.
tags
Array<string>
Example
[
"getting-started",
"setup"
]
updatedAt
string format: date-time
Example
2026-01-15T10:30:00Z
content

Page body rendered as HTML

string
Example
<h2>Installation</h2><p>Run the following command...</p>
headings
Array<object>
object
depth
integer
Example
2
text
string
Example
Installation
prev
object
slug
string
title
string
next
object
slug
string
title
string

Page not found

object
code
integer
Example
400
message
string
Example
Validation failed.
details
string
Example
Field 'query' must be at least 2 characters.