GET
v1/custom-fields/usage/
Service tier
GET /api/internal/v1/custom-fields/usage/ (X-Internal-Secret + X-Internal-Org-Id).
``{"ok": true, "usage": {"<platform definition public_id>": {"places": [{"label", "kind", "value_count"}], "value_count"}}}``.
URL
- Service tierhttps://qr.mattering.io/api/internal/v1/custom-fields/usage/
Responses
200 bare JSON object (no envelope)
{
"ok": true,
"usage": {}
}
Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).
Errors
| Status | Code |
|---|---|
| 400 | bad_org |
| 400 | no_org |
| 401 | unauthorized |
| 405 | method_not_allowed |
Example
curl -X GET "https://qr.mattering.io/api/internal/v1/custom-fields/usage/" \ -H "X-Internal-Secret: $MATTERING_INTERNAL_API_SECRET" \ -H "X-Internal-Org-Id: $ORG_ID" \ -H "X-Internal-User-Email: you@example.com"
Source: QRCore/cf_views.py (cf_views.internal_usage)