Dashboard API > Plan
Retrieve enabled plans for account
Warning: Experimental API
Please note that the Dashboard API is an experimental, prerelease API. This API method is considered unstable, and should be avoided in production environments and automations. Changes may occur at any time without warning.
Returns
Returns an array of resource objects of type per_owner_pricing_plan.
Examples
GET https://site-api.datocms.com/per-owner-pricing-plans HTTP/1.1Authorization: Bearer YOUR-API-TOKENAccept: application/jsonX-Api-Version: 3curl -g 'https://site-api.datocms.com/per-owner-pricing-plans' \ \ -H "Authorization: Bearer YOUR-API-TOKEN" \ -H "Accept: application/json" \ -H "X-Api-Version: 3"await fetch("https://site-api.datocms.com/per-owner-pricing-plans", { headers: { Authorization: "Bearer YOUR-API-TOKEN", Accept: "application/json", "X-Api-Version": "3", },});HTTP/1.1 200 OKContent-Type: application/jsonCache-Control: cache-control: max-age=0, private, must-revalidateX-RateLimit-Limit: 30X-RateLimit-Remaining: 28
{ "data": [ { "type": "per_owner_pricing_plan", "id": "124", "attributes": { "name": "Basic", "active": true, "monthly_price": true, "yearly_price": true, "limits": [ { "id": "sites", "type": "owner_managed_resource", "free_of_charge_usage": 10, "extra_packets_available_in_some_plan": true, "max_extra_packets": null, "extra_packet_amount": null, "extra_packet_price": null }, { "id": "locales", "type": "per_site_quota_managed_site_resource", "free_of_charge_per_site_usage": 10, "extra_packets_available_in_some_plan": true, "max_extra_packets": null, "extra_packet_amount": null, "extra_packet_price": null }, { "id": "items", "type": "shared_quota_managed_site_resource", "free_of_charge_usage": 1000000, "extra_packets_available_in_some_plan": true, "max_extra_packets": null, "extra_packet_amount": null, "extra_packet_price": null } ], "notes": "", "enterprise_features": [] } } ]}