Environments changedapi/beta/environments
Nearest release: v2.1.280, published 20 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+40added
Lines−0removed
From line
115
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits20to this page, all time
The whole hunk
from line 115, old and new numbered
/
from line 115
115115
116116- `"anthropic-workspace-id": optional string`
117117
118 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
119
120 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
121
118122### Body parameters
119123
120124- `name: string`
from line 582
578582
579583- `"anthropic-workspace-id": optional string`
580584
585 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
586
587 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
588
581589### Returns
582590
583591- `data: array of BetaEnvironment`
from line 901
893901
894902- `"anthropic-workspace-id": optional string`
895903
904 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
905
906 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
907
896908### Returns
897909
898910- `BetaEnvironment object`
from line 1211
11991211
12001212- `"anthropic-workspace-id": optional string`
12011213
1214 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1215
1216 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
1217
12021218### Body parameters
12031219
12041220- `config: optional BetaCloudConfigParams or BetaSelfHostedConfigParams or null`
from line 1647
16311647
16321648- `"anthropic-workspace-id": optional string`
16331649
1650 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1651
1652 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
1653
16341654### Returns
16351655
16361656- `BetaEnvironmentDeleteResponse object`
from line 1800
17801800
17811801- `"anthropic-workspace-id": optional string`
17821802
1803 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1804
1805 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
1806
17831807### Returns
17841808
17851809- `BetaEnvironment object`
from line 2584
25602584
25612585- `"anthropic-workspace-id": optional string`
25622586
2587 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
2588
2589 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
2590
25632591#### Returns
25642592
25652593- `BetaSelfHostedWork object`
from line 3489
34613489
34623490- `"anthropic-workspace-id": optional string`
34633491
3492 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
3493
3494 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
3495
34643496#### Body parameters
34653497
34663498- `force: optional boolean`
from line 3988
39563988
39573989- `"anthropic-workspace-id": optional string`
39583990
3991 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
3992
3993 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
3994
39593995#### Body parameters
39603996
39613997- `metadata: map[string]`
from line 4233
41974233 - `"compact-2026-09-04"`
41984234
41994235- `"anthropic-workspace-id": optional string`
4236
4237 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
4238
4239 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
42004240
42014241#### Returns
42024242
No line in this hunk matches that.