Skip to main content
POST
Generate Category

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json

Request schema for suggesting categories.

name
string
required

Name of the item

itemType
enum<string>
required

Type of item

Available options:
ITEM,
PRODUCT,
MEDICATION,
SERVICE,
PACKAGE,
MEMBERSHIP
modelName
string
default:gemini-2.5-flash

Model to use for generation

useStructuredOutput
boolean
default:false

Whether to request structured JSON output

previousGeneration
string | null

Previous generated text for context

feedback
string | null

User feedback for regeneration

existingCategories
string[]

List of existing category names

brandName
string | null

Optional brand name

currentDescription
string | null

Current description

Response

Successful Response