---
title: Docs
summary: Documentation of the endpoints that return the Fastly API Documentation.
url: https://www.fastly.com/documentation/reference/api/utils/docs
---

Documentation of the endpoints that return the Fastly API Documentation.

## API endpoints

### Get Fastly API docs as structured data

**GET** `/docs`

Gets all documentation associated with the Fastly API.

### Get API docs for a single subject

**GET** `/docs/subject/{subject}`

Gets all documentation relating to a given 'Subject'.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `subject` | string | path | Yes | The subject to search for. Supports regular expressions. |

### Get API docs matching a section filter

**GET** `/docs/section/{section}`

Gets all documentation associated with a given Categorical Section where <code>section</code> is a regular_expression. Passing <code>invert=true</code> will force a return of everything that does not match the given regular expression.

**Parameters:**

| Name | Type | In | Required | Description |
|------|------|----|---------|--------------|
| `invert` | string | query | Yes | Get everything that does not match section. |
| `section` | string | path | Yes | The section to search for. Supports regular expressions. |

