Skip to content

Commit e1012cb

Browse files
ampagentjbrooksuk
andcommitted
Clarify documentation with plain, warm writing
Apply the technical-writing and unslop standards across the v2 and v3 documentation, API reference, and shared pages. Use direct instructions and concrete descriptions. Clarify API read permissions and the incomplete migration path. Preserve historical release notes, legal terms, examples, and existing heading anchors. Amp-Thread-ID: https://ampcode.com/threads/T-01a13fa6-7863-76dd-ad9b-928bab2651c4 Co-authored-by: James Brooks <jbrooksuk@me.com>
1 parent 38a698e commit e1012cb

48 files changed

Lines changed: 472 additions & 576 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,28 @@
1313

1414
# Cachet documentation
1515

16-
[Cachet](https://cachethq.io) is an open source status page system. Cachet allows you to effectively communicate downtime and
17-
system outages to your customers and stakeholders.
16+
[Cachet](https://cachethq.io) is an open source status page system. Use it to keep your customers and stakeholders informed about downtime and system outages.
1817

1918
This repository contains the source code for the Cachet documentation, built with [Mintlify](https://mintlify.com).
2019

2120
## Running locally
2221

23-
Mintlify kindly hosts the documentation. To run it locally:
22+
Mintlify hosts the documentation. To run it locally:
2423

25-
1. **Clone the repository:**
24+
1. Clone the repository:
2625
```bash
2726
git clone git@github.com:cachethq/docs.git cachet-docs
2827
```
29-
2. **Install Mintlify:**
28+
2. Install Mintlify:
3029
```bash
3130
npm install -g mintlify@latest
3231
```
33-
3. **Run the documentation:**
32+
3. Run the documentation:
3433
```bash
3534
cd cachet-docs
3635
mintlify dev
3736
```
3837

3938
## Contributing
4039

41-
Check out the [Mintlify guide](https://mintlify.com/docs/) to learn more.
40+
Read the [Mintlify guide](https://mintlify.com/docs/) for documentation syntax and local preview instructions.

‎api-reference/authentication.mdx‎

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
11
---
22
title: 'Authentication'
3-
description: 'Learn how to authenticate with the Cachet API'
3+
description: 'API keys, request headers, and authentication requirements.'
44
---
55

6-
<Tip>
7-
Cachet believes your service status should be open and transparent, so all `GET` requests are public and require no authentication.
8-
</Tip>
6+
Most `GET` requests are public by default. If **Require Authentication** is enabled in
7+
[API settings](/v3.x/configuration/cachet#api-access), read requests also require an API key.
8+
Subscriber endpoints always require authentication and the `subscribers.manage` ability for read requests.
99

10-
Authenticated requests (those that `POST`, `PUT` or `DELETE`) require an **API token**.
10+
Write requests require an API key with the matching resource ability.
1111

12-
### API token
12+
## API token
1313

14-
API tokens are the preferred method of authentication.
15-
16-
Once you have your token you'll need to add a new request header of `Authorization: Bearer $TOKEN`:
14+
An [API key](/v3.x/configuration/api-keys) is a bearer token sent in the `Authorization` header.
15+
This example creates a component with an authenticated request:
1716

1817
```shell
19-
curl -H "Content-Type: application/json;" -H "Authorization: Bearer YOUR_KEY_HERE" -d '{"name":"API","description":"An example description","status":1}' https://v3.cachethq.io/api/components
20-
```
18+
curl https://v3.cachethq.io/api/components \
19+
-H "Content-Type: application/json;" \
20+
-H "Authorization: Bearer YOUR_KEY_HERE" \
21+
-d '{
22+
"name": "API",
23+
"description": "An example description",
24+
"status": 1
25+
}'
26+
```

‎api-reference/filtering.mdx‎

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,54 @@
11
---
22
title: 'Filtering and sorting'
3-
description: 'Learn how to filter and sort data in the Cachet API.'
3+
description: 'Query parameters for filters, related resources, and sort order.'
44
---
55

66
## Filtering
77

8-
Several endpoints support filtering to allow you to retrieve only the data you need. For example, you can filter incidents by status:
8+
The `filter` parameter limits results to matching resources. This request filters incidents by status:
99

1010
```http
1111
GET /api/incidents?filter[status]=1
1212
```
1313

1414
<Note>
15-
Each endpoint may support different fields for filtering. Check the documentation for the specific endpoint you are working with.
15+
Supported filter fields vary by endpoint. Each endpoint reference lists its supported fields.
1616
</Note>
1717

1818
## Including related resources
1919

20-
Many endpoints can embed related resources in the response using the `include` parameter. Pass a comma-separated list
21-
of the relationships you want to include:
20+
The `include` parameter embeds related resources in the response. Its value is a comma-separated list of relationships:
2221

2322
```http
2423
GET /api/incidents?include=components,updates
2524
```
2625

2726
<Note>
28-
Each endpoint supports a different set of includes. Check the documentation for the specific endpoint you are
29-
working with.
27+
Supported relationships vary by endpoint. Each endpoint reference lists its supported relationships.
3028
</Note>
3129

3230
## Filtering by metadata
3331

34-
Resources that support metadata can be filtered by their metadata keys using the `filter[meta][key]` syntax:
32+
For resources with metadata, `filter[meta][key]` filters by a metadata value:
3533

3634
```http
3735
GET /api/incidents?filter[meta][region]=us-east-1
3836
```
3937

4038
## Sorting
4139

42-
You can sort the results of an endpoint by passing the `sort` parameter. The `sort` parameter should be a comma-separated list of fields to sort by. You can also specify the sort order by appending `asc` or `desc` to the field name.
40+
The `sort` parameter accepts a comma-separated list of field names. Fields sort in ascending order by default:
4341

4442
```http
4543
GET /api/incidents?sort=id
4644
```
4745

48-
To reverse the sort order, you can prefix the field name with a hyphen.
46+
A hyphen before a field name selects descending order:
4947

5048
```http
5149
GET /api/incidents?sort=-id
5250
```
5351

5452
<Note>
55-
Each endpoint may support different fields for sorting. Check the documentation for the specific endpoint you are working with.
53+
Supported sort fields vary by endpoint. Each endpoint reference lists its supported fields.
5654
</Note>

‎api-reference/introduction.mdx‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
title: 'Introduction'
3-
description: 'Learn how to interact with the Cachet API.'
3+
description: 'Manage your status page with the Cachet v3 JSON API.'
44
---
55

66
<Warning>
7-
This documentation refers to the Cachet v3 API. If you are looking for the Cachet v2 API, please refer to the previous [Cachet API documentation](https://github.com/cachethq/docs/tree/2.x).
7+
This reference covers the Cachet v3 API. For v2, see the [Cachet v2 API documentation](https://github.com/cachethq/docs/tree/2.x).
88
</Warning>
99

1010
## JSON API
1111

12-
Cachet provides a RESTful JSON API that allows you to interact with the status page programmatically. The API is simple to use.
12+
The Cachet API reads and updates status page resources through HTTP requests. Responses use JSON.
1313

1414
## Deleting resources
1515

16-
Every resource with a delete endpoint supports deleting one resource by ID:
16+
Resource deletion endpoints accept a resource ID:
1717

1818
```http
1919
DELETE /api/components/123
@@ -29,7 +29,9 @@ DELETE /api/components?ids=123,456
2929
All requested IDs must be valid and exist before Cachet deletes anything. An unqualified collection `DELETE` is rejected,
3030
and `ids=all` is not supported. See the relevant endpoint reference for the required API-token ability.
3131

32-
### Example response
32+
## Example response
33+
34+
The incident list endpoint returns resources, pagination links, and metadata:
3335

3436
```json
3537
{

‎api-reference/pagination.mdx‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
22
title: Pagination
3-
description: 'Learn how to paginate through the results of a query.'
3+
description: 'Page numbers and page sizes for API list responses.'
44
---
55

6-
All API endpoints that return multiple items support pagination. By default, the API returns 15 items per page.
7-
You can specify the number of items to return per page by passing the `per_page` parameter.
8-
To navigate between pages, use the `page` parameter.
6+
List endpoints return 15 items per page by default. The `per_page` parameter sets the page size.
7+
The `page` parameter selects a page:
98

109
```http
1110
GET /api/incidents?page=2&per_page=10
12-
```
11+
```

‎api-reference/rate-limiting.mdx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: 'Rate limiting'
3-
description: 'Learn how rate limits work in the Cachet API.'
3+
description: 'Request limits, response headers, and configuration.'
44
---
55

6-
Cachet rate-limits the API to prevent abuse. The rate limit is 300 requests per minute per IP address.
6+
The default API rate limit is 300 requests per minute per IP address.
77

8-
Cachet will return the `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` headers in the response to provide information about the rate limit.
8+
The `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` response headers report the limit, remaining requests, and reset time.
99

1010
<Tip>
11-
You can override the default rate limit by setting the `CACHET_API_RATE_LIMIT` environment variable.
12-
</Tip>
11+
The `CACHET_API_RATE_LIMIT` environment variable overrides the default limit.
12+
</Tip>

‎credits.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ icon: 'heart'
66

77
## Thanks
88

9-
🫶 We'd like to thank the following projects and people for making Cachet possible:
9+
Thank you to the projects and people who make Cachet possible:
1010

1111
- [Laravel](https://laravel.com)
1212
- [Tailwind](https://tailwindcss.com)
@@ -27,7 +27,7 @@ icon: 'heart'
2727

2828
## Contributors
2929

30-
A big thank you to all of our contributors who have helped make Cachet better:
30+
Thank you to everyone who contributes to Cachet:
3131

3232
<AccordionGroup>
3333
<Accordion title="CachetHQ/Cachet" icon="github">
@@ -40,4 +40,4 @@ A big thank you to all of our contributors who have helped make Cachet better:
4040
<img src="https://contrib.rocks/image?repo=cachethq/core&max=400&columns=10" width="100%" />
4141
</a>
4242
</Accordion>
43-
</AccordionGroup>
43+
</AccordionGroup>

‎trademarks.mdx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: 'Trademarks'
3-
description: "Learn about Cachet's trademarks and how to use them."
3+
description: "Guidelines for using Cachet's name, trademarks, and logos."
44
icon: 'trademark'
55
---
66

7-
We prepared this trademark policy to help you understand how to use the Cachet trademarks, service marks and logos.
7+
This policy explains how to use the Cachet trademarks, service marks, and logos.
88

99
While the copyright to our open source software is licensed under the Cachet license, our trademarks appearing in or on the open source software are the exclusive property of Cachet Inc. This means that our open source license does not include a license to use our trademarks.
1010

@@ -60,12 +60,12 @@ Cachet reserves the right in its sole discretion to (i) terminate, revoke, modif
6060

6161
Anyone wishing to use any of Cachet’s trademarks in a manner other than the uses listed in [Acceptable uses](#acceptable-uses), including but not limited to marketing, promotion or advertising, or on software derivative of Cachet software, must obtain Cachet’s express, written permission in advance.
6262

63-
To request the use of the trademarks in a manner or for a purpose not expressly permitted in these guidelines, including use for any purpose of the logos, please email [hello@cachethq.io](mailto:hello@cachethq.io) to discuss. If you need clarification on whether your use qualifies, please ask.
63+
To request the use of the trademarks in a manner or for a purpose not expressly permitted in these guidelines, including use for any purpose of the logos, email [hello@cachethq.io](mailto:hello@cachethq.io). You can also ask whether your use qualifies.
6464

6565
## To report misuse
6666

67-
If you want to report misuse of a Cachet trademark, please email [hello@cachethq.io](mailto:hello@cachethq.io).
67+
To report misuse of a Cachet trademark, email [hello@cachethq.io](mailto:hello@cachethq.io).
6868

6969
Last updated: July 7 2026
7070

71-
These guidelines are based on the Model Trademark Guidelines, available at http://www.modeltrademarkguidelines.org., used under a Creative Commons Attribution 3.0 Unported license: https://creativecommons.org/licenses/by/3.0/deed.en_US
71+
These guidelines are based on the Model Trademark Guidelines, available at http://www.modeltrademarkguidelines.org., used under a Creative Commons Attribution 3.0 Unported license: https://creativecommons.org/licenses/by/3.0/deed.en_US

‎v2.x/client-libraries.mdx‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
---
2-
title: 'Client Libraries'
3-
description: 'A list of third party libraries for the Cachet API.'
2+
title: 'Client libraries'
3+
description: 'Third-party libraries for the Cachet API.'
44
---
55

6-
There are various third party libraries for the Cachet API.
6+
The following third-party libraries use the Cachet API.
77

8-
If you've made any libraries that consume Cachet's library please let us know by [email](mailto:support@cachethq.io) or by adding an [issue on GitHub](https://github.com/cachethq/cachet/issues).
8+
If you've made a library that uses the Cachet API, [email the Cachet team](mailto:support@cachethq.io) or [open a GitHub issue](https://github.com/cachethq/cachet/issues).
99

1010
| Language | Link | Author |
1111
|------------|-------------------------------------------------|---------------------|
12-
| Javascript | https://github.com/DivineOmega/cachet.js | Jordan Hall |
13-
| PHP | https://github.com/DivineOmega/cachet.php | Jordan Hall |
14-
| Perl | https://github.com/foobarable/cachet.pl | Ralph Krimmel |
15-
| Go | https://github.com/andygrunwald/cachet | Andy Grunwald |
16-
| PHP | https://github.com/mangati/cachet | Rogerio Lino |
17-
| Ruby | https://github.com/TheFynx/cachet_api | Levi Smith |
18-
| Node.js | https://www.npmjs.com/package/cachet-api | Elad Nava |
19-
| PHP | https://github.com/damianopetrungaro/CachetSDK | Damiano Petrungaro |
20-
| Python | https://github.com/dmsimard/python-cachetclient | David Moreau Simard |
21-
| PHP | https://github.com/checkitonus/php-cachet-api | CheckItOn.us |
22-
| C# | https://github.com/BerkanYildiz/Cachet.NET | Berkan Yildiz |
23-
| Python | https://github.com/ZettaIO/cachet-client | Einar Forselv |
24-
| PHP | https://github.com/successtar/cachet-manager | Hammed Osanyinpeju |
12+
| JavaScript | [cachet.js](https://github.com/DivineOmega/cachet.js) | Jordan Hall |
13+
| PHP | [cachet.php](https://github.com/DivineOmega/cachet.php) | Jordan Hall |
14+
| Perl | [cachet.pl](https://github.com/foobarable/cachet.pl) | Ralph Krimmel |
15+
| Go | [Go Cachet client](https://github.com/andygrunwald/cachet) | Andy Grunwald |
16+
| PHP | [PHP Cachet client](https://github.com/mangati/cachet) | Rogerio Lino |
17+
| Ruby | [cachet_api](https://github.com/TheFynx/cachet_api) | Levi Smith |
18+
| Node.js | [cachet-api](https://www.npmjs.com/package/cachet-api) | Elad Nava |
19+
| PHP | [CachetSDK](https://github.com/damianopetrungaro/CachetSDK) | Damiano Petrungaro |
20+
| Python | [python-cachetclient](https://github.com/dmsimard/python-cachetclient) | David Moreau Simard |
21+
| PHP | [php-cachet-api](https://github.com/checkitonus/php-cachet-api) | CheckItOn.us |
22+
| C# | [Cachet.NET](https://github.com/BerkanYildiz/Cachet.NET) | Berkan Yildiz |
23+
| Python | [cachet-client](https://github.com/ZettaIO/cachet-client) | Einar Forselv |
24+
| PHP | [cachet-manager](https://github.com/successtar/cachet-manager) | Hammed Osanyinpeju |

‎v2.x/component-statuses.mdx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
title: 'Component Statuses'
2+
title: 'Component statuses'
33
description: 'Learn about the different component statuses in Cachet.'
44
---
55

6-
Unlike Incidents, Cachet indexes component statuses starting at `1`. When creating or updating a component, you'll need to specify a status for it.
6+
Unlike incident statuses, component statuses start at `1`. Specify a status when you create or update a component.
77

88
A status can be one of the following:
99

1010
| Status | Name | Description |
1111
|--------|--------------------|-------------------------------------------------------------------------------------------------|
1212
| `1` | Operational | The component is working. |
1313
| `2` | Performance Issues | The component is experiencing some slowness. |
14-
| `3` | Partial Outage | The component may not be working for everybody. This could be a geographical issue for example. |
14+
| `3` | Partial Outage | The component may not be working for everyone, for example, in a particular region. |
1515
| `4` | Major Outage | The component is not working for anybody. |

0 commit comments

Comments
 (0)