Skip to content

Workspace API

Get Credits

Get the workspace's monthly credits, balance and the records inside their 30 days with GET /workspace/credits.

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

Returns the workspace’s monthly credits (included, used, remaining, and when they reset), its credit balance, and how many Parcel records it holds inside their 30 days. See Credits.

Get credits costs 0 credits.

Query parameters

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

Example

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

Response

Response
{
"data": {
"plan": "starter",
"monthly_credits": {
"included": 50,
"used": 12.5,
"remaining": 37.5,
"period_end": "2026-12-01T00:00:00.000Z"
},
"balance": 20,
"records_unlocked": { "project": 25, "firm": 0, "contact": 0 }
},
"metadata": { "credits": 0 }
}

Response fields

FieldTypeDescription
data.planstringThe workspace’s effective plan: free, starter or pro.
data.monthly_credits.includednumberCredits the plan includes this month.
data.monthly_credits.usednumberMonthly credits spent so far, by records, enrichment and Spec.
data.monthly_credits.remainingnumberMonthly credits left.
data.monthly_credits.period_endstringWhen the monthly credits reset (ISO 8601).
data.balancenumberCredits bought or granted, spent after the monthly credits.
data.records_unlockedobjectRecords this workspace took out in the last 30 days, by kind. Reading them again within their 30 days is free. To list them, see Seeing what you unlocked.
metadata.creditsintegerAlways 0.