cURL
curl --request GET \ --url https://api.pipedream.com/v1/workspaces/{org_id} \ --header 'Authorization: Bearer <token>'
{ "data": { "id": "o_Qa8I1Z", "orgname": "asdf", "name": "asdf", "email": "dev@pipedream.com", "daily_credits_quota": 100, "daily_credits_used": 0 } }
Programmatically view your workspace’s current credit usage for the billing period in real time.
GET /v1/workspaces/<org_id>
Switch to your workspace’s context and find your org’s ID.
Was this page helpful?