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

> **WARNING:** These endpoints are deprecated and no longer return up-to-date information about the Fastly API. The data reported by these endpoints reflects the documented state of the API as of **23:59 UTC on 8 September 2020**. For a description of our API in a structured data format, consider using our [Postman collection](https://www.fastly.com/documentation/reference/api/#postman-collection). Responses from the deprecated endpoints include a [`Sunset`](https://tools.ietf.org/html/rfc8594) header.

## 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. |
