Pi Durable Platformdocs
ReferenceAdmin

Change the defaults for every personal workspace (platform admins)

PUT
/v1/admin/settings/personal-workspaces

Turning personal workspaces off stops creating them at sign-in; existing ones stay (archive one to make it read-only). The monthly budget is recorded but not enforced yet.

Header Parameters

If-Match*string

The resource's revision, as returned in ETag (for example "3"). Missing returns 428; stale returns 412.

Request Body

application/json
  1. body
enabled*boolean
ownProviders?boolean

Omitted keeps the current setting

ownMcpServers?boolean

Omitted keeps the current setting

maxAgents*integer
Formatint32
maxRunning*integer
Formatint32
monthlyBudgetUsd?|
Formatdouble

Response Body

Settings

application/json
  1. response
data*
curl -X PUT 'https://agents.example.com/v1/admin/settings/personal-workspaces' \  -H 'If-Match: string' \  -H 'Content-Type: application/json' \  -d '{  "enabled": true,  "maxAgents": 0,  "maxRunning": 0}'
{  "data": {    "enabled": true,    "ownProviders": true,    "ownMcpServers": true,    "maxAgents": 0,    "maxRunning": 0,    "monthlyBudgetUsd": 0,    "revision": 0,    "updatedAt": "2019-08-24T14:15:22Z"  }}