Skip to main content
Every carbone.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Render

generateReport

render.generateReport Tool to generate a Carbone report from a template and JSON data. Use when you need to render documents in various formats. Risk: write
Input
Output

renderDirect

render.renderDirect Tool to generate a document by uploading a base64-encoded template and data in a single API call. Use when you need to render documents without uploading templates separately. Risk: write
Input
Output

Status

get

status.get Tool to retrieve the current status and health of the Carbone server. Use before generating reports to ensure the service is operational. Risk: read
Input: empty object Output

Templates

delete

templates.delete Permanently delete a template from the Carbone server by its 64-character hexadecimal template ID. This action is irreversible. Ensure you have the correct template ID before deleting. Risk: destructive ยท Irreversible
Input Output

download

templates.download Tool to download a template from Carbone by template ID. Use when you need to retrieve the original template file. Risk: read
Input Output

list

templates.list Tool to retrieve a list of templates from Carbone storage with filtering, search, and cursor-based pagination. Use when you need to find templates, search by name or ID, or iterate through all deployed templates. Risk: read
Input Output

listCategories

templates.listCategories Tool to retrieve a list of all categories used in templates. Categories function like folders for organizing templates. Use when you need to see available template groupings. Risk: read
Input: empty object Output

listTags

templates.listTags Tool to list all tags currently used in templates. Use when you need to discover available tags for categorizing or filtering templates by document type or version. Risk: read
Input: empty object Output

update

templates.update Tool to update metadata and attributes of an existing Carbone template. Use when you need to modify template name, comment, tags, category, or control version deployment and lifecycle. Risk: write
Input Output

upload

templates.upload Upload a template file to the Carbone server to obtain a template ID for document generation. Supported template formats: DOCX, XLSX, PPTX, ODT, ODS, ODP, ODG, XHTML, IDML, HTML, or XML. Templates can contain placeholders like that will be replaced with data during report generation. Risk: write
Input Output

Version

set

version.set Tool to set the Carbone API version to be used for subsequent requests. Use before rendering or managing templates to ensure correct version is applied. Risk: write
Input Output