/v1/workspaces/{workspace_id}/limitsAuthGet Flags limits and usage
The preview limits that apply to this workspace and how much of the counted ones it uses.
Path parameters
workspace_id*string · uuidId of the workspace.
Response · 200 Limits and usage.
limits*arrayThe preview limits. A write past one answers 422 `LIMIT_EXCEEDED`.
usage*objectCurrent usage of the counted limits.
Example
Request
GET https://api.flags.productcraft.co/v1/workspaces/{workspace_id}/limits
Authorization: Bearer YOUR_TOKENResponse
{
"limits": [
{
"limit": "projects",
"scope": "workspace",
"max": 3
}
],
"usage": {}
}