1. Content Management API

Statistics

In Content Hub ONE, if the size of the schema reaches the allowed upper limits, it can affect performance. To reduce the size of the schema you can, for example, minimize the number of defined content types, content items, and media items. If you have the necessary permissions, you can view usage details either in the Content Hub ONE app or using the API.

Note

The base URL when working with users is https://content-api.sitecorecloud.io/. For guidance on API syntax, see Syntax.

Get usage details

Use this method to retrieve usage information:

curl --location GET '<BASE_URL>/api/content/v1/stats' \
--header 'Authorization: <BEARER_TOKEN>' \
--data '' 
{
  "schema": {
    "size": 13045, // EDGE schema size in KB
    "limit": 20000, // Max schema size in KB
  }
}
If you have suggestions for improving this article, let us know!