Skip to content

Workspace API

Get Workspace Info

Get the workspace plan, entitlements, seat usage, and settings with GET /workspace.

Endpoint
GET https://api.parcelengineering.com/api/v1/workspace

Returns the workspace’s effective plan, the full entitlement set, seat usage (active members and pending invites vs the seat limit), and the workspace settings object.

Get workspace info costs 0 credits. It never throttles, so a workspace at its credit ceiling can always call this endpoint.

Query parameters

ParameterTypeRequiredDescription
workspace_idstring (UUID)NoOverride the workspace resolved from your API key. Useful for admin tooling.

Example

Get workspace info
curl https://api.parcelengineering.com/api/v1/workspace \
-H "Authorization: Bearer pcl_your_api_key"

Response

Response
{
"data": {
"plan": "pro",
"entitlements": {
"signalHistoryDays": null,
"seats": 10,
"emailAlerts": true,
"teamsAlerts": true,
"apiCreditCeiling24h": 250000
},
"seats": {
"used": 3,
"limit": 10,
"members": 2,
"pending_invites": 1
},
"settings": {}
},
"metadata": { "credits": 0 }
}

Response fields

FieldTypeDescription
data.planstringThe workspace’s effective plan (e.g. "pro"). Reflects any plan override applied by an admin.
data.entitlementsobjectThe full entitlement set for the effective plan.
data.entitlements.signalHistoryDaysinteger or nullHow many days of signal history the workspace can access. null means unlimited.
data.entitlements.seatsintegerTotal seat entitlement (base seats plus any purchased additions).
data.entitlements.emailAlertsbooleanWhether the plan includes email alert delivery.
data.entitlements.teamsAlertsbooleanWhether the plan includes Microsoft Teams alert delivery.
data.entitlements.apiCreditCeiling24hintegerMaximum API credits the workspace may consume in a rolling 24-hour window.
data.seats.usedintegerTotal occupied seats: active members plus pending invites.
data.seats.limitintegerSeat entitlement ceiling (equals entitlements.seats).
data.seats.membersintegerNumber of active workspace members.
data.seats.pending_invitesintegerNumber of invitations that have been sent but not yet accepted.
data.settingsobjectWorkspace settings (free-form JSON). May be an empty object {} if no settings have been configured.
metadata.creditsintegerAlways 0.

Errors

StatusCodeDescription
403forbiddenThe workspace is not on the Pro plan.