Get workspace
The workspace addressed by the path, with its daily warmup budget. quota is omitted for legacy workspaces that were never allocated one.
curl -X GET "https://lynx-api.trulyinbox.com/v2/workspaces/0"{
"data": {
"id": 0,
"name": "string",
"createdAt": "2019-08-24T14:15:22Z",
"quota": {
"dailyWarmupBudget": 0
},
"role": "owner"
},
"meta": {
"request_id": "req_2f1c…",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"error": {
"code": "invalid_request",
"message": "string",
"details": {},
"retry_after": 34
},
"meta": {
"request_id": "req_2f1c…",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"error": {
"code": "invalid_request",
"message": "string",
"details": {},
"retry_after": 34
},
"meta": {
"request_id": "req_2f1c…",
"timestamp": "2019-08-24T14:15:22Z"
}
}Update workspace budgetsPATCH
Sets `dailyWarmupBudget` for the listed workspaces only; every other workspace keeps its budget. The organization's cap is checked once across the whole request, before anything is written, so one call can move budget between workspaces (lower one, raise another) even when the organization is fully allocated. A lowered budget applies immediately: a workspace that has already sent more today than its new budget stops for the rest of the day. Requires a personal (`ti_pk_`) key whose creator is an organization owner.
Update workspace settingsPATCH
Renames the workspace. The daily warmup budget is not editable here - it is allocated out of the organization-wide cap, so it is set org-wide with `PATCH /v2/workspaces/quotas` (or at creation with `POST /v2/workspaces`), by an organization owner.