List all categories used in templates
Changed onRetrieve a list of all categories used in deployed templates, sorted by name. Categories function similarly to folders, allowing you to group and organize your templates effectively (e.g. "customer-x", "project-2026", "finances").
Practical Usage:
- Uploading a Template: When uploading a template, you can specify a category.
- Updating a Template: You can add or modify the category when updating template metadata.
- Listing Templates: You can filter templates by category to quickly find that are relevant to a specific function or type.
Request
- Base URLhttps://api.carbone.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Carbone API major version to use. Only a major version can be specified: it automatically includes all future minor versions and patches.
- 5: latest version, recommended.
- 4: default when the header is not provided.
- 3: legacy.
- staging: not intended for production environments.
It is strongly recommended to always set this header explicitly to avoid unexpected behavior. See API versioning documentation
Response
List of categories used in templates.
Example response
{
"success": true
}Changes
- breaking
the
carbone-versionrequest header's property undefined was restricted to a list of enum values - breaking
the
headerrequest parametercarbone-versionwas restricted to a list of enum values - info
added the new enum value
3to theheaderrequest parametercarbone-version - info
added the new enum value
4to theheaderrequest parametercarbone-version - info
added the new enum value
5to theheaderrequest parametercarbone-version - info
added the new enum value
stagingto theheaderrequest parametercarbone-version - info
for the
headerrequest parametercarbone-version, the type was generalized fromintegertostring, and format fromint32to no format - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking