Skip to content

Commit 909d361

Browse files
committed
Update changelog
1 parent d6c70fd commit 909d361

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

_changelog/2026-04-14-1.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: "Vector Pro: Human-Readable Status Labels & Terminal State Filtering"
3+
date: 2026-04-14 10:30:05 -0400
4+
tags: [vector-pro]
5+
---
6+
7+
API responses now include human-readable labels alongside enum fields, and account detail counts exclude sites and environments in terminal states.
8+
9+
<!--more-->
10+
11+
### API Improvements
12+
13+
**Human-readable labels**
14+
15+
Response objects now include `*_label` fields alongside their enum counterparts, giving you a display-ready string without a client-side lookup:
16+
17+
- `status` / `status_label` -- on sites, environments, deployments, backups, backup downloads, restores, DB exports/imports, domain changes, pending domain changes, and webhooks
18+
- `scope` / `scope_label` -- on backups and restores
19+
- `type` / `type_label` -- on backups and webhooks
20+
- `trigger` / `trigger_label` -- on restores
21+
22+
Example:
23+
24+
```json
25+
{
26+
"status": "active",
27+
"status_label": "Active"
28+
}
29+
```
30+
31+
**Account detail: terminal states excluded from counts**
32+
33+
`GET /account` now omits sites and environments in terminal states from `by_status` breakdowns and all total/convenience counts:
34+
35+
- Sites exclude: `terminated`, `termination_requested`, `canceled`
36+
- Environments exclude: `terminated`, `terminating`
37+
38+
The `by_status` object no longer returns these keys at all, so `total_sites`, `total_environments`, and the nested `sites.total` / `environments.total` reflect only active (non-terminal) resources.
39+
40+
See the [Vector Pro API documentation](/api/) for full details.

0 commit comments

Comments
 (0)