General
GET
/workspace

The plan snapshot for the connected workspace: the credit balance in both units (1 credit is 1000 tokens), every plan ceiling, and current storage and profile usage. A limit the plan does not cap is null, which means unlimited.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key created under Settings > API & Webhooks. Keys start with sf_live_.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/workspace"
{  "data": {    "id": "k9WmT3xR2pQ7nV4bd",    "name": "Acme Studio",    "plan": "pro",    "credits": {      "credits": 42500,      "tokens": 42500000    },    "limits": {      "maxRendersPerMonth": 100,      "maxAutomations": 5,      "maxProfiles": 3,      "maxVideoDurationSeconds": 900,      "maxRenderSeconds": 900,      "storageBytes": 21474836480,      "watermark": false    },    "usage": {      "storageBytes": 3187441664,      "profiles": 2    }  }}